|
-
July 17th, 2007, 03:54 PM
#1
ActiveX unexpected behaviour
I'm surrprissed about ActiveX Form scope.
I have two basically the same projects.
1. MyAppA is an ActiveX exe server.
2. MyApp is Standard exe, a client program.
I have added a public class to MyAppA, class CMyAppA.
I have started both projects in debug mode.
Client MyApp creates a New obj As CMyAppA.
ActiveX CMyAppA creates a MdiForm1 - surprisse - debugger switches to my client application, and creates a MdiForm1 in MyApp!
Note, since both projects are almost the same, both projects have MdiForm1.
But, I have created an ActiveX object CMyAppA with an idea to isolate data.
When I create a New object of a class CMyAppA, I have expected, it will create it's own MdiForm1.
Could somebody explain what is happening?
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
|