VB4 not only allows you to create OLE Automation servers, butto debug the server and the calling application simultaneously.If you want to create a remote OLE server, set the Instancingproperty of the class modules to Creatable SingleUse. This willmake debugging more interesting.
Each time you call that class, the calling application will tryto create another instance (process) of that server. The serveris running in design mode, and VB will not start another copyof itself and load the server app again. The solution is to temporarilyset the instancing of the class modules to Creatable MultiUsefor testing purposes. Don’t forget to set the instancing backto SingleUse before compiling the OLE server.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























