|
-
Jan 27th, 2000, 03:10 AM
#1
Thread Starter
Junior Member
I have a need to have a client application use a COM object that will input a record into a database by setting properties on the out-of-process ActiveX EXE and then calling a .Save method on it. Everything works but I would like to allow the client application (standard EXE) go about its business while the COM object executes the .Save method. I have added a public Event to the COM object and the RaiseEvent directive and all of that works - HOWEVER... When I call the .Save method, the client is still blocked until the execution of the .Save method is complete (and then it worthlessly raises the event I have programmed in the client app).
I figure I can do it a hoky way by putting a timer into the COM object that checks to see if a .SaveStatus property equals true every second but that seems like a ridiculous workaround for just creating a non-blocking method call.
Any ideas?
Thanks much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|