Retrieve directory contents
Given a directory path as input, I need a function that returns a list of files and folders contained in it. I know how to do it using the FSO, but is there a statement or function without resorting to...
View ArticleCounting Segments of Lines to End of File, and Recording Last Segment Number
If I were to count each number before each comma right to the end of the file (the last number would mean a total count of 54), how would I do it? Here is a sample of the text file: Code:...
View Articlewhere are images stored
Hi! I've got a VB6 project source code but there are no image files which are used inside the application. The application has many pictureboxes and images but there are none of the image files used by...
View ArticleRe: Classic VB - How can I read/write a text file?
Hi for some reason when i do this, i put text1.text = Text1.Text = sFileText and it only loads the last line ? Any ideas (I'm using the first code example you gave!)
View ArticleHow to download and save a webpage and load its html in textbox?
hi all . i wonder how i can download a webpage and load its html in to a textbox for further processing. My main goal is to download a remote webpage and search for following value(want to get...
View ArticleRun-time error 3704 operation is not allowed the object is closed
this is my code please help me..Attachment 92489 for showing data from search table:cry: Dim objConnection As ADODB.Connection Dim objCommand As ADODB.Command Dim objRecordset As ADODB.Recordset Dim...
View Article[RESOLVED] Screen Resolution Issues when using a Projector as second Monitor
I have a Dell Latitude E6410 with it's screen resolution set to 1280 X 800 (recommended). When I display my VB6 program on it, I can see the entire form (set to maximum or to initial IDE size). When I...
View ArticleHow to Send Correct Data via Csocket Class ?
Dear Forum members, :) I usually make mig33 tool with Csocket class. But in few PC I got a Error. When i send packet to mig33 server 3rd byte always remains 3F . That's why I can't send correct packet...
View ArticleVista Sicherheits-Fehlermeldung von VB-Runtime bei HTTPS-Post mit INET-Control
Hallo, es ist kaum zu glauben... bei Win NT, Windows 2000 und Win XP gibts keine Probleme. Auch bei Vista im VB6-Entwicklungsmodus nicht, wenn ich per Inet-Control eine HTTPS-Post Message verschicke....
View Article[RESOLVED] Can you figure out why this simple code is having problems ?
Im working on some vb code that create's a batch file . Then Starts that batch file then deletes the file , everything works fine up untill the file delete part . here is the code...
View ArticleRemove empty cells from MSHFlexgrid using vb 6.0
Hi, I am creating an vb application that compares two data's pasted in two mshflexgrid. The data's will be copied from the source to the flexgrid control using clipboard. I have coded all the needed...
View ArticleVB6.0 does not connect to mysql on centos 6 server
VB6.0 does not connect to mysql on centos 6 server I try to connect vb6.0 from win7 to mysql server in centos. I installed odbs drive 3.51. i try to connect to server and error Odbc drive not found...
View Articleautomatically add in to text2.text where ever there is a new line
hi guys, is it possible that when i enter text into text1.text and press command1 it automatically adds "<br> at the end of the line where ever a new line is started? For example text1.text = "At...
View ArticleAutomation Error
I used to run Visual Basic 6 applications with Windows XP. Now I changed to Windows 7 and when opening a VB6 program I get an error message: Automation Error Error accessing the OLE registry Can...
View ArticleControl DB with 2 SQL statements
Hi I am re-writing an old VB program called Address Book which of course contains Names & Addresses,Phone Numbers, E Mail Addresses etc In my original project all data was kept on 1 Access DB but...
View Articlemask color over listview row item
i need to color mask some items in a listview already filled with data so that the data cannot be viewed until the revers is done, but dont hav idea how to do it. The mask should cover the row that i...
View ArticleHi , I need some help on my main manu
Hi, Everyone, I need some help, I made a menu for my programs, But when I go to the programs I have added Nothing opens or any thing, What it dose is just show a Line, and Under that line should be the...
View ArticleVB 6.0 Installation
hi, I am unable to install VB 6.0 into my machine. I have MS Office 2007 and our IT engineer is telling me the reason that, its a compatability issue. I am able to get installed Visual Studio 2012,...
View ArticleHow to read a MAX file ?
A couple of days ago I switched from Windows XP to Windows 7. I scanned about 10000 files using a Scansoft scanner on my computer. All these files show the extension .max but Windows 7 cannot read them...
View Articleoperation is not allowed when the connection is closed
I'm having trouble in my discount computation for about a day now and I have to finish my system tomorrow please help me Code: Dim a As Double Dim b As String Dim Desc As String Private Sub...
View Article