Removing a Reference from the VB6 References dialog box
I made a TypeLib and added it to the VB6 Reference dialog box which pointed to the directory in which I made the file. I want to use this TypeLib in other applications but I don't want it to be from...
View Article[RESOLVED] VB6 - Form load delay?
Hi, I am trying to find code that I can put into Form_load() to make the form load 30 sec. after the user clicks on the compiled exe.:cool:
View Article[RESOLVED] How do you create a Main Module?
Hi, I am new to Visual Basic and am just getting to know the basics. I have already run a few programs that are based on forms. One thing that I wanted to do was to initialise some variables in a piece...
View Articlepath photo not found
hey i get an error when try to add or edit a new product path not fond of a photo. now i put some code but something is missing in the code this is the code Code: Private Sub Cmb4_Click() Set RS...
View Article[RESOLVED] Drag a button on a form
I just want to move a button on a form at run time. When I do a mousedown and drag the button I get an outline of the button. But when I do a mouseup the outline disapears and nothing happens. So where...
View Article[RESOLVED] path photo not found
hey i get an error when try to add or edit a new product path not fond of a photo. now i put some code but something is missing in the code this is the code Code: Private Sub Cmb4_Click() Set RS...
View Articledata type mismatch in criteria expression
hey i get a error data type mismatch in criteria expression i dont know what is missng :confused: this is the save code Code: CN.Execute "INSERT INTO Appointments (AppID, AppDate, AppTime, AppCust,...
View ArticleVB 5.0 in Windows 8
I am not being able to use Components under Project in VB 5.0 when running in Windows 8 environment. I also could not register dynamic link library (.dll) or active X (.ocx) controls using regsvr32...
View ArticleOLE container fails to render DOCX, XLSX
I'm currently working with a legacy VB6 application that uses an OLE container ActiveX component to preview Office documents. It works well with classic file formats but fails to render more modern XML...
View Articletype mismatch when searching date
hey im trying to search my listview by date i get error type mismatch why? this is the datepicker Code: Private Const mstrDateFormat As String = "dd-mm-yyyy" Private Sub DTPicker1_CloseUp() Dim lvi...
View ArticleVB6 - How to check if Process is running and if not then delete files.
Hi, I am making a program extract the program it executes and when the process ends then delete the extracted files. To execute. vb Code: Shell App.Path & "\filename.dll", vbNormalFocus To delete....
View ArticleIf no item in listview is selected and cancel button is selected, I receive...
Good morning, I'm using the below to populate text boxes etc when clicking on a listview item. Code: Private Sub listview1_ItemClick(ByVal Item As MSComctlLib.ListItem) Dim myLoan strSQL = "SELECT...
View Article[RESOLVED] type mismatch when searching date
hey im trying to search my listview by date i get error type mismatch why? this is the datepicker Code: Private Const mstrDateFormat As String = "dd-mm-yyyy" Private Sub DTPicker1_CloseUp() Dim lvi...
View Article[RESOLVED] If no item in listview is selected and cancel button is selected,...
Good morning, I'm using the below to populate text boxes etc when clicking on a listview item. Code: Private Sub listview1_ItemClick(ByVal Item As MSComctlLib.ListItem) Dim myLoan strSQL = "SELECT...
View Article[RESOLVED] how to create this multiple ping result
the situation is this. I have this database record of hostname or ipaddress and I would like to start pinging all of them one by one and show the hostname with corresponding result of the ping in a...
View ArticleUnformatted data and single type variable
Hi all, I have this problem, I have some numeric data to write in a file. I receive this data as a string from a device and then, I use the statements Open path For Binary As #nFile Put #nFile, , data...
View ArticleFlip An Image
Picture 1 is what I create by code. I want to copy it to Picture 2 and flip it vertically as shown below. Can I do this using either BitBlt or PaintPicture? How? Attached Images
View ArticleNeed help with reading current line in SSH session.
This is kind of a continuation of a previous thread, but I'm making a new one to keep things simple. I have a script that loops. Once it reaches line 11 (after an up arrow command), I need it to stop....
View Article