Questions tagged as 'visual-basic-6'

1
answer

Reading XML with Equal Tag (Nodes)

How can I read an XML file via VBScript where the file has 2 main Nodes as the following example: XML file: <?xml version="1.0" encoding="utf-8"?> <!-- Primeiro details --> <details> <title>aaaaaaaaa</title>...
asked by 20.05.2015 / 17:22
1
answer

Is it possible to use MVC with VB and ASP?

Is there a framework or way to work with MVC in ASP + VB? Correct me if I'm wrong, but I'm thinking of working this way: View -> .ASP Controller -> .ASP.VB MODELO/DAO -> .VB     
asked by 21.08.2017 / 19:07
2
answers

Return File Name in VBS

Is it possible to return the name of a file / program through a VBS script? Type as you drag and drop into the script or open with ... the script, it returns the name.     
asked by 14.09.2017 / 15:09
1
answer

Questions to convoke VB6 functions for PHP

I need to pass some VB6 code to PHP, but I have a question about 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) resultado = resultado + CDbl(Mid(v, x, 1)) Next Som...
asked by 16.06.2016 / 19:27
1
answer

Software with cost. Help? [closed]

Hello, everyone! Well, my situation is this: I have a program and I want to charge for the use, but I realized that if I left free there would be more customers. So I thought of limiting the system and charging a monthly fee for what the user...
asked by 28.05.2015 / 23:33
1
answer

Consume DLL C in VB6 or C #

I have a DLL (gbasmsb_library.dll) made available by Popular Pharmacy responsible for returning some functions to interact with this environment. Home I think it's a DLL written in C, I need to consume this DLL in VB6 or C # . In the progr...
asked by 12.02.2015 / 17:20
2
answers

Change color of several Panel's dynamically

I have the following code in the button action: pnl1.BackColor = Color.DarkOrange pnl2.BackColor = Color.DarkOrange pnl3.BackColor = Color.DarkOrange pnl4.BackColor = Color.DarkOrange pnl5.BackColor = Color.DarkOrange pnl6.BackColor = Co...
asked by 10.03.2015 / 04:33
1
answer

Static Interface Method

I have a class to encrypt data. But it will be used as a DLL, and for this I need to create an interface to show the methods (I tested without the interface and it did not work). However, it contains 2 static methods, and I'm getting an error fo...
asked by 19.01.2015 / 16:16
1
answer

Sorting a ListView alphabetically in vb 6

I have two lists A and B, the list A data is exported from the DB, these already have ordered alphabetically to the list. From this list I add data in the other list (list B), the data that is inserted in list B, are sorted according to the inse...
asked by 22.05.2014 / 13:31
1
answer

Read JPEG image, convert it to PDF and save to disk - Visual Basic 6

I'll create a button, which when I click it, it reads a JPEG image and can convert it to PDF and save to disk. I would like a hint in source code so I can start this project. Thank you very much.     
asked by 13.03.2015 / 20:58