Open xlsx file in VB6
Hello, we have process to monitor and reading the email attachment in xls format and converted into txt or csv file and store it in a system location. Dim objWorkbook As excel.Workbook Dim objWorkSheet...
View ArticleSubclassing Questions
So I'm looking to understand sub-classing instead of blindly using some sample code segments that really sometimes simply just don't fit "as is" with what I'd be trying to do. Below is a pseudo-code of...
View ArticleDiference between enter in main keyboard and enter in the numeric keypad
Hi all, At first, sorry for my poor english... not my mother language. I am modifying an old application in VB6 which needs to send key strokes to another application. I am sucessfully using the...
View Article[RESOLVED] syntax error missing operator
hey i get this strange error syntax error missing operator in query expreesion i checked my code 10 times already this happens only when i update a record. this is the code. you tell me whats wrong...
View Article[RESOLVED] Invalid used of AddressOf operator
First time this has ever happened and the exact same code is in another project without the error. Here is the Sub code that invokes the AddressOf Code: Public Function StartRecord(ByVal samplerate As...
View Articlewinsock1 - POP3 email reader program
Hello, I want to program a POP3 email reader (like CS_Email_Monitor from vbsourcecode). My gmx email server stores the mails from the last 14 days. Every morning at 5h AM the email server deletes the...
View ArticleVB6 on Win7 Object library not registered
Im trying to install VB6 on windows 7 everything went smooth on the installation. But when I tried to add some components(.ocx) im getting an error message "Object library not registered" I tried to...
View ArticleRe: Classic VB - How can I check if a file exists?
Quote: Originally Posted by dee-u We can also utilize the API's FindFirstFile and FindNextFile to determine the existence of a file or a folder, it can also support wildcard searches which I...
View ArticleRegisterClass and CreateWindow Questions
Guess who's back, Once again, It's your friend outta Heartless Land... Please do pardon my lame 2Pac reference rap :D!! Issue #1: According to MSDN, one can create a message only window using...
View ArticleRemoving 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 ArticleHow 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 Articlehow to search database with the options buttons
hey i have a search in my database thats search by name how do i search it by phone number or date using options buttons? this is the code for the search name only Code: Set RS = CN.Execute("SELECT *...
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 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 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