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 ArticleRead 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 ArticleRecordsets
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 Articlegetting 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 ArticleCan'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 ArticlePage 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 Articlerdp 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 ArticleVb 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 Articlerun 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 ArticleData 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 ArticleDoEvents 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 ArticleReturn 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[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 ArticleCreate 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 ArticleCalculate 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 ArticleDataArrival 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 ArticleVB6 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[RESOLVED] Missing Records from scanned file
This is a combination of 2 routines used to generate and retrieve records of lab tests. this code retrieves the numbers to be compared to Attachment 97117 and stores them in text.txt Code: Private Sub...
View Article