FlexGrid ocx/dll error?
I am getting a flexgrid error on windows 7 machine with a new program that was created.. here is the error pic.. http://www.sbsracing.net/flexgrid.jpg I am sure I am missing some ocx or dll..
View ArticleRe-size and Position Image in Excel worksheet
Hi All, i try to re-size and position as you can see in attachment and code below but all my trying failed. please any suggest to do that? Appreciate your help and your time here. Thank you. Code: Dim...
View Article[RESOLVED] how to show a month in mschart
hey im trying to show my expenses each month that pases by in the mschart so far i have only done the expenses this is the code that i have Code: Dim R As New ADODB.Recordset   CmbChType.text =...
View Article[RESOLVED] how to change the C1 caption in mschart
hey i have a mschart and im trying to change its label instead of C1 C2 when i changed it in the property window it the dosnt show the change in the mschart when i run the program. any suggestions?
View Articlehow to display 2 graphs in the same mschart
hey i have a mscahrt that displays each month the expenses its calles ExpCost now i added another one that its called ExpQuantity how do i add another bar next to the ExpCost? i dont want to sum...
View ArticleImageCombo: No images on XP?
So I'm using an ImageCombo to display a list of directories, so need to have it associated with the system imagelist. Seems simple enough, but I was testing for XP compatibility and noticed that while...
View ArticleDatagrid values to datareport
Hi Sirs, i know my question is a bit old and im still learning about vb6. i would just like to know how to put data coming form datagrid to datareport thru code. i have a sample code that i made and i...
View Articleif statement help
If InStr(Text1.Text, "1" Or "2" Or "3" Or "4") Then Me.Caption = "works" Else Me.Caption = "not" End If need this working or what i defo need is if any alphabet keyword is found even 1 then match found...
View ArticleAnd operator not working correctly in VB 6.0
The "AND" operator is not behaving correctly in VB 6.0 If (13 And 15) Then MsgBox "TRUE - 13 and 15" Else MsgBox "FALSE - 13 and 15" End If If (13 And 16) Then MsgBox "TRUE - 13 and 16" Else MsgBox...
View ArticleGPIB and VB6
Hi all. Here my problem: I have a program written in VB6 which controls, by a GPIB, 2 engines. Now I have 2 questions: 1) the commands to control the movement of the engine are something like...
View Articlemsflexgrid populating question
I wanted to ask how to do this problem. I have this form A with msflexgrid A with no records. then I have another form B with msflexgrid B with 10 rows of record. I need to copy the records from grid B...
View ArticleNode and TreeView
Hi i have this code for treeview, and when i run the code i have the error: "Type mismatch" in the line marked in bold Code: Private nNodo As Node Private Sub carregartreeview() Set nNodo =...
View ArticleVB6 + QTP question
Hi guys I have a problem here is the code. So say post_no_message is 8 it will get the string compare it and at the 8th or last values it will throw out incorrect parameter error why? I just don't know...
View ArticleFind rounding functions VB6.0 ?
I want to find rounding functions. In VB60. The function can be fulfilled in the for example below for example: 794.5 = 795 843.4 = 843 245.345 = 245 I used the function: Round(), Int(), Fix() but not.
View Articlehow to update without a duplicate name
hey im trying to update a customer but when i try to change something in his details i get name already exists in the database. i did this only when i add a new cust. cant figure out how to fix it. if...
View ArticleDo your part for VB6!!
There is currently an active petition going on in Visual Studio uservoice site named "Bring back Classic Visual Basic, an improved version of VB6". it is one of the most popular petitions in the site....
View Article[RESOLVED] Creating Excel Worksheet with QueryTable in VB6
Just for fun, I am using an example posted on MSDN to copy an entire table's contents into an Excel spreadsheet. I am using VB6, Excel 2007 and Access 2007. On this line, "oQryTable.refreshtype = 2...
View Article[RESOLVED] msflexgrid populating question
I wanted to ask how to do this problem. I have this form A with msflexgrid A with no records. then I have another form B with msflexgrid B with 10 rows of record. I need to copy the records from grid B...
View Article[RESOLVED] how to update without a duplicate name
hey im trying to update a customer but when i try to change something in his details i get name already exists in the database. i did this only when i add a new cust. cant figure out how to fix it. if...
View ArticleCoding for finding and displaying data
I have a large text file from which I want to extract information. As a sample of what my data looks like, I've saved some data in a txt file which has 4 columns. The first one is 'ID' (Unique ID of...
View Article