Questions tagged as 'visual-basic-6'

3
answers

how to close Word opened by VBA

For each Execution of the DeleteSel function, a "WINWORD" is opened in memory, even with the Close command and / or Quit it does not close. Sub DeleteSel(msg As Outlook.MailItem) Dim objDoc As Object Dim objBkm As Object Set objDoc = CreateOb...
asked by 24.01.2018 / 12:49
1
answer

Counter to insert blank line every 5 equal cells

Hello, I'm trying to make a macro for a button, which puts a blank line every 5 cells with equal content, however I'm quite lazy in the VB syntax and I'm not sure if the logic is correct either, example of what should happen: ADA ADA ADA ADA AD...
asked by 05.04.2018 / 21:16
2
answers

How to know the current status of the form?

I'm a beginner in the field, I could not find my question elsewhere. Is there a code that shows the state of the form? For example: if it is in focus, is it minimized or maximized? Thanks in advance!     
asked by 24.03.2015 / 16:14
1
answer

Separate all items from a string

I'm trying to make a save/load system, I'm stuck in the part of loading game cards, which are numbered for example: 1 , 2 , < strong> 3 . The string contains the card numbers among other information: Nome|1,2,3,4,5,6,7,8,9|5...
asked by 29.09.2017 / 19:36
2
answers

Error compiling project with VB 6. Switch to .Net

I'm not a developer in VB. I took a project for 5 days, through a consultancy, but it should be all in SQL Server . Well, it happens, that some screen change should be made. I opened VB 6 (Compiler) and selected the project.vbp and when lo...
asked by 18.04.2017 / 13:38
1
answer

Error opening MySQL connection via ADODB

I am trying to connect a VB application, Visual Studio 2017, using ADODB as connection, but it has several errors for different connection options. I have already checked the drivers for the ODBC data sources and there is the MySQL 64bit Driver...
asked by 02.06.2017 / 03:38
1
answer

Does an ordinary Class Library work in Silverlight?

A non-target class library can be used in .NET Silverlight ? The same, would it work in a Silverlight web application? Thanks!     
asked by 09.07.2016 / 00:52
3
answers

Generate text from form

HowcanIdothatbyfillinginthefields,theyappearinthetextboxbyreplacingthevalues"USER NAME", "WARNING TYPE" and "TOPIC LINK"? Private Sub bemvindo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bemvindo.Click E...
asked by 04.10.2015 / 16:13
1
answer

Open an executable file using VB or CMD

How to open a file of any extension, such as - Paçoca.legalcara in an executable like - algo.exe using CMD or VB ? Note: The path must be relative, which means that everyone is in the same folder     
asked by 26.06.2015 / 01:27
1
answer

Getting multiple values from a String

Is there any way to get the arguments as 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 the String.Split(" ") method and it w...
asked by 24.05.2015 / 00:55