-
The way to do this is using classes. Obviously you must be using a class for the WAMessage object.
You should create some more classes, one each for the menu, toolbar and DAPI. Then, in the WAMessage class's general declarations, put something like this:
Public DAPI As New clsDAPI
'etc...
------------------
John Percival
Editor, VB-World.net
[email protected]
-
Yup, that's right.
------------------
John Percival
Editor, VB-World.net
[email protected]
-
Tried it...split the code into the 3 classes, compiled it, and now it won't even let me insert it into my project. Moved the code back to the Control, killed the classes, recompiled, and it worked again. Any ideas?
------------------
(¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
Teenage Programmer
Visual Basic, HTML, C++, JavaScript
http://welcome.to/X12Tech
Email: [email protected]
ICQ#: 9872708
-
Actually, the WAMessage component is an ActiveX contol...so would I just add 3 classes into that?
------------------
(¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
Teenage Programmer
Visual Basic, HTML, C++, JavaScript
http://welcome.to/X12Tech
Email: [email protected]
ICQ#: 9872708
-
Use the Class Builder utillity and crate a collection with it.
It makes some pretty looking code witch is commented.
If it still doesn't work i could email a sample project.
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl