Count files in folders, subfolders on remote servers
Hi all, complete noob to vb. OK.. so I have this. It does great at counting the number of files in c:\temp and it's subfolders. But it pops it up in a msgbox. What I really need is something that will...
View ArticleVB6 complied Webbrowser html probem
I have a problem with my application when I compile my code. I have a stand alone form that has the webbrowser control. I generate an html page that I store as a file on a hard drive. After I've...
View ArticleMissing Records from scanned file
This is a combination of 2 routines used to generate and retrieve records of lab tests. this code retrieves the numbers to be compared to Attachment 97117 and stores them in text.txt Code: Private Sub...
View Article[RESOLVED] Be able to close form with ALT+F4
Hello! I have a form, ControlBox=True, BorderStyle=None, blank Caption. I want to be able to close the form at ALT+F4. Any idea? I need the form to remain without title bar. ( it is also displayed...
View Articlehelp: incorrect sytax near ','
Code: Dim str As String       str = "Update tbinvent " & _       "Set Markup_Out=200, " & _       "Markup_In=200, " & _       "sellingpriceout=" & Text2.Text...
View ArticleHow do I move a whole bunch of folder in VB6?
Hi there! I am finishing up an attendance prog, and one of the features is that when a teacher creates a roster, the program will create a folder with each students name. At the end of the year, the...
View Article[RESOLVED] 2 or more records SQL DELETE FROM - problem
strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1)" is working efficiently for me however strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1) AND (transno = 2)" have a problem. no error is encountered...
View Article[RESOLVED] VB6: Adding a new record to an existing TYPE structure?
Hi, I've searched through the threads but can't seem to find an answer. I have a Type structure namely Type PersonalInfo CompanyName As String * 50 Address1 As String * 50 Address2 As String * 50 City...
View ArticleClosing a form without closing the whole program
Hi guys, Tiny little issue Im having with a program im writing. I have a form open in my program (when the program is running) what I need is a close button so that when the close (or exit or whatever)...
View ArticleInner Join in B6
Hi guys, any idea how can i use innerjoin in VB, im not sure if its inner join that i nee to use. Here is the scenario. i have two tables: tblProductInfo and tblSerialNumber tblProductInfo:...
View ArticleLayout creation
How could I create such a layout using visual basic 6 There could be any no. of rows from database. Logically I think that I should use Grid or listview But I don't know how to write a code for that...
View ArticleRequest.ResponseText data analysis
I have a vba script my MsgBox MyRequest.ResponseText result is as below. I want all the id's,abbreviation and description in an array, does anyone know how? I am new to VB <table> <tr>...
View ArticleVB6, Access DB, & ADODB 2.7 on a Windows 7x64 Machine
I've been given some legacy code to work on that was built using VB6 and ADODB 2.7 to connect to an Access database. I'm getting an error when connecting that states: "The specified dsn contains an...
View Articlevb6 app cannot connect to sql server 2008 on win7x64
Hi guys, I have an app written in vb6. the app will connect a sql 2008 server. Everything wroks file. But suddently, the client pc can not connect to the server. The error says: Attachment 97197 The...
View ArticleFind listbox items that have a check mark
I have a listbox full of items. As each item in the listbox has been taken care of it's checkbox is ticked. Later I want to loop through the listbox items pulling data out of the ItemData property of...
View ArticleVB & Quadratics
I have recently began programming in Visual Basic 2010 Express, and I have already learned a lot. I have decided to try combining Quadratic Functions with Visual Basic by creating a graphing program. I...
View Articlehelp: email client
hi. bits by bits I gathered codes to make an email client that sends multiple attachments. I also store the images to mysql database as blob. Now I realized that I need to send those images as multiple...
View ArticleHelp me mysql query
HI I'AM USING SHAPE COMMAND IN MYSQL THEN I GOT SYNTAX ERROR,.... IS MYSQL SUPPORT SHAPE COMMAND ? HERE IS MY CODE sql = "SHAPE { select school_year,student_no,concat(yearlevel,'-',section) as ylsec...
View Article[RESOLVED] Invoking Windows Explorer JPG Print Dialog from VB6
Hello! Does anyone know how to invoke the dialog box that is displayed when I right-click a JPG file in Windows Explorer and choose Print from the context menu? Thank you!
View Article