![]() Set lc3 = CreateObject("WClass.WrapperClass") Set lc2 = CreateObject("WClass.WrapperClass") Set lc1 = CreateObject("WClass.WrapperClass") This is a simple forms app: Option Explicit ' Set MYF87 = CreateObject("TClass.TargetClass")Īnd finally the UI to instantiate WClass. Private WithEvents MYF87 As TClass.TargetClass Next a wrapper class to instantiate TClass and handle the call-back events (Progress), call it WClass (AxtiveX DLL, Instancing = MultiUse, Apartment Threaded): Option Explicit Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) TClass.exe (ActiveX EXE, Instancing = SingleUse, Threading Model = Thread per Object) Option Explicit This ActiveX EXE raises events to report back its current progress as thus: First, an ActiveX EXE that simulates the download process called TClass. I have developed a test application that, I think mirrors what I need to do. ![]() In VB6 (due to client requirements), I need to be able to execute multiple instances of an ActiveX EXE that I wrote to download files to multiple units via RS232. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |