How can I save an image of a form to a file?
I can save an image of a picture box control in VB6 on the form with SavePicture frmMain.picWindow1.Image, "MyPictures/" & strBmpFileName [How do I make this show up as code?] But, I want an image...
View ArticleRun Time Error -2147217865(80040e37)
Hi All, When i Create a New File of Access 2003 Database it is show me a "Run Time Error -2147217865(80040e37) - Can not find a Table or Constraint". I am checking all the possible thing also check...
View Articlecount lines in txt file where ...
I have a txt file in c:\mydir\ i need to count lines only if in mid position 14, 4 is present the word "abcd"... I need to loop all lines with the tipical FileName = "C:\mydir\232.TXT" FileNo =...
View ArticleClient specific code in separate dll?
Hi, One feature in my VB6 application works fine for 99% of the clients, but in some cases a custom set of calculations is required. Unfortunately there is no way to implement this in a generic way...
View ArticleARGH-Office 365! WITH VB6
On my Windows 8.1 platform, I have programs that create (used to anyway) MS Word Documents. Using code below (as an example program), when the Word Doc was created, it defaulted to MS Office 365. I...
View Article[RESOLVED] ARGH-Office 365! WITH VB6
On my Windows 8.1 platform, I have programs that create (used to anyway) MS Word Documents. Using code below (as an example program), when the Word Doc was created, it defaulted to MS Office 365. I...
View Article[RESOLVED] delete record in a single column vb 6
Can someone help me.How to delete all the data from one field column.I tried this code but it doesn't work. Please help me thank you. Private Sub Command1_Click() Adodc1.RecordSource = "select * from...
View Article[RESOLVED] VB6 in Win7 64bit ODBC 32bit Data Connectivity Performance Issue
Hi Guys, I'm running VB6 application with DBF files as database using ODBC 32bit (System DSN) of (Microsoft FoxPro VFP Driver (*.dbf)). Every thing seems to be working fine except it's extremely slow,...
View ArticleHow to send data to external EXE app and get info back
I have an EXE (compiled C DOS type) that I want to send it some data and as a result of the data I send it I want to receive data back. Normally, to use the EXE I would simply type the data using the...
View Articlevb 6 adodc Operation is not allowed when the object is closed
I am trying to update some records.The moment the line Adodc2.Refresh executes, I get an error message saying that the "Operation is not allowed when the object is closed" Yet, when I put "On Error...
View Articlehow to make transfer rate calculator
Hi, bro i working on winsock i need code to get the size of data transfer by winsock. also size of recieving data transfer. help me! thanks in advance
View ArticleADO Error - Method Open failed
Hello all, I am writing an app in VB6 interacting with an Access 2000 database. I am trying to use the following lines of code but get a "Method 'Open' failed" error. the query works in Access - giving...
View Article[RESOLVED] How to send data to external EXE app and get info back
I have an EXE (compiled C DOS type) that I want to send it some data and as a result of the data I send it I want to receive data back. Normally, to use the EXE I would simply type the data using the...
View ArticleDatabase Connection
Hi I have written the below Sql connection for SQL cnn1.Open "Driver=SQL Server;Server=" & ServerName & ";Database=" & "TEMP" & ";uid=" & uid & ";pwd=" & pwd & ";" I...
View Articlealign item in combobox
I have this value in a combobox: 123 - aaaaaaa 1 - pppp 1254 - zzzzz .... of course it is more professional to allgn the item in combobox to have an idea see the attached txt or not? possible that with...
View Article(how to ) connect to mysql database login username and password
in vb6 how do i connect to mysql database with username and password if login is success then form2.show please guys i need this important please. from phpmyadmin we will make a new database then...
View ArticleOcr + vb6
Hello guys, I'm new in OCR things, But my boss want me to create a program that can read a text from an image.. Soo, i do some research and it's need OCR,, (Optical Characters Recognize) But after a...
View Article0x80004015 The class is configured to run as a security id different from the...
I have a DCOM application which runs fine with default settings but when i change the DCOM settings(Identity tab\Which user account do you want to use to run this application\) to "This user" it fails...
View Article[VBRichClient] Open a RS as readonly and then copy it to another RS and...
Let me try and explain. I am extracting data from multiple tables using Joints. Obviously the returned RS is readonly. Now I need to add a few more fields to the RS. But this is not possible. So I will...
View ArticleHow to Set Column Poperty in Access 2003 Table
Hi All, When i am Crating a New Data file Through Access 2003 it is show Error "Run Time Error 3265" i will observe all the things but i dont know why it is coming. below please find my vb code and...
View Article