-
Nov 20th, 1999, 06:12 PM
#1
Thread Starter
Fanatic Member
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
john@vb-world.net
-
Nov 21st, 1999, 05:14 AM
#2
Thread Starter
Fanatic Member
Yup, that's right.
------------------
John Percival
Editor, VB-World.net
john@vb-world.net
-
Nov 21st, 1999, 05:36 AM
#3
Member
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: craigkovatch@compuserve.com
ICQ#: 9872708
-
Nov 21st, 1999, 12:59 PM
#4
Member
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: craigkovatch@compuserve.com
ICQ#: 9872708
-
Nov 21st, 1999, 06:26 PM
#5
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: azzmodan@azzmodan.demon.nl
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
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
|