Questions tagged as 'visual-basic-6'

1
answer

Send information to an RFC in SAP with tables and type structure

I am doing an integration of a system in VB6 with SAP, taking in the RFC 2 tables and 2 structures. According to the consultant ABAP in one of the tables does not arrive the information, but I am doing and sending the same way. Here is the code...
asked by 16.03.2017 / 19:23
0
answers

Change data and label fields in a report Crystal Report

I have a report and need to change the layout, that is, remove a label and a data and change another label and another data. I have move, but it does not work. See the image and even the crystal version. I need to remove: Data Ultimo Pe...
asked by 12.04.2017 / 20:20
0
answers

Adding records to MSFlexGrid via textbox in VBA

How can I add records to MSFlexGrid via a textbox in VBA? I found a way to do this ( link ) but for vb6, using screen.twipsperpixelx that does not exist in vba ... Anyone with a solution? Many thanks.     
asked by 23.02.2017 / 01:04
1
answer

Calculate age by date of birth

I am trying to calculate the age in a field of a form through the date of birth, but it returns me the compilation error 13 type mismatch . Please someone help me? Here is the CODE. Private Sub CmbCalcular_Click() Dim datanasc As Da...
asked by 20.10.2016 / 15:20
0
answers

How to connect Socket with Websocket?

Maybe the title is a bit silly, but I will explain, I have a Socket Server that I made in VB and I also have a Client Socket made in Javascript for web, only problem is that the Client (Web) understands that the established connection is the ser...
asked by 27.09.2016 / 23:23
1
answer

VB - SETFOCUS - Focus on textbox after failed validation

Hello I'm trying to use the SetFocus function but when I do debug it gives error. So, depending on the validation of if and else in certain cases a msgbox appears that alerts the error and the user when closing it, I wanted to automatically sele...
asked by 24.08.2016 / 12:20
1
answer

Visual Basic 6.0

Hello, I'm new to this language. I am creating a student enrollment form with SQL Server 2008 and .ADO connection. When inserting and saving the registration data, the register button inserted two repeated lines. Here is the code for the sign...
asked by 16.08.2016 / 15:26
1
answer

DataReport Landscape VB6

I'm using vb6's DataReport with landscape mode orientation, like this: RptFPagamentoDetalhe.Orientation = rptOrientLandscape RptFPagamentoDetalhe.Show vbModal It works normally on the development pc, with vb6 and service pack 6 installed, b...
asked by 31.05.2016 / 18:04
1
answer

How to insert and execute parameters in a procedure in oracle 11g in vb6

PROCEDURE pr_consulta_rg_site ( p_rg_cidadao in varchar2, p_dt_nascimento in varchar2, p_rg_cidadao_o out varchar2, p_no_cidadao_o out varchar2, p_dt_nascimento_o out varchar2, p_dt_expedicao_o out varchar2, p_texto_o out varchar2 ) as...
asked by 30.05.2016 / 16:20
1
answer

Vb.Net - Total record in descending order

IcreatedaprojectinVB.NETinitwhenqueryingthecodeshowsmethetotalregistrythatthecalledonehas,howeverIneedittobeindescendingordersincewhensearchingmyformalwayscarriesthelastrecord.FollowtheCode-PrivateSubCarregaTabela()'-----PegaaQtddoregistrodeumc...
asked by 17.03.2016 / 14:48