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

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


[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

Combobox Question

I see that a Combobox allows you to type characters into the text field. What's the point of this? I'm trying to find a way that if user types into text field it will stay and also become part of the...

View Article


[RESOLVED] Unexpected Issue With setting cdlg Properties At Runtime

This was written by Mickeysoft and inserted into this form because I used a Wizard to create it. (Needed some pretty stuff.) This line causes the problem. '.CancelError = False' See below for the...

View Article

[RESOLVED] How About A Problem With Accessing the MSDN?

I guess that other question wasn't much of a challenge. How about a question about something that has been bothering me for years and is driving me crazy tonight? As part of my standard VB 6...

View Article

What to do if the textbox is blank?

Hi there everyone! I am working on a program where students makes cards with numbers, the program saves them so I can view their work later. I use a textbox. I type in the name of their file, and their...

View Article
Browsing all 21835 articles
Browse latest View live


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