12,155 Topics
Hello there.. I want to backup my database (MySQL) using a command button in VB6...How can I do that? thank you for answering... :)
Hi, I am working on a project. The project is running perfectly with no run-time errors on the development console. But when it was installed and executed on the test pc, I came across an error **(-2147217900 : The database engine could not lock table 'tablename' because it is already …
Hi, I have some problems when drawing dot or lines in picturebox. If I do minimize and maximize the form after finishing my drawing, all of my drawing will be lost. I can't see any more. How should I handle this situtation? Regards, Zawpai
How can i copy data from a named range in a different worksheet and paste it to another worksheet all done without activating both sheet. With all code just behind a form button If i try to use the statement **application.goto reference:="x"** where x is the named range but this …
hi can u help i have a problem regarding to my database, i need to show an error window when the connection is not available. for example, the router is off means the user cannot connect to the database, so the user screen will appear that there is no connection. …
Hi all, Can I protect my exe file not to copy from one PC to another? I think it can be done, but I don't know how to do this. Could anyone please give me some guide lines? Best Regards, zawpai
I made a visual basic program and i want to know how to make installer can anyone help?
Hi does anybody know how to create a custom form that user can fill in excel. what i need is: lets say user select and click 1 or 3 cell a popup form open. The user then fills in the info on the form ( ex.. name, address, tour operator …
I have a project which is running on client side.Now i have to do some modification in it.so i have to make patch file.what is patch file and how to make it.Can i make ocx,dll and exe in place of that.
I have a dir list box db.Close 'Kill (App.Path & "\PhoneTel.mdb") our = (Dir1.Path + "\" + File2.filename) mitt = Left$(File2.filename, 12) ' phonetel.mdb SourceFile1 = our ' DestinationFile1 = App.Path + "\" + mitt '"PhoneTel.mdb" FileCopy SourceFile1, DestinationFile1 as seen in the second image there is i will that …
Hello friends..please help me I have two identical Tables in my Database (Access) Table 1.Salup , Table 2.Salup1 . All the fields are identical My problem is:- I want to copy/append 1. All the records 2. selected Records agreeing certain criteria(eg."Sex=Male") From Table 1 to Table 2. through VB6 code.I …
Hi all, its been a while since i have been on DW. I have started tasking MDT deployment. The issue i have is i need to capture a user input, for example a custom serial number. This will then be passed into the registry hive for OEM'ing. I have a …
Hello Dear All, I have a small problem ,though seems very simple,being a newb It is difficult for me. Please Help me I have a message box VbYesNoCancel My code is here If ACRS.RecordCount>0 Then MsgBox"SALARY ALREADY CALCULATED DO YOU WANT TO RECALCULATE ?",vbYesNoCancel,"Pebble" Else CmbNdm.SetFocus End If My problem …
What must be the code in order for the ff to be displayed once you clicked the command button? 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
Hello All, I went through many websites and did not find any converter that could purely convert C# syntax to VB syntax. However there are many converters available on the Internet but personally I don't think they are pure converters. Requesting all to please suggest some online tools/converters to achieve …
Write Boolean function named CanEnter , that answer the question “ Can X number of people enter the new joe Blogge, s lecture room ?” , Where X can be any positive integer number . Write decimal function that takes One integer parameter, representing annual income. And return the tax …
I need to create a cron job which will execute a php file after every 5 sec on my Win7 machine. I have Tomcat installed on my machine also apace server for php in uwamp server and i have knowledge of c,c++,java,javascript and vbscript. Also i have some experience in …
Hi. So I have an assignment wherein I have to calculate the highest, lowest and average of the bowling scores that is entered. How do I do it? I am so confused!
Hi all . I would really much appreciated if some one can help and guide me how to do login page by visual studio . Basically im trying to build helpdesk project . login page with database connection . Thanks in advance
On adding DataEnvironment i Get Automation error
i need to generate for example the January month from 1-1-2014 till 30-1-2014 in sql database using visual basic 2010 so the table will be like that Date Day Employename 1-1-2014 Wednesday elie 2-1-2014 Thursday elie 3-1-2014 Friday elie , , , , , , , , , , , …
Converts Xml document to string
Hello, I was trying to view all the data from a single from a database after the button "search" is clicked and the output will be inserted into corresponding textboxes for future editing. After I entered the ID(1) I get an "OleDbException was unhandled" " Data type mismatch in criteria …
i have been working with vb6 but does anyone know how to make a vertical slider(not scroll bar)
I have to run my project when user login the pc.I have to schedule it on a weekly basis.
i'm building a data base.. heres what i did: 1 - create the forms and put the controls; 2 - create the Service-base DataBase(add New Item); 3 - a toolbox, on left, is showed and then i create a new table; 4 - using the mouse right button, i select(on …
how to edit a record in database by using vb6, i don't any clue :(
I need red.proxy.dll reference file for my VB program. i dont have it.... how can i download that??? PLZ help
I have a MSHFlexGird (fgdCompany) and a search command. When the user enters the search data into "txtSearch", the command should search for the data and show it to the user by : Highlighting the record in the MSHFlexGrid -OR- By bringing the row that contains the searched data to …
How to count data from field name .Fields("findings") and txtcount.text will hold the answer...Please help..I almost forgot to count data from database..Haha
sir i am using VB6.0 POS software, i want to know the source code of the software. Regards! Khawar
Hello everyone. Here is the code first Private Sub Grid1_Click() Dim i As Integer, j As Integer Grid2.Cols = Grid1.Cols Grid2.Rows = i + 1 C = Grid1.Row For j = 0 To Grid1.Cols - 1 Grid2.TextMatrix(i, j) = Grid1.TextMatrix(C, j) Next j i = i + 1 End Sub …
Dear friends i am making inventory management i have one problem when i have purchase product form its working successufully. other form is edit purchase order. when i click update it does not save. please any one can help me? here is code private cmdsave_click() Dim dd1 As Database Dim …
i am having a problem after saving the entire project. i have connected the database with Visual Basic forms using Adodc connectivity. when i close it and reopen it after a few hours to continue working the Adodc connectivity is lost and shows a blank box instead of Adodc box.
My program worked fine untill i changed it, cause i wanted to be able to see recently opened files in menu bar, after i finished it shows this error: Input past end of file, i do not understand what to do with it, somebody help please, I'll provide full code: …
hi guys, i am doing a project on vb, now the issues is i am not able to retrive the data from the textbox which in created during runtime. i created 5 textboxes in runtime, i enter the datas for each textbox, but i couldnt read the same. can anyone …
I have a Project which is running on client side.i have to develop a program to delete some useless files from the project which is running on client side.so what we have to do? Should we go for exe,dll,batch,patch or ocx i am confused how it will work how it …
I have changed a Document Mode to Internet explore 10 and the event is properly executed. what is the difference between those two?
*Program is attached as well, due to there being pictures of the ships that are required to get the full experience of the program* I am recreating battleship in Visual Basic 6, and I am almost complete. The one part that I am unable to complete, is matching an input …
greetings everyone!. I'm making Clinic system for my project. I just want to ask how to get the total quantity of the medicine and display it on textbox. I'm using using vb6 and adodc. Any help will be greatly appreciated.Thank you... Table name inventory fields: Medicinename StockQuantity
Hello. i use this code to print my vb page form : PrintForm1.Print() But only half of the page from the form is printed. i tried using this , code : PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeClientAreaOnly) Nothing is prinetd on the printed page. I got only a black page. What can i do …
Iv 10 Tables consisting of atleast 10 fields each in a single Database. Bt, Im only able to connect 1 table at a time to a form using an ADO Control. Im able to add data from table 'student' to textboxes in my form. Bt, hw can I add data …
There is a new FaceBook page for Visual Basic 6.0 advanced source codes: https://www.facebook.com/MicrosoftVB
Please help me..What is wrong with this syntax...there are 2 parts of error.. Private Sub class_initialize() DoEvents Set con = New ADODB.Connection With con .ConnectionString = "Driver=(MySQL ODBC 3.51 Driver);SERVER=localhost;PWD=;UID=root;PORT=3306;DATABASe=cvsur;" .CursorLocation = adUseClient .Open End With End Sub **.Open** was the error from this syntax..(Sytax Above) ______________________________________________________________ And another one …
Is it possible to create a program in VB 6.0 or VB.Net that diagnose a computer??? For example check any problems with hard disk or memory or any other peripherals... if it can be done. can somebody point me to the right direction on how can I do this??? thanks …
Hello everybody, I'm new in this forum. I don't know where to place this thread, because it's about VB6 and C, but I think the problem is in the C code so here I am. I'm working with C with no special focus, so the solution can be in C++ …
Why i can't see the data environment in vb 6? I tried to Project tab but i can't see the data environment then i tried Project > Reference but i can't see Microsoft data environment 1.0 then I tried to Add Component > Designer tab but i can't see the …
how to transfer data from excel to ms access database?? and how to retrieve data from ms access database using visual basic 6.0??anybody can help me..
Dear All, I have a listbox with various items like : Ali, Aslam, Akram, Jone, Mikle, Ebrahim etc. Now I have to select more than one items like : Jone, Aslam, Akram in a Textbox. Could anyone let me know the code. Rashid
The End.