Most voted "visual-basic-6" questions
Use for Visual Basic 6 or earlier versions. Do not use for VB.Net or other BASIC dialects.
Learn more…218 questions
Sort by count of
-
1
votes0
answers140
viewsLaunch PDF files in VB6
I have a directory on the server that is created according to the book and sheet, where when scanning images it is saved through the book and physical sheets. example: I have a book that I have…
-
1
votes1
answer73
viewsQuestions on Check VB6 functions for PHP
I need to pass some VB6 codes for PHP but I have a question of what this code does: Private Function SomarValor(v As String) As Double Dim x As Byte, resultado As Double For x = 1 To Len(v)…
-
1
votes1
answer145
viewsError Data Report Group Footer VB6
Opa! I need to add an extra field in a vb6 data report as in the image Connection to the database is done via ODBC Driver 5.1 with Mysql database. Use this SQL for report generation: SELECT *,…
-
1
votes1
answer372
viewsI need help with a Solidworks macro
Basically she has to open the drawing 2d of a selected mount file generate the PDF and close, got something, but only works with the path file, do not know which command to use for it to work with…
-
1
votes1
answer108
viewsUse VB6 app on a smartwatch
It is possible to create an application for the smartwatch in which the application is already done in Visual Basic and has the BDA in SQL Server? The goal is for the user to be able to see the data…
-
1
votes3
answers1236
viewsCalculate age by date of birth
I am trying to calculate the age in a form field through the date of birth, only that returns me the compilation error 13 type mismatch. Please someone help me? Here’s the CODE. Private Sub…
visual-basic-6asked 8 years, 1 month ago Moisés Ramos 33 -
1
votes0
answers169
viewsFalse positive on . exe from visual basic software
I’m new to the forum, so I’m sorry if I’m repeating a topic (I researched it actually and I couldn’t find anything that looked like the problem I’m having). Anyway, I’ll explain what’s going on: I…
-
1
votes0
answers237
viewsCode to receive file through POST
I’m making a webAPI to receive files via post. Customer will send via classic Vb with the following code: Set content = CreateObject("MSXML2.XMLHTTP.6.0") content.Open "POST", url, False…
-
1
votes1
answer28
viewsMy executable is still in an old version
I compile the VB project and when I open the folder to get the generated exe, it is still with old date, which in this case is 18/03/2017 and not 20/04/2017. Is there anything I should do? I compile…
-
1
votes1
answer351
viewsTo show the project’s open Forms in the VB6 IDE in tabs
How to show in the VB6 IDE on tabs, the project’s open Forms? In Delphi it already shows all, but in VB6 I don’t know, I’ve never seen VB6, it’s the first time. How to close open Forms? This in time…
-
1
votes1
answer116
viewsIs it possible to use MVC with VB and ASP?
Is there any framework or way to work with MVC in ASP + VB? Correct me if I’m wrong, but I’m thinking about working that way: View -> .ASP Controller -> .ASP.VB MODELO/DAO -> .VB…
-
1
votes1
answer1920
viewsHow to read web service XML on VB6?
I took several examples on the Web that gave right, but I need to get the values of this file that follows the link below.…
-
1
votes1
answer321
viewsMore performative way to work with Request in Classic ASP?
I’m working on a web page that uses Classic ASP and I got a question, store the value of a request in a variable improves performance when compared to staying using the request("value") throughout…
-
1
votes1
answer136
viewsMigration with Strange Characters?
The data is from a bank Firebird and even opening with official tools the characters do not come in the "format" br, for example: ÁGUA vem µGUA PÃO vem PÆO Find a website that provides a special…
-
1
votes1
answer901
viewsPrint Argox 0s214T label in vb6
I’d like to know how to send the command to printer Argox 0s214T to inform the type and size of the label using the USB port, because I put the commands via driver, more from the second label it…
visual-basic-6asked 7 years, 2 months ago jose edson 11 -
1
votes0
answers71
viewsMacro for Import in Access
I need help to create an import macro in Access, in case using Visualbasic, I need to download a zip file, inside this zip there is an excel spreadsheet, I need to extract it, copy all the data,…
-
1
votes1
answer41
viewsLooping in Rows of a VB table
I’m trying to make this loop between the Rows in the database work. I have a code ready in C# and I’m using it as a reference, but I can’t get this part to run. It was like this: For Each Row In…
-
1
votes0
answers139
viewsHow to pass VB6 parameters to Crystal 9
At first I want to leave note that it is not my Vb beach and crystal, also had enormous difficulties in identifying the versions of the programs used to give maintenance to this system. But it’s…
visual-basic-6asked 7 years, 5 months ago Gabriel Souza 11 -
1
votes0
answers60
viewsdownload a text separately a text found within a textbox
Picking a given text within another textbox or richtextbox does not matter when there is an incidence of detailed text, e.g.: "text": take out of double quotes when the next sentence is found and…
-
1
votes0
answers46
viewsWhere can I get a VB6 IDE?
Where can I find a VB6 IDE? I need an IDE that I can debug a legacy application in VB6. I cannot migrate to VB.NET, because it is an application that is running in the company.…
-
1
votes0
answers19
viewsHow to add program to Explorer Contextmenu correctly? - VB . NET
I managed to add my program to the Xplore menu successfully, but now I can’t get the information about whether the user started the program normally or from the explorer. I even found this code: Dim…
-
1
votes0
answers86
viewsRecurring errors generating a word file from fields of an excel spreadsheet (VBA)
Good afternoon, I never programmed in VBA but I found myself in a need where I am needing to generate a word document from some cells of a spreadsheet in excel, after searching several websites on…
-
1
votes0
answers88
viewsHow to serialize and deserialize JSON in VB?
I’m trying to serialize and deserialize JSON in VB, but I’m not getting the only thought code of deserializar is not working Imports System.Net Imports System.IO Imports…
visual-basic-6asked 5 years, 8 months ago Vitor Hugo França 11 -
1
votes1
answer55
viewsHow to get information from Excel cells using VB
I’m trying to get information from a column in Excel using VB. Let’s assume that I have 5 lines and only 2 of them are filled with some information and the other 3 are null. I need a code that takes…
-
1
votes0
answers8
viewsProblem with Messageboxtimeout on VB6
I’m calling the function Messageboxtimeout from user32.dll but when I use the type (iType = vbInformation) always returns vbok, IE, I can not know when timeout occurred. Follows the code: Public…
visual-basic-6asked 3 years, 10 months ago Nicolau Carboni 11 -
0
votes1
answer864
viewsPopular Grid VB6
I have a form that receives user information and would like to display them on a datagrid. I already have Datasource which is a Query that is assigned to a String variable called SQL. She returns…
visual-basic-6asked 10 years, 9 months ago Paulo Romeiro 432 -
0
votes1
answer246
viewsHow to change a list view from a Combo on VB6
I made a form with a ListView and a ComboBox, my problem is that according to what is selected in ComboBox I have to change the data from ListView. For example: I have the ListView LETTERS (which is…
-
0
votes0
answers69
viewsDisable the ESC key in windows with Visual Basic or Delphi
How to disable Esc on Windows via Visual Basic or Delphi? When the user is open program Esc is unusable, will not do action in any open program. Example: with the start menu open when I press Esc it…
-
0
votes1
answer1975
viewsCreate dynamic menu in VB6
What seemed to be simple and easy, became a nightmare... The idea of a dynamic menu is simple. Just create menus, items and sub-items according to the database. However, the tool available by the…
-
0
votes1
answer202
viewsCreate a subroutine in VB6
I am trying to create a subroutine capable of reading the entire alphabet from A to Z and storing/displaying the letters read in duplicate (AA, BB, CC, ...) in VB6 but it hasn’t worked out yet. My…
visual-basic-6asked 10 years, 6 months ago user7752 35 -
0
votes1
answer301
viewsSubroutines in the vb6
I have a form and added to it , a button and an image ,I wonder if it is possible to create a subroutine where by clicking the button the image moves from one side to the other? if it is possible as…
visual-basic-6asked 10 years, 6 months ago user7752 35 -
0
votes1
answer154
viewsConnect VB6 to Msaccess
I created a Msaccess Database and created a connection module. However, when the executable gives connection error. Someone has another example of how to connect VB6 to Msacess? The code to my…
-
0
votes2
answers1443
viewsMove images on VB6
Option Compare Database Private Sub Command0_Click() Do Until Me.Width < 4000 Let Image1.Left = Image1.Left - 5 DoEvents Loop End Sub Just like this allows you to move the image from the right…
-
0
votes0
answers32
viewsMove images vb6, Msaccess.vba
I added an image and a Button to a form, created this code: Option Compare Database Private Sub Command0_Click() Do Until Me.Width < 4000 Let Image1.Left = Image1.Left - 5 DoEvents Loop End Sub…
-
0
votes1
answer114
viewsConvert VB6 application to C# Webforms with Entity
I have an application in VB 6 and would like to migrate it to WebForms using preference c# with entity. I wonder if there is any tool that helps me in this conversion(migration).…
-
0
votes1
answer560
viewsWrite TXT formatted via VB6
I am trying to copy the structure of a GRID/ Table inside a text file, including copying the structure of the cells(Table). However, I cannot align the columns in the text file, although it has a…
-
0
votes1
answer53
viewsStoring Dataview values in a List
I am doing the maintenance in a discount system of a customer, the same was already ready but not functional, only applied the validation of the discount if there was a single item. What I need is…
-
0
votes1
answer107
viewsDoubt in Begintrans - Rollback - Committrans
Good Morning, I have some questions related to Transaction Control: Begintrans - Rollback - Committrans. Currently I was using in VB6 and questions arose: 1 - Transaction controls when performing a…
visual-basic-6asked 9 years, 9 months ago Ariel 345 -
0
votes1
answer46
viewsButtons, panels and other shapes in the CONSOLE
Well, these days there, I’m making a Console, very simple, and I was curious to see some apps made by super advanced third, with Menus, panels and even buttons! When you click on them, they give the…
-
0
votes2
answers56
viewsDistribute programs without losing the path/path at runtime
Good evening friends, I’m having a difficulty, my project is a button that when you click it opens an executable, I want to publish my project along with the program without losing the way when…
-
0
votes0
answers73
viewsProgram with memory consumption above 500MB because of many images
Hello! I looked for solutions to my problem here and elsewhere and nothing helped. Codes and more codes to reduce memory and nothing... I am a beginner in programming and do not notice my mistakes,…
-
0
votes1
answer55
viewsHow to publish a project with Database
Good afternoon! Today I finally finished my project and I have to create an executable. I am currently using Microsoft Visual Basic 2010 Express and in fact I can use everything normally after…
-
0
votes1
answer611
viewsHow do I see the largest number of a given set of numbers as well as their average?
I need to create the code for a user to enter an undetermined number of numbers and then see the largest number and average it. Each entry is made by clicking on button "confirm" (done in the design…
-
0
votes1
answer263
viewsGetting text within another text
I want to get a List(Of String) of text blocks, but there is a problem: { --isso é um bloco; echo "Aqui tem um } no meio";} and would like to get that way: --isso é um bloco; echo "Aqui tem um } no…
-
0
votes0
answers73
viewshow to access a 64-bit SQL
I have a software in vb6 32 bits, in a station of 32 bits accessing a database SQL 64 bits on a 64 server bits. How to create ODBC?…
-
0
votes1
answer108
viewsHow do you turn off all the sounds of a Webbrowser?
Is there a command to disable all sounds of a WebBrowser in Visual Basic 2008? I would like to let it mute so it doesn’t touch the sounds of Youtube videos.
-
0
votes1
answer31
viewsRegular expression does not detect first entity
That expression: (?<=.*"")\s is not detecting the first space it should detect: <object name="Arrow" id="40" price="$400" description="Uma flecha comum."> the correct would be to detect the…
-
0
votes2
answers102
viewsGenerate text from a combobox
I’m creating a program: I would like to know how to generate a code by selecting one of the combobox items. For example: I select the "Solved issue" item, in the textbox it would appear "Question…
visual-basic-6asked 9 years, 2 months ago Maradinho PH 131 -
0
votes1
answer251
viewsHow to pass listview items to text
I have a listview with some items and columns, I would like to know how to pass everything to a textbox, in text form same. Example: The table: ID NOME IDADE 0 Luis 47 1 Juca 69 Na Textbox: 0 Luis…
-
0
votes1
answer47
viewsConfirm if user has already registered VB
I am developing a Visual Basic application, where I insert the records into a sql server database, these records are shown in the form to the user in a datagridview, and I want to confirm whether…
visual-basic-6asked 8 years, 8 months ago Daniel Santos 1