How to Run Dot .NET in VB6
The Dot.NET framework is a software framework run on Microsoft Windows operating systems. VB6 applications can reference dynamic link libraries created by the Dot.NET framework through the component object model (.COM). VB6 can retrieve the .COM object as it is a wrapper over Dot.NET.dll files. Once the .COM is accessed, you can run Dot.NET within VB6 without having upgrade your VB6 code.
Instructions
-
-
1
Click "Start," "All Programs" and double- click "Visual Basic 6.0." You will see the "New Project" dialogue box open. Click "Standard EXE" and click "Open." This will open a new standard VB6 project and create a new form titled "Form1."
-
2
Click the "Project" menu and click "Project," "References." Place a check mark next to the COM.dll file you want to retrieve from Dot.NET.
-
-
3
Create an object in the code for the load onto your "Form1" form by typing the following to reference to COM.dll file:
Dim oNewCOM as DotNetApp.COMFile
Set oNewCOM = New DotNetApp.COMFile
This will retrieve the COM.dll file and run Dot.NET in VB6.
-
1