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

Recordsets

I have a query which returns name, address, telephone, addressL1, addressL2, addressL3, email, fax from a table. eg sql="SELECT * FROM people_info where person_id='1234'" I then set a variable to store...

View Article


getting angle from two point position (in Italian)

Hello everybody, I'm new in this space, i'm going to post this how to message in italian, early I'll translate in English, but for the moment You could use google translator, please pardon me, :)...

View Article


[RESOLVED] Multiple dbUpdateBatch commands?

We use an Access 2000 (VB 6.0) procedure (written by someone else) to update an SQL server database on a web server using .dbf update files. The program deletes every record of an SQL table, then...

View Article

Page Break - Export Access

I would you like some guidance about conflicts exporting data between Excel and Access In an application developed in VB6, I realize using a textBox the page break resource (Ctrl + Enter), the same...

View Article

rdp help please

this is my rdp tool it gets all ip andd username and pass from txt file instead i wish to grab ip from list3 Code: Private Sub cmdScanNext_Click()     Dim ServerSpecs As String     Dim SpecsParts() As...

View Article


Vb help

I have a combobox, which have people names in it. For an John R Wright. But what I'm trying to do is, how can I send the name to the listbox, but only the first the 5 char of the person name. For an...

View Article

run time error 52

I was running an application for checking parameters in excel file when the messege showed " run time error 52". Please help how to solve this. below is the area where i encountered this problem....

View Article

Data between two dates. Query not working.

Hi All, This may seem simple for you experts. I need to extract data from a table between two dates. User will input a date and from that date +7 days data. Using Access 2007 and VB6. Format is...

View Article


DoEvents Replacement

In my program, I wanna replace DoEvents with something faster and close to how C++ does it. The only events I wanna check are painting events, mouse events, and keyboard events, window moving and...

View Article


Return of focus firing optMenuOption_Click event

I maintain a number of VB6 apps and in each case they start with a plain screen which acts as a menu. The menu itself consists of a number of option controls. When the user clicks an option, Sub...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] help: update table

Code: Private Sub Command1_Click()     Dim loadrs As ADODB.Recordset     Dim loadcn As ADODB.Connection         Dim loaddbcon As New DLLConnectionFunction     Set loaddbcon = New DLLConnectionFunction...

View Article

Create plugin for VB6 app within VB6?

In VB6, is there a way you can create a custom plugin for your VB6 app using VB6 to create that plugin? if so - how?

View Article

Calculate the current date of birth if user only know their age

Hi, How to create function to calculate date of birth base from the age. User know their age, but forget their birth date. I want to create function like this. Please help ...

View Article


[RESOLVED] Creating a Login screen and connecting it to Access

Hi, I've never really created a login screen in VB and connected it to a table in MS Access before. So I'm supposed to create a login screen and after gaining access to it, a main menu form needs to...

View Article

DataArrival Unexpected Error

The DataArrival event is fired but when program attempts to GetData I get the following error 40006 Wrong protocol or connection state for the requested transaction or request Code: Private Sub...

View Article


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 Article

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


help: incorrect sytax near ','

Code: Dim str As String             str = "Update tbinvent " & _             "Set Markup_Out=200, " & _             "Markup_In=200, " & _             "sellingpriceout=" & Text2.Text...

View Article

How 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
Browsing all 21236 articles
Browse latest View live


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