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

Windows 7 question ( Starting new / old project )

I have an existing VB 6.0 project, fairly extensive probably 100k + lines of code. The project is an operating system for an XRF analyzer, multiple serial ports ( MS Comm ), a National Instruments I/O...

View Article


TerminateProcess

I'm looking for a simpe way to terminate a VB6 App from another VB6 App. I successfully found the handle of the app using "FindWindow". Used that handle in "TerminateProcess"; nothing happened the app...

View Article


Multi-Server - Multi-Client Chat System. How do servers connect to each other

Without giving too much thought (well, I did do some thinking) trying to figure out how would I go about getting all servers to connect to each other the best way I was able to come up with is that as...

View Article

How to Send Keys from my VB5 App to another App's open Web Page

My user will open the desired Web Page(www.TD-Digital.com) for testing purposes My user will then "Restore" my App which is running minimized in the task bar, then Click a button in my app that will...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] VB6 Command Button display on Windows 7

I may not be doing something right. The command buttons of my app do not take the native Windows 7 button feature/shape/color. However, the common dialog box buttons (called from my software) does take...

View Article


Can a socket array be used as both a server and a client?

In my project I have a socket, let's call it ServerSockets. ServerSockets(0) is the server so it is listening on port 3001 ServerSockets(1) is a client so it connects to another server which is...

View Article

forgot your password form in vb6 retrieve password from database

hello guys i am in the 10th grade and i am creating a project for my computers class in which i have created a login and register facility the forgot your password code doesnt work . the password is to...

View Article

Date Difference

Hi I have written this code & it is returning value -2. Date value is "26/02/2013" DTPicker1.value is "28/02/2013" MsgBox DateDiff("d", DTPicker1.Value, Date) Thanks

View Article


Copying table contents

Im trying to copy the contents of my Inventory Table to CustomPO Table. No error occurs, but I won't copy. What seems to be the problem? :confused: Code: Private Sub Copy_Table() Call d2("Select * from...

View Article


Image may be NSFW.
Clik here to view.

Read from one tree and overwrite another tree with the values

I have two treeviews(TV1 and TV2) and need to sequential read each node label until I encounter a space in the label name. Then I need to write that value directly to the second tree in the same place....

View Article

Error - Text Property is read-only

Hi Set rs = New ADODB.Recordset If rs.State = 1 Then rs.Close rs.Open "temp", cnn, adOpenDynamic, adLockOptimistic, adCmdTable On the line cmb1.Text = rs!name it is giving error "Text property is...

View Article

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

Can't get Inet.OpenURL to do something

I'm using the Inet.OpenURL command but it will only open the file if it is in the public folder or a sub folder under of the our website. Here is my code: MyTest$ =...

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


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