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
-
12
votes1
answer12831
viewsWhat are the main differences between VB.NET, VB6 and VBA?
What are the main differences between VB.NET, VB6 and VBA?
-
7
votes1
answer970
viewsNfe shipment to MG in Versao 3.10
To send XML from an Nfe to MG in version 2.0 I do as follows: Public Function enviaNFe2(ByVal NumeroDoLote As Integer, ByVal ListiView As ListView, ByVal Label As ToolStripStatusLabel) As Boolean…
-
6
votes1
answer183
viewsCreating Properties, Summary and Custom Colors for Methods and Types
Is there a way or attribute that puts in a Class, Method, Structure or anything else that changes its color? Example of the function CType: Notice that she is colorful, and her arguments instead of…
-
6
votes3
answers5277
viewsWhat does "Dim" mean in Basic?
Okay, most programmers (I think most of them) of Basic (popular; Visual Basic compiler) know what the use of Dim, but I also think you don’t know what that word means... Basic Keywords are so…
-
5
votes1
answer831
viewsAbout the difference between Visual Basic and Basic
I was told that: Visual Basic is the compiler... ...and Basic is the language After all, in visual studio, I am editing the Basic or Visual Basic language?…
visual-basic-6asked 9 years, 6 months ago CypherPotato 9,292 -
5
votes1
answer723
viewsHow to get an image of a Resource
I want to call an image with a button by Visual Basic 2010 Express, in the Visual Basic 2008, used that code: picMyimage.image = My.resource.onomedaimagen Until then it worked as wanted, but in…
visual-basic-6asked 8 years, 10 months ago Bruno Felix 67 -
5
votes2
answers728
viewsFind equal ranges in a list
I am a beginner and I tried almost everything but I could not solve the issue and I wonder if someone could help me. In a column I have numeric values and I would like to compare the intervals of…
-
5
votes1
answer386
viewsHelp with 16bit Hexadecimal RGB colors
So I’m creating an editor of a PS2 football game in C#. And the game’s "color system" is RGB, and by then it was all going very well, because I was coming across "normal" Hex codes in the game like…
-
4
votes2
answers501
viewsOpen an executable file using VB or CMD
How to open a file from any extension, such as - Paçoca.legalcara an executable like - algo.exe using CMD or VB? Note: The path must be relative, which means that all are in the same folder…
-
4
votes1
answer50
viewsReturn list through a specific date
Following a project I’m developing, a situation occurred to me where I can’t solve. The purpose of this question is to know how to obtain on a given day the number of requests that a school library…
visual-basic-6asked 9 years, 5 months ago Forrobodo 85 -
4
votes1
answer1060
viewsHTTP 500 error using Httpwebrequest
I come here to ask for help regarding Httpwebrequest requests. I need to get the return html of an HTTP 500 (HTTP/1.1 500 Internal Server Error) error. Could someone tell me how it could be done?…
-
4
votes1
answer3189
viewsHow to change the blinking cursor from "|" to "_" in a textbox
I’d like to know how to use the character _ to write, like when you press the key Insert in some text editors (Notepad++) and the text is written with the _ in front of the letters. More basically,…
-
4
votes1
answer202
viewsAs per comments on user defined function in Excel/VB
I would like to know how to by that help in user-defined functions in Excel. Not how you create the user-defined function, and yes as it adds instructions as user must manipulate it.…
-
4
votes1
answer196
viewsVB6 always executes the 2nd function even though the 1st is False
The if in VB6 always executes the 2nd function even validating that the 1st is False, C# does not execute the second function in case the first one is already false. How can I get the vb6 to perform…
-
4
votes1
answer289
viewsChr$ equivalent function in C#
I’m migrating a chunk of code in Visual Basic 6 and came across the following call: variavel = Chr$(27) & Chr(15) 1 - What would be the equivalent functions in C#? 2 - What is the difference…
-
3
votes2
answers1406
viewsChange registry key values Windows
It is possible to build an application which it searches for a key in the Windows registry with an exact name and when finding change its value by a user-defined value? If possible what is the best…
-
3
votes1
answer1146
viewsHow to catch the next month and the year in classic ASP?
For example: we are in March 2015. I can catch the next month of the current year using month()+1 concatenating with year(), that is, the month of April 2015. However, let’s say we were in December…
-
3
votes1
answer597
viewsconvert a string to Vb.net - Convert.toDouble
I’m trying to convert a string in double Vb.net: Dim result as double Dim ValueString as string = "-42.1942339" result = Convert.ToDouble(ValueString) Console.WriteLine(result) I’m getting the…
-
3
votes1
answer174
viewsChange color of a Row when VB expires . Net
I have a database with the following tables: Data Emissão and Data Expira. So I want that when the date of Data expira is equal to or greater than Data Emissao, to row change color to Vermelho and…
-
3
votes2
answers6412
viewsComments of multiple lines in Visual Basic
It’s like I put multiple-line comments in Visual Basic?
-
3
votes3
answers3527
viewsSwap characters inside a string, in a string
Simple question: I just want to replace the characters A inside the field " " and not what is out for a B, example: aaaaaaaaaa"aaaa"aaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
-
3
votes0
answers138
viewsBug Intellisense VB6 (Visual Basic 6) when referencing DLL C#
I have a DLL in C# which is used in applications VB6, but whenever it DLL is referred to in the intellisense gets bored. See below the difference in first image without reference to DLL…
-
3
votes1
answer1405
viewsRunning text as code in VBA
The code below calculates the formula contained in the variable Text (String): Private Sub CalculeFormulaNoTexto() Dim Texto As String Texto = "= 90 / 3 + 7 + COS(0) + 1/7" ' A variável Texto recebe…
-
3
votes2
answers176
viewsWebclient downloads a wrong string
I’m trying to create a virtual intelligence system, and hosted the language files on my FTP. These files are from a language I made myself, called SVDB, and hosted on FTP, and when I download in the…
-
3
votes1
answer92
viewsChange of environment
I’m moving from environment, from VB.NET to Java (Netbeans), but I’m still not sure if some of the possibilities of . NET can be performed in Java with Netbeans. My first doubt materializes in the…
-
3
votes1
answer209
viewsIs there any way to convert a text into an image without using pictureBox in vb6?
Introducing I have a DLL in VB6 that is generating an array of javascript commands that will be executed on an Asp page to generate a PDF dynamically. So far, so good! In this PDF I need to generate…
-
2
votes1
answer277
viewsError in runtime VB6
I have a DLL that was created in . NET and I need it to run as COM+. code in . NET: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace thiago.dll.NET {…
-
2
votes2
answers1303
viewsHow to do a ZIP search in VB
How do I collect address data(Street, City, Neighborhood, Street) of a site, referring to the entry zip code using VB? I have a similar code on C# I see two alternatives: Translate the code to VB…
-
2
votes2
answers502
viewsHow to make a Textbox field only receive integer values on VB6?
It has how to make a field of one textbox only receive integer values?
visual-basic-6asked 10 years, 7 months ago user7912 35 -
2
votes2
answers1232
viewsImport Itaucripto DLL into VB
Hello, I’m implementing the second way of boleto Itaú, but I’m trying to work with ASP.NET VB and I don’t have much knowledge in this language. I did everything right and is working locally, but…
-
2
votes1
answer170
viewsKnow the number of characters from the size of the vb6 listview column
I have an api in vb6 responsible for generating reports from components of type listview. Turns out, the report is composed of a table with several columns that are mirrored in Listview. The measure…
-
2
votes1
answer196
viewsConverting a. NET algorithm to JS
Fellas, I’m having a little problem converting an algorithm. In the algorithm in .net i have the following conditional structure: if (')' == caracter){ String item = pilha.Pop().ToString(); while…
-
2
votes2
answers949
viewsHow to know the current state of the form?
I am beginner in the area, I could not find my question elsewhere. Is there any code, which shows the state of the form? For example: if it is in focus, if it is minimized or maximized? Thanks in…
-
2
votes2
answers2810
viewsHow to call a javascript function from an external file?
I’m having trouble validating a field by clicking the button incluir, so I click on incluir gives this error below: Cannot get value from 'value' property: the object is null or undefined. This…
-
2
votes1
answer792
viewsTransitions, Effects for Winforms . NET
How to get the fade-in and out effects, transitions, drives and etc, in forms and their controls in VB.NET, natively or using Frameworks?
-
2
votes2
answers65
viewsGet two snippets of a confusing string
*It’s very simple my question: How do I get the string Argumento1 and the string Argumento2, separated into two variables in this code of a language that I’m doing: if Argumento1 = Argumento2 (…
-
2
votes2
answers1202
viewsInstantiate dll created in C# . net for VB6
I have a dll that I want to consume, developed in c#, and I want to upload this dll to VB6. How can I do this? What steps should I follow? Inside the VB6 code below you already have a call to this…
-
2
votes1
answer444
viewsDisable Scrollbar from a Form MDI Container
Does anyone know how to stop Child Forms from moving beyond the screen and displaying a scrollbar? I wish there was a limit to moving the Child Forms... that they only move up to the screen size and…
-
2
votes1
answer1164
viewsReading XML with Equal Tag (Nodes)
how can I read an XML file via Vbscript where the file has 2 main tags (Nodes) equal as the example below: XML file: <?xml version="1.0" encoding="utf-8"?> <!-- Primeiro details -->…
-
2
votes1
answer51
viewsGetting multiple values from a String
Is there any way to get the arguments like in the example below, in a separate variable? I’m creating a language, and this is an example block: for 0 to 250 step 50 ^^^ ^ ^^ ^^^ ^^^^ ^^ Then I used…
-
2
votes1
answer153
viewsGUI Applications - Speeding up! How?
Hello, everybody! My mission is to give agility and fluidity to a software... leave it without those constant locks in each For... For this I created a problem and would like to know if someone can…
-
2
votes2
answers155
viewsDifferences between arrays declarations
What’s the difference between declaring a matrix like this: 'C# string MinhaMatriz[] = [] 'VB Dim MinhaMatriz() As String = { } and so: 'C# string[] MinhaMatriz = [] 'VB Dim MinhaMatriz As String()…
-
2
votes1
answer34
viewsInsert objects into an Array without copying them
Is there any way I can put the items in one Array without multiplying them? I am trying the following. I want to add the list items MethodList on the list toAdd, but without repeating what is on the…
-
2
votes2
answers602
viewsCombobox and database connection
Good afternoon! I’m having some difficulty submitting the combobox data in listview due to an error that appears and I can not solve. The mistake you make is this This here is the code where the…
-
2
votes1
answer121
viewsPublish Visual basic error
Good evening friends. I am having a hard time compiling my project. It presents this error. What can be?
-
2
votes3
answers1130
viewsWebbrowser - Click on elements of a website
Hello, everybody! Here’s the thing, I need to make my program click on an element. Here’s a photo to make it easier to understand: http://i.imgur.com/Uitnkvt.png I’ve tried a lot of things, but…
-
2
votes3
answers244
viewsGenerate text from form
How can I make sure that when filling in the fields, they appear in the textbox by replacing the values "USER NAME", "WARNING TYPE" and "TOPIC LINK"? Private Sub bemvindo_Click(ByVal sender As…
-
2
votes1
answer54
viewsVisual Basic 2013 - Form cannot access/modify data from a Module
My problem is this. I have this module that contains a variable of the integer type and this variable is accessed by a form that changes its value, as shown in the code below. Module Module1 Public…
-
2
votes1
answer1137
viewsMicrosoft Vbscript Runtime error '800a01a8' Object required: '[Undefined]'
I have a routine q was working normally in IE 8, when updated to IE 11 it presents me the following message: Microsoft Vbscript Runtime error '800a01a8' Object required: '[Undefined]' Microsoft…
-
2
votes1
answer1247
viewsSyntax error in VBA
I need help to resolve a syntax error in Visual basic of Excel, the command is as follows: Application.ScreenUpdating = False Dim wsh As Worksheet Set wsh = Excel.ActiveSheet Dim data As String Dim…