Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21259 articles
Browse latest View live
↧

[RESOLVED] vb 6 send email with attachment

I am trying to write a program that will send email with an attachment in VB6.I'm using cdo but it doesn't work please help me thanks in advance. I'm getting an error in this line -cdo_msg.Send-...

View Article


Sql Backup

Hi How i can create Sql Backup using Visual Basic 6 without stopping Sql Services. Thanks

View Article


Vb 6.0 end a for loop?

Hi I was just wondering if there was any possible way to end a for loop - if you reach a certain requirement and do not want to continue looping. I have tried an if statement incase the user does not...

View Article

How to space text evenly in a textbox

I need to keep score in a game for player 1 and player 2 so in the textbox I will have lines that look like this: Code:       Player 1    Player 2   1)  F3 - G2    H1 - Q5   2)  H21 - J8    B10 - D3...

View Article

[RESOLVED] How do I remove the form.Picture property after setting it at...

I am trying to save the image of a form after entering information on it to a file. In the process I loaded a picture into the picture property of a form. Now I can't get rid of it. How can permanently...

View Article


Sending email with multiple attachments vb6

Can someone help me.How to send an email with multiple attachments?. I am using cdo and SMTP Send Mail for VB6. Everything works great except I am only able to send one attachment at a time. here's the...

View Article

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 Article

Run 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 Article


count 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 Article


Client 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 Article

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

[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 Article

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 Article


vb 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 Article

how 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 Article


ADO 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

Database 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 Article

aligl item in combobox

I have this value in a combobox: 123 - aaaaaaa 1 - pppp 1254 - zzzzz .... of course it is more professional: 123 - aaaaaaa 1 - pppp 1254 - zzzzz ... or not? possible that with code? note: - the max...

View Article
Browsing all 21259 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>