Browsing articles tagged with " Visual Basic"
May
3

DLL Registration – Win32 vs .NET

By david  //  Technical Tips  //  Comments Off on DLL Registration – Win32 vs .NET

There are different methods for registering a Win32-based DLL, versus a .NET DLL. Win32 DLLs were typically created with legacy Visual Studio 6 C++, whereas .NET DLLs are created using Visual Studio 2005 or later.
To register a Win32 DLL, REGSVR32.exe is used. Format: REGSVR32 [dllname]

To register a .NET DLL, REGASM.exe is used. Format: REGASM [dllname]

The REGSVR32.exe tool is located in the library: C:WindowsSystem32
The REGASM.exe tool is located in the library: C:WindowsMicrosoft.NETFrameworkv2.0.50727 (or later versions of the .NET framework)

These Microsoft Links provide additional information regarding the registration tools:
REGASM.exe (Assembly Registration Tool)
https://msdn.microsoft.com/en-us/library/tzat5yw6%28v=vs.110%29.aspx

REGSVR32.exe
https://technet.microsoft.com/en-us/library/bb490985.aspx
https://support.microsoft.com/en-us/kb/249873/

To unregister DLLs:
REGSVR32 [dllname] /u
REGASM [dllname] /unregister

Dec
14

Installing VB6 and VS on the same Windows 7 Machine

By david  //  Technical Tips  //  Comments Off on Installing VB6 and VS on the same Windows 7 Machine

This is a list of steps to take if you want to install both a Visual Basic 6 IDE and Visual Studio on a Windows 7 machine. It worked well last year with the 32-bit version of Windows 7. I credit multiple sources with links at the end of the document. Unfortunately, I was not able to make this work with the 64-bit version of Windows 7.   PDF Article Here
There are differences between VB6 Service Pack 5 and VB6 Service Pack 6 – the file editing for sp698ent.stf was not needed, from what I recall.

Archives

Categories