I’ve just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored (filed) so that the HTML file that is subsequently produced can use it? When registering the DLL file produced in a program such as VB 6.0 ActiveX DHTML using Regsvr32.exe, where do you register the DLL file? How can I register the file so that the HTML file can be used over the Internet, or within an intranet?
I’m making an assumption that you are referring to DHTML applications, a type of project that can be built using Visual Basic. If so, then you’ll want to use the Package and Deployment Wizard to create the package you need. Once you’re finished creating the DHTML app, and have compiled it, access the Package and Deployment wizard. When you run the wizard, give it the name of your project, and choose to create a CAB file for Internet download type of package. The wizard should pick up the files you need, but you may need to manually add the HTML files. These files aren’t packaged in the CAB file, but they are copied when the package is deployed. You’ll also need to digitally sign this file.
During the installation process, the runtime DLLs are installed and registered on the client’s machine. Check out the documentation that comes with Visual Basic 6.0 on using the Package and Deployment wizard and distributing the app for the details on using the Wizard, and packaging a DHTML application.