Delete record with stored procedure vb6
On my vb6 project, I used res = cmd("result") res = cmd("result") If res = 1 Then MsgBox "Data updated", vbInformation End If to check if the record is successfully updated on the database. but how can...
View ArticleUninstall VB6 from Win 7 system - very urgent
Hi, I tried installing VB6 in my Win 7 system, which was not successful as it gave some errors related to some exe files which it was not able to find. I want to uninstall it now, but I am not getting...
View ArticleUse of timers
I'm creating frustration in visual basic 6 and I have encountered a problem. I'm trying to use timers to have the 'Roll Dice' button do a different thing every time. I need it to move the first players...
View Articlehaving problems with database in VB6
Hello all, I have a problem to set a variabel for a recordset. The connection to the database was set by our IT manager so if any extra info is needed for that just let me know and i will ask it. So...
View ArticleCreating batch file
Need help to create correct batch file as per this code PHP Code: Private Sub deleteOLD() 'create the batch file in the same directory as the old and new versions to make this batch smaller...
View Article[RESOLVED] how to delete a value in the table only if it contains 0.00 Via Sql
i have a table called Customers in that table i have a field call payments which is currency value now when i enter a new cust then i insert also this value 0.00 i have some customers that have...
View ArticleType mismatch error with createControlRange in W7 64-bit environment
I get a "type mismatch" error when executing the following (simplyfied) VB6 code in W7 64-bit: Dim ele As IHTMLElement, pCR As IHTMLControlRange Set pCR = ie.document.body.createControlRange() Call...
View ArticleBasic logger for VB DLL [with another problem]
Hello again Dudes, Continuing with my particular drama :D Now i'm looking for a basic logger for my DLL. I've try the basic open file and write something, without result. Any ideas ? I'll try again and...
View ArticleHaving problems controlling a CheckBox in a User Control
I have a program that has a UC on it. The UC has a checkbox control. How do I control the Checkbox? When the program load it reads an INI file. The INI file has a string that has the current checkbox...
View Article[RESOLVED] Having problems controlling a CheckBox in a User Control
I have a program that has a UC on it. The UC has a checkbox control. How do I control the Checkbox? When the program load it reads an INI file. The INI file has a string that has the current checkbox...
View Article[RESOLVED] Need Help on how to make a accept button, cant press till you read...
Hi, I forgot the code to make it so you cant press the accept button tell you wait 30 seconds.And then you can press the button. thanks
View Article[RESOLVED] CD Media Status, Not Drive Status
I have a personal problem with CD/DVD drives. I usually decide I need to burn a disc right when I'm already doing 4-5 other unrelated things. The result is that I end up with a lot of discs that are...
View ArticleVB6 wont release the files
Everytime I open a VB project, do some work on, then close it out it seems that VB still has a hold on the files. If I need to move the project folder or rename it or what ever I can't because I get a...
View ArticleAdding manifest file before creating exe file
I wanted to include manifest file to my vb6 application so i followed below steps 1)I created myapplication.exe using vb6 IDE(which i do normally) 2)Then i created file named...
View ArticleVisio 2013 Reference To Selected Shape
Hi I am a novice please bear with me. Setup: Visual Basic with Office 365 & Visio 2013. I am trying to run a macro from a shape. I used the following,...
View Article[RESOLVED] Controls Collection ?
Is there a way to tell which controls are directly on the parent form and which are in a container using the Controls Collection? I thought this would be simple but apparently I am missing something If...
View Articleneed help with storing multiple input on the same form
hello, I am new to programming as a whole and would like some assistance. Apologies in advance if the title is misleading. I am making a simple program for a restaurant and it has to keep track of...
View ArticleList box to sequential file
My program takes data from text boxes A, B and C and puts it into a txt.file as a comma delimited sequential file. I can then retrieve the data into a ListBox for editing and am having trouble trying...
View Article[RESOLVED] User Control Picture Error Problem
I have a user control with a picture property User Control code: Code: ' ' Public Property Get Picture() As StdPicture Set Picture = UserControl.Picture End Property Public Property Let...
View ArticleRecords Count
Hi, iam using VBA Dim cmdsqldata As ADODB.Command Set cmdsqldata =New ADODB.Command Dim cmdSQLdata1 As ADODB.Command Set cmdSQLData1=New ADODB.Command cn1.opem GetDBconnectionString_source Set...
View Article