Hello,
i`m working on the legacy project in VB6 with huge object all with public variables.
I want to convert these public variables to private variable/property combinations.
Is there some tools with which i can do these conversion?(optimally all variables in class at once)
Thanks
...
Hi,
Does anyone know of an open source library in Visual Basic 6 that converts pages in a TIF file from lets say LZW to Group4 format?
Thanks.
...
how can one create a password on a visual basic access database when you have a vb datagrid
...
I am attempting to compress a string via use of zlib (I've tried this code with current 1.2.3 version of zlib and with zlib 1.1.3). My code works correctly, unless run on a Japanese machine. After compressing a file, I am encrypting it. The decryption is successful, but the call to uncompress returns -3 (Z_DATA_ERROR, meaning the inpu...
I have a COM object (VB6 ActiveX exe) that returns a stdole.StdPicture through interop. Is there a way to convert that to a System.Drawing.Icon? Or is there a better return type for my COM object to return?
What I'm trying to do is have my C# code use an icon from my VB6 code.
...
Help please in using OpenSSL in uor winsock connection using vb6. I have downloaded the OpenSSL and installed it but I have no idea how to use it in our application. Source codes will be much appreciated. Thanks.
...
I have an old VB 6 Application. I now want to access a Web service/web method in it, I am using MSSOAPLib30 DLL for the interaction.
Everything is fine with the simple types like int string.
But I am unable to send Complex types like Class and Structs.
Anybody have any suggestions?
...
I am using the MSOUTL.OLB library to send mails.
The code used is the following:
Public Sub SendErrorLogToMailRecipients()
Dim errorReportText As String
Dim fso As FileSystemObject
Set fso = New FileSystemObject
Dim txtStrm As TextStream
Set txtStrm = fso.OpenTextFile(frmMain.LogFileLocationFromRBT, ForReading, False, TristateTru...
How might one retrieve the last element of a string array in visual basic 6?
I'm dealing with filenames with multiple dots which are split into an array, and I want to manipulate only the extension. The following code works, but has a hardcoded element I want to remove.
Private Sub Form_Load()
Dim aPath() As String
Dim FileName...
I want to open a file on my VB6 application by pressing a command. The file is a filetype read by another program. I want it to open it and the program that reads the filetype should open as well because when it finds that filetype it opens automatically. Can anyone help me with this I'm kind of a newb at VB6 (just got it yesterday).
...
In a VB form, I am placing controls(image controls), like a banner image, a logo in an image, and a an image list for an animated circle to representing processing.
When I position these controls at 96 dpi, they are perfect. But once the dpi setting is changed to 120dpi, the controls get resized and repositioned.
How do have the same p...
I have this line in the declarations section:
Private filePath As String
And somthing like this below:
Public Sub Print(filePath As String)
...
End Sub
In the ... part, I want to assign the parameter filePath to the module-level filePath. But how can I get access to the latter one? Thanks a lot.
...
In VB6 it is possible to prepand array identifiers with an empty array index. For example:
Dim x(0 To 20) As Integer
x(0) = 1
Debug.Print x(0)
Debug.Print x()(0)
The debug statements appear to the same thing, even though an empty index is given to the array before the index in the last statement. Does anyone know what this is and why ...
Visual Basic has default properties that are sometimes implicitly called when evaluating an expression. However, I seem to of come across a discrepancy with this implicit execution of default properties. The project layout looks like:
Class1:
property test -> class2 (default)
Class2:
property test -> string "hello world" (default)
...
I am developing software using VB6 and Crystal Reports 8.5.
When debugging I have found that it takes a long time for the compiler to create a new Crystal Reports object.
Here is the code:
Private mobjReport As rptProject
Private Sub Form_Load()
Set mobjReport = New rptProject ''takes long time do to
mobjReport.txtSerial = ...
How to use sql compact database from a non .NET program?
For example I want to access from VB6
I want to use a database populated by C# in sql compact.
I don't access c# program source to change it's database
...
Using VB 6 and Access 2003
I want to copy a table from one database to other database.
Database1
Table1
Table2
Database2
Table3
Above, I want to copy the Table3 to Database-1
Expected Output
Table1
Table2
Table3
How to write a code?
Need VB6 Code Help.
...
Hello Everyone,
Hope you all are fine and also in one of your best of moods!!
I am Working as an iPhone Developer, I have to develope an application which is already developed in VB 6.0, I have given individual forms of application, and I called to get Ideas and Requirements by Compiling that VB Application.
Please have a look at iss...
I have this somewhat unusual process structure:
Launch4J starts my Java application. It creates a mutex to provide single-instance functionality.
The Java application starts a VB6 application.
When the Java application terminates, the VB6 application is still running. (Desired behaviour)
The problem is: The mutex created by Launch4J ...
I have a large project where we have 2-3 dll projects that are converted from VB6 to VB.NET. We have fixed all the issues that caused compilation errors, and most of obvious issues in running, so now we have basically a program up and running. The exe is created from scratch in VB.NET, using a lot of functionality from the converted dll'...