Font Confusion over API Return Info
I have a textbox where the Font is set at: Font Name: Tahoma Font Size: 8.25. I am now trying to get this information (using API not VB) from the textbox during routine. I have two different routines...
View ArticleSimple Subtraction Code Misbehaves.
I ran this code extensively and checked for several values entered in txtsu, txmo, txtma, txtme, txtve, txtju and txtst. I have found a consistant pattern in the error. When the entered combination is...
View ArticleError installing an vb6-Application on Windows 7
By installing an Application using DAO-Components on a Windows 7 Machine an Error occurs by registering the DAO3032.DLL. Manually registering these Module by using regsvr32.exe is also failed....
View ArticleTree structured data question
I want to implement a tree structure similar to the picture: Attachment 90299 which is not binary. EDIT: previously unnoticed error => the last generation nodes should be 8, 9 and 10 (actually the...
View ArticleComms Problem
Hi All I am sending 13 characters to my vb6 prog via comms which works most of the time but then for some reason the 13th character becomes the first character and it does this all the time until i...
View ArticleDetecting when mouse cursor is over control
I'm trying to make a custom control based on a PictureBox control. Want to add something like a toolbar that must be hidden until the mouse is moved over the PictureBox when the toolbar must be made...
View Articleat runtime write-protected properties do not occure at self-built controls
Hallo, I built an own activeX control to add additional properties to the textbox control. But did anybody of you notice that ALL properties (of the textbox) that are write-protected at runtime do NOT...
View ArticleData Field not found
Hello, I am trying to create a report in vb6 by using an SQL query. That is I want my SQL query to generate all records in my table that have a particular value for a particular field called BillNum...
View Articlereport word
I have problem, I want to repert string, but Code: Text1.Text = String(5, text1.text & ">") not work? Text1.Text = "Text1" before: Text1 after: Text1 > Text1 > Text1 > Text1 > Text1...
View ArticleHow to get the selected row in a DataGrid in VB 6.0?
First of all can i even select a row in a datagrid in VB 6? If i can then how do i get the selected row? Please help. Its urgent.
View ArticleCan't get CreateProcess to work
I just tried CreateProcess and modified the parameters but they don't appear to work Code: ' ' Private Const STARTF_USEPOSITION = &H4 Private Const STARTF_USESIZE = &H2 Private Const...
View ArticleEnabling and Disabling the Max Button on a form?
Hi there I am working on a math prog and would like to give the user the option to max the form. However many users will be using the small netbooks that have smaller resolutions and will not need to...
View ArticleRun At Startup Options (Not Registry)
I want my program to run at startup but i don't like registry idea coz i myself frequently check my regsitry and delete all startup apps. I heard about autoexic.bat but i don't know if it works in...
View Articlevb crashes when closing ide, where is error log file?
program error vb6.exe has generated errors and will be closed by windows. you will need to restart the program an error log is being created where is the error log file and what is the name of it..
View Article[Resolved]Adding a line feed or not when writing to a file
I am using the following code to write to a file. Open gstrTxPCDir & gstrTxPCFileName For Append As #TextDLFNum Some Code Print #TextDLFNum, gstrRxLineInput Some Code Close #TextDLFNum All works...
View Articleshortcut code of this bunch of if statements and arrays
Code: Private Sub cmdClear_Click() cmdClear.Enabled = False counter = 0 opt30mins.Enabled = True opt1hour.Enabled = True optOpenTime.Enabled = True cmdStartTime.Enabled =...
View ArticleDatabase access error but only in IDE
I need to synchronise an Access database between two users. As part of that process (all done in code by tracking changes and copying records around - no "replication" is involved) I need to copy the...
View ArticleBetter database than online mysql?
Hi guy's i current have just created a CRM system that stores contacts and clients for a call center. At the moment I am storing all the data online on a webserver using mysql. Which makes the system...
View ArticleCombo Box
Hi I have a form with 3 combo box's each populated from datagrid recordset, the user can be edit delete or add records. All code written and working correctly. Now my question:- In one of the combo's I...
View ArticleVB6 Run As A Service (Windows 7)
Is that possible in vb6 in windows 7? I know it was possible in Windows NT.
View Article