Questions tagged as 'vb6'

2
answers

Is there a "Try-catch" in VB 6.1?

I'm playing a program made in VB6, I have to perform an execution control in case errors are generated in the following code: Dim shell As Object Dim RUTA As String RUTA = misGlobales.PathReports & "\SLG_Invocador.exe" Set shell = CreateOb...
asked by 28.03.2018 / 17:40
1
answer

Insert route with spaces in visual basic

I have this script in visual basic command = "powershell.exe -nologo -command D:\Google Drive\Share\Scripts\CopySaves.ps1 " set shell = CreateObject("WScript.Shell") shell.Run command,0 The problem is that I do not know how to make me tak...
asked by 10.02.2017 / 20:21
2
answers

Register ADO and VB 6.0 records

I'm working with VB 6.0 and Classic ADO, I'm trying to insert data but using parameters. Connection Public cn As ADODB.Connection Public rs As ADODB.Recordset Public Function Conectar() As Boolean 'TODO: Add 'Conectar' body here....
asked by 01.01.2017 / 01:09
1
answer

Avoid duplicating data when entering a new user

I have a database connection to access and visual% excel How can I make the code for the query that allows me to send a msgbox that tells me if the user is already registered? I know that recordset is occupied The...
asked by 22.04.2016 / 00:29
1
answer

.Net Dll with Web Service in VB6

I pose the following scenario. I have a DLL ( developed in .Net with fwrk 4 ) where one of its functions is to connect to a WebService (Service reference). I have some projects developed in .Net that consume this DLL. I have some pr...
asked by 16.12.2017 / 05:11
1
answer

C # InteropServices and Visual Basic 6.0 error reference error

I made a dll in C # for use with Visual Basic 6. When I create the reference in vb6 VB6 I get the following error:    Error 91: Object variable or With block variable not set I have tried it in several ways but it always gives me the same...
asked by 03.02.2018 / 18:34
2
answers

Client - Sql Server 2000 Server

my question is presented, in Sql Server 2000 and Vb6, what I want to do is access with my application to the PC-server from the PC-client to access the data of the database. How do I make that connection? Where do I start ?, Thank you very much...
asked by 18.11.2016 / 19:32
2
answers

Problems with registering a .tlb file

The situation is as follows: I have created a small class library project in C # that allows me to perform certain operations. The name of the created file is, for example, MyFirm.cs . But since I need the component generated from C # to...
asked by 24.08.2016 / 19:55
3
answers

Verify that there are no duplicates before doing INSERT

I am programming in Visual Basic with database in SQL Server, and I can not do that when inserting a new record in the database, do not let me do it if the following conditions are repeated: That the record does not have the same number Th...
asked by 24.07.2017 / 20:00
1
answer

How to write text with response

I'm working with classic Asp and I can not write with Response.Write I show the code. <%@ Language="javascript" %> <html> <body> <form> <h3>Hello world!!! This is an ASP page.</h3> <% Res...
asked by 03.06.2017 / 17:06