Browsing articles tagged with " VB6"
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

Jan
31

Retaining HTML formatting in Dynamic Outlook Emails

By david  //  Technical Tips  //  Comments Off on Retaining HTML formatting in Dynamic Outlook Emails

One of the challenges when dynamically modifying emails created from Outlook templates, is retaining the original html formatting of the template itself.
This article discusses how to retain the original html formatting of the template, when additional text is added. The example code uses Visual Basic 6, but the concepts are applicable to other languages accessing Microsoft Outlook through the COM environment.
PDF Article Here

Dec
16

CHM Challenges with Windows 7

By david  //  Technical Tips  //  Comments Off on CHM Challenges with Windows 7

Microsoft has undergone several phases of security updates on Windows 7, that make it impossible to open a custom .chm file through the Windows Shell, using hh.exe with a passed filename parameter.  This forces the developer to use the ActiveX object version of html help, hhctrl.ocx.
PDF Article Here

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