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

Image may be NSFW.
Clik here to view.

How to Stop DTPicker getting the Current Date and Being Cleared

Add Record Form: It has a DTPicker1(for IssueDate Field) that auto detect the current Date/Time. Screenshot #1 - Adding a New Record Listview Form: Viewing the Listview records Issued Date and Released...

View Article


Sql Query

Hi For MS-Access database i have written the below query rsshift.Open "select code from temp where code='" & Trim(txtcode.Text) & "' and effectivefr >=#" & DTPicker1.Value & "#;",...

View Article


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

How to Open My Extension File of Access 2003 in My Programme

Hi All, I have one Project in that i have give my own Extension (.mtf) to Data File of Access 2003. Now my Problem is that how to open this file in My own Program and will show me a data in form which...

View Article

[RESOLVED] Help with eratic loop counter in a timer

This counter keeps starting over for some reason.(miCounter) i have changed the name of the counter in case it was referenced elsewhere in my code sometimes it gets to 10 and starts over other times 11...

View Article


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

[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
Browsing all 21111 articles
Browse latest View live


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