Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21159 articles
Browse latest View live

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 Article


Uninstall 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 Article


Use 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 Article

having 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 Article

Creating 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 Article

Type 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 Article

Basic 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 Article


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] 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 Article

VB6 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 Article


Adding 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 Article

Visio 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 Article

Image may be NSFW.
Clik here to view.

need 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 Article


List 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 Article

Records 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
Browsing all 21159 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>