|
-
May 17th, 2001, 12:46 PM
#1
VB Object
Hi All,
I’m a new VB person, and kind of confused. I’m working on this VC app that it needs a VB object. This object should have a method called ShowDlg(). When my app calls this method it’ll shows a non-modal dialogbox. When a user clicks on a button on this dialogbox it should fire an event back to the app.
Now, can this object being develop in VB?
If yes,
How would it fire an event?
Should I use an OCX, or DLL? I think an OCX is a GUI control, correct me if I’m wrong.
How should I do it?
Thanks
-
May 18th, 2001, 04:01 AM
#2
Re: VB Object
First of all, this can be done in VB, second of all, you are absolutely correct, a OCX is a control, however, a dll can also contain controls.
The thing you need to know is how you wnat to address it, if you want it to be a (probably) invisible control, go for the ocx, if you want it to be a class, then go for the dll.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
May 18th, 2001, 01:10 PM
#3
Re: VB Object
Ok, great. Let say I want to use dll, how would I fire an event form the VB object to my app?
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
|