Questions tagged as 'visual-basic-6'

1
answer

Vb6 TabStrip - How to view TAB controls out of scope

Greetings to all. My area is C, but I need to maintain a product implemented in Visual Basic 6. This product is a configurator of software in c, its function is just to generate an .ini file for configuration of the main executable. I need...
asked by 05.11.2018 / 17:58
1
answer

Filter by period in vb

I created a filter per period in vb with the following code: Public Sub filtrar() Dim dtinicio As DateTime Dim dtfim As DateTime Dim tabela As New DataTable Dim strsql As String dtinicio = dtpInicio.Val...
asked by 22.10.2018 / 09:24
1
answer

Error inserting data into recordset with provider oraOLEDB

Good afternoon guys. I have a problem with several applications here in the company that are in VB6 . When I try to include a record in a recordset an error occurs (it is described in the code), however it only happens when I use provi...
asked by 19.09.2018 / 22:29
1
answer

Add and display time greater than 24 hours in Access 2007 VBA

I'm using Access 2007 to develop a garage control form, which provides travel information made by drivers. I need to calculate the total amount of time for each trip, and this period can be longer than 24 hours. I was able to calculate without p...
asked by 20.09.2018 / 13:48
1
answer

Display a formatted text box for filling

Good morning Sirs, I searched the entire internet but I do not think I was able to express myself so I ask you ... I have a VB command to change the ip of win7 but I would like the command to ask what ip I would like to put following command ......
asked by 19.09.2018 / 19:25
2
answers

How do I copy the value of the expecific textbox of the Open UserFom?

It has an easier way than typing x = UserForm1.textbox2.value ? This statement means: Copy the value of the UserForm1 text box1 . I wanted to replace the "UserForm1" statement with something that means "Open UserForm." that is:...
asked by 31.08.2018 / 17:16
1
answer

How do I open a UserForm with the same name as a button? VBA language

My program consists of 20 buttons and 20 UserForms. I wanted to simplify the program and make a unique Sub Routine. Each time I press a button, the CheckBoxPreview routine analyzes the button name and opens the UserForm with the same button n...
asked by 29.08.2018 / 14:06
0
answers

Error in VB6 application using the provider oraOLEDB.oracle

Good morning. In the company where we work we have several applications in VB6 and after 2 clients upgrade to Oracle 12.2 that uses the oraOLEDB.oracle provider instead of MSDAORA the applications started to present several errors. Example...
asked by 23.08.2018 / 16:58
0
answers

Execute and control an application

I used VB code for, Run and Activate an Application Access (user, pass) Activate the desired item in the menu Send commands to register, filter, query, or print data Menu items are activated with the mouse, without Short Key
asked by 19.06.2018 / 04:03
0
answers

Error in the TASKKILL command

I would like to close a program when it fails on my system, for this I am using: TASKKILL /F /IM executavel.exe /T I used to develop a machine with W7 and it worked, but the one of the client uses W10 and does not close, any tips of what ca...
asked by 18.05.2018 / 15:53