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

type mismatch after saving data

hey i get error type mismatch when i save something i have to combobox with numbers in at and the combos values are text in the DB the thing is it saves me the data in the listview and after gives me...

View Article


Enumerate And Load Specific Icon From Multires Icon File Or Resource

Hello, If you load any VB6 compiled executable with no custom icons or icon resources in an icon or resource manager, you'll see 3 icons: - 16x16 16 Colors - 32x32 16 Colors - 32x32 2 Colors Back to VB...

View Article


[RESOLVED] how to sort listview by combobox

hey i have a combobox with names that i populate from a table in the database now in the combobox the are names i am trying to sort the listview by picking a name from the combobox i dont use additem...

View Article

how do i make my own forn theme

Hi every one good afternoon . How do I make my own themes, i have seen many done but I'm looking for a tutorial or an example how to do this please help thanks for your time. Andrea

View Article

Using Ctrl+C and ctrl+V

Hello All, I'm trying to use control key ctrl+c to copy from textbox and use ctrl+v to paste in webform field as following but code not paste text in webform field! please what I'm doing wrong? or is...

View Article


Geometry Lab

Should anyone be interested. I have constructed an interactive software "Geometry Lab" in VB 6. Free when requested. (http://geometrylab.org )

View Article

Adfly and get URL from SKIP button

Hello everyone! To understand what I mean to say, check this link <removed by moderator> If i hit right mouse click on yellow SKIP button (right top of the screen) I can get the COPY URL method,...

View Article

Finding my program instance in LAN computer and send a message to close that...

I want to Find a running instance of my program in any of the network computer and if found, send a message to that user to terminate that program. Its like sending message from program to the same...

View Article


[RESOLVED] how to delete records using delete from clause

how to delete record comparing rs(0)=text1 and rs(1)=text2 Code: cn.Execute "Delete from table where name =" & txtname & "', surname='" & txtsurname & "'"

View Article


Loading controls

Hey guys, Two questions here: 1) Using the Load Control function, is there a way to save the control so its still there after I close the program? So, if there is textbox(0) at design time then...

View Article

interface easycap 2.0

how to make the interface easycap 2.0 to Visual Basic 6.0?

View Article

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 Article

Image may be NSFW.
Clik here to view.

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


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

ImageCombo: 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 Article


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

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

And 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 Article
Browsing all 21237 articles
Browse latest View live