Questions tagged as 'vb6'

1
answer

Return a combo box to initial state VB6

Return a combo box to the initial state (empty) being in style 2 - dropdown list, I have a combo box with the marks of some cars, and I have it in style 2-dropdown list, so that the user can not write anything , just choose, but then I have a cl...
asked by 10.07.2018 / 01:23
1
answer

My RecordSet always returns -1 in its RecordCount property

The select is done correctly, because when controlling the Fields property it shows me the names of the fields in the debugging. This is my code: Dim RS_Personas As Object Set RS_Personas = New ADODB.Recordset Dim Consulta_SQL As String If N...
asked by 01.08.2017 / 14:43
1
answer

Run Replace command in VisualBasics to replace a formula

I'm trying to create a macro and I have problems trying to use the Replace command when it affects a formula in VisualBasics. My situation is this: In column L I have calculations of slope of different ranges: =PENDIENTE(G33:G6...
asked by 26.04.2017 / 10:19
1
answer

Connect Mysql with vb6

I'm trying to connect vb6 with MySql but it gives me an error I show connection code Option Explicit Public cn As ADODB.Connection Public rs As ADODB.Recordset Public Sub Conectar() Set cn = New ADODB.Connection Set rs = New ADODB....
asked by 07.05.2017 / 23:55
1
answer

change image by row in listview vb6

I am modifying an application of my work. It is made in VB6, the idea is that I get an OK or an error by means of a winsock, and I must dump that state to a row in a listview. I have achieved almost that it works, when I receive, I look in th...
asked by 10.02.2017 / 21:38
1
answer

Problem registering dll using regsvr32

Transfondo: I am generating a project of type DLL Active X using Visual Basic 6 on a computer with Windows 10 64-bit operating system. For this, I had to download Microsoft Visual Basic 6.0 . This project generates a DLL which va...
asked by 11.07.2016 / 22:16
1
answer

Use .NET component in COM + application

In my company there is a asp application that interacts with COM + components made in Visual Basic 6 and one of those COM + components interacts with a component made with .NET C #, for which the type library had to be created ( tl...
asked by 24.02.2016 / 23:07
0
answers

Assign random values in a specific rage [closed]

I have declared 15 variables (from "A" to "P"), I need to randomly assign values from 1 to 15. In what way could it be achieved?     
asked by 22.12.2018 / 02:22
1
answer

vbscript problems in production

Good day, I have a serious problem, I am reviewing a page made in classic asp and vb which has included VBSCRIPT, the same stopped working suddenly and I have looked for how to fix it and does not want to work, the error it gives is    Server...
asked by 12.04.2018 / 15:55
0
answers

Error in VB6 with SOAP and HTTPS web service

Please, your support in this matter. I have a client app in VB6, Soap Toolkit 3.0 and a .Net 4.0 web service implemented with HTTPS. Private oWS As SoapClient30 Set oWS = New SoapClient30 oWS.MSSoapInit2 "https://serv01/ws_my/wsservice.asmx?...
asked by 21.03.2018 / 01:05