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

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

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


Help with Oracle Query

How to get percentage for the numbers in the Qty Column? Can someone please help. select (SET) as Part_Number ,(COUNT (1)) AS Qty from US8 where CTYPE = 'DPPO' AND STYPE ='STP' AND DATE= '20130223'...

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


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