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

Dynamic array defined outside sub, redimensioned in one macro and use in...

Dear All, I am trying to do something like: Public dynarr() As String Sub data1() Size = 3 ReDim arr(Size) As String For i = 1 To Size Step 1 arr(i) = Cells(i, 1) Next i Call data End Sub Sub data2()...

View Article


how to select 2 values from different tables and display it in a listview Via...

i added a combobox named CmbTreat and it pulls values from a table called PriceList my question is how do i add the customer name and his phone number from Customers table and the treatment i gave his...

View Article


how can save a variable in access db

hi i want to know how can save a variable in access database ? you know you have to have text box and save text inside it to db but i have a variable and i want to know how to save it to db without...

View Article

[RESOLVED] question: how to get server date

suppose that my mysql server is on computer A (linux) and the client station on computer B (windows), what sql statement to execute to get the current linux server system date?

View Article

how to check automatic a status of a check is paid by Date and update another...

i have a table called checks and a combobox in a form with status names "paid" & "Delayed" now lets say i give a check 2 weeks from now how do i make that if this check suppose to be paid at the...

View Article


Blending images into background

I don't know what the term is called but it when you see an image that blends into the background so that the appearance of the image is not jagged looking. Is there an API or some method to do this...

View Article

Damaged VB6 Professional installation CD...

My installation CD is damaged beyond repair I have VB6 Prof installed on 3 other machines and working Is there any way I can manually extract VB6 from the working machines and at least be able to...

View Article

acad2007 vb6 can't populate selectonscreen with objects

OS Windows 7, Acad 2007 trying to write vb6 program to select on screen. I can communicate with the open acad2007 but there are no Items in the variable ssetobj after a selection. Code: Private Sub...

View Article


problem : runing process aftem Close Form!...

hi 1-my program have two Form (Form1 & Form2) 2-Form1 Have a Command Whit This Code: Code: Private Sub Command1_Click() On Error Resume Next If Form2.Visible = False Then MsgBox "FALSE" End If If...

View Article


[RESOLVED] how to select 2 values from different tables and display it in a...

i added a combobox named CmbTreat and it pulls values from a table called PriceList my question is how do i add the customer name and his phone number from Customers table and the treatment i gave his...

View Article

[RESOLVED] problem : runing process aftem Close Form!...

hi 1-my program have two Form (Form1 & Form2) 2-Form1 Have a Command Whit This Code: Code: Private Sub Command1_Click() On Error Resume Next If Form2.Visible = False Then MsgBox "FALSE" End If If...

View Article

how to create the data report from text file?

Hi, I already know how to import text file to datagrid,may i how to create the data report from the text file?? my text file content: 2310047019902,50,18/12/2013,08:24 2310057019909,80,18/12/2013,08:24...

View Article

How To Add referece directly to .vbp file?

I know I can add reference from the project>references, But in many computers,(Most Win 7 Or Greater versions) Some "error accessing the system registry" errors are popping up. I have read all the...

View Article


How to make a vb6 program as desktop application

Hello everyone, it is my first post. I want my vb6 program be packaged as desktop application or like a portable app. Can you help me please? Please? Please? Thanks.

View Article

Need Tutorial for ADODC Control Object

I havent touched VB for years and trying to re-write a project due to not being able to modify my old Access database, hence need to relearn how to use ADODC (think I was using a Data object...

View Article


Image may be NSFW.
Clik here to view.

VB menu bar opens in the middle of the screen not where I left before

Hello, When the VB IDE opened, the VB Menulbar comes right in the middle of the screen (see attached picture)! I move it up, save the project, close out VB, open it up again, it is again in the middle...

View Article

InvokeMember("click") for vb6 or click a button in webbrowser with an id of...

Greetings I'm trying to click the Log In button with the id of "login" using the web browser in vb6. The InvokeMember in this line of code:...

View Article


[RESOLVED] Changing text data in Combobox problem

In a game I am making I have a Combo box called cboColor which contains two items; "White" and "Black" and the .Text property is set to "White" which is the default color If the player is going to play...

View Article

Using the Shell function in VB 6.0 to read batch files in cmd.exe.

I'm sure this question has been posed before but I'm struggling to achieve the result I'm after. At present, I'm attempting to create an image file from the file contents of a floppy disk/diskette and...

View Article

how to create a windows service?

how to create a windows service?

View Article
Browsing all 21842 articles
Browse latest View live


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