ADODB Connection using DataEnvironment losing properties on Windows 7 SP1
Hello, I'm using a Data Environment Connection to connect a Database, but the properties is populated dinamically. On Windows XP, the code works. But in Windows 7 SP1, it's losing properties when I...
View ArticleBarcode Printing
Hi everyone, I wrote an app in VB6 that prints a label with the model #, date, shift, indexing serial # and a letter for a the companies ID. I modified the label to include the barcode 128 and the...
View ArticleSimple Write Registry with VB6
I want to write a simple registry as below. How can I do that in a simple and short way ? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]...
View Article[RESOLVED] Check if file extension exists in folder using wildcard and...
Hi There, I use a quick boolean test to see if certain file extensions exist in a certain directory (i.e., are there any *.txt files in this directory yields either True or False). But what would be...
View ArticleHow to add Schedule Tasks to run a batch file with admin privileges
Please , how to create a new Schedule Tasks with VB6 , which is to run a batch file with admin privileges Thanks a lot
View ArticleSelecting DLL's at runtime
Hi, Here's what I'm faced with. A DLL provided by a card manufacturer, now has 3 versions in service. I have all 3 versions, the dates as well as the sizes are different, however the names are the...
View Articleitem could not be found in the collection corresponding to the requested name...
why do i get this error if my fields are correct? Code: Dim EmpNo As String Dim stat As String Sub Verify_Account() stat = 0 strSQL = "SELECT * FROM Users"  With rs   .MoveFirst   While Not .EOF...
View ArticleOLD TOPIC - Creating a Control Array at Runtime (But with IDE' blank')
Does this statement from MS (still) apply, or is there a way to do this? Quote: Adding Controls at Run Time In Visual Basic 6.0, controls could be added to a control array at run time using the Load...
View Article[RESOLVED] OLD TOPIC - Creating a Control Array at Runtime (But with IDE'...
Does this statement from MS (still) apply, or is there a way to do this? Quote: Adding Controls at Run Time In Visual Basic 6.0, controls could be added to a control array at run time using the Load...
View ArticleVB6 with DLL
Does VB6 register your DLLs? I have read where DLLs need to be registered however I have several VB6 applications that uses custom DLLs (DLLs I made using C) that I include in the App.Path....
View ArticleItem Management
Somehow I can't come up with a good item management system for the GameEngine I'm working on right now. I need it to be Flexible enough for an RPG game. I wanted to know what are your Approaches in...
View Article[RESOLVED] to make a help in vb6
Hi I wonder wich program to make help files in my program long time ago I used a program to make help files. Like you press F1 then you got help on that. any suggestions ???? Lenny
View Article[RESOLVED] Service Pack Installion for VB6
As DM pointed out, I should be using some of the many Service Packs made available over the last 15 years for Visual Basic 6. Well, I don't believe I ever did. So, after encouragement from DataMiser on...
View ArticleCounting Particular Letter Occurrences in a String
I want to figure out how to count particular letter occurrences in a string, from letters typed in an input box. Once I have the letter occurrence counting figured out, I plan to do math with the...
View ArticleW7 - vb6-98 - access - excel - error 3061
VB6 (32 BIT - 1998) ERROR 3061 - WINDOWS 7 - ACCESS 2007 - EXCEL 2007 I wrote a VB6 program that extracts records from an ACCESS 2007 database and writes them into an EXCEL 2007 sheet. The program...
View Article[RESOLVED] How to display all dates of a selected month in separate labels.
Hello, I am currently working on a project in VB6 and I need a little help. I have a combo box which I will use to select the month. Once I select the month, I want the labels(control array) below to...
View ArticleReturn a Value from a Built-in Procedure?
Hello, Please excuse the title, I really have no idea what else to call it. But I'm trying to make a function that returns a value off a procedure called from a private Module, say, Command1_Click(),...
View ArticlePermission Denied on Key Preview
Env -- VB6/ win7 Sir, I have designed a VB6 form on with I have made the key preview on. I want my users to change the focus on next control and select the whole text on that control on press of ENTER...
View Article[RESOLVED] right click on Label
is there any code which can be implemented on all labels on form for right click and copy given link of labels to clip board .. need help please
View Article