|
-
May 11th, 2001, 03:22 PM
#1
Object does not Source Automation Events
I have a DLL that contains a .cls module plus a Form. I want the Form to be able to pass click events back to the .cls module. When I try to define the form to the Class module like this:
private withevents m_oform as frmPreview
I get a error message that says -> Object does not Source automation Events.
I have a sample program that does exactly what I am tryng to do but I can not figure out how to get it to work. Can anyone help?
The typing assistant also does not recognize "frmPreview" although in the program that works it does.
John G
-
May 11th, 2001, 06:08 PM
#2
Re: Object does not Source Automation Events
Found my own problem. You need to define the Events in the Form before it is recognized as a Automation Object.
John G
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
|