Message 1 of 5
Dockable Container - General VB Question

Not applicable
01-10-2000
06:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working with the Dockable Container in AutoCAD 2000. I am creating a
custom OCX in VB, which is getting displayed in the Dockable Container. My
question is more VB in nature, but hopefully someone can help. In VB, I am
creating an OCX which contains a standard module, a user control, and a
form. In the user control, I am reference MSCOMM32 to communicate with the
COM-PORT, but I am declaring it as Public WithEvents so that it will respond
to events; therefore, I can't use it in a standard module. My form is setup
to change the COM-PORT settings. My problem is that I can't "reference" my
MSCOMM32 object from my form. How can you call procedures or reference
variables/objects in other class modules than can not be put into a standard
module?? Thanks for any help.
custom OCX in VB, which is getting displayed in the Dockable Container. My
question is more VB in nature, but hopefully someone can help. In VB, I am
creating an OCX which contains a standard module, a user control, and a
form. In the user control, I am reference MSCOMM32 to communicate with the
COM-PORT, but I am declaring it as Public WithEvents so that it will respond
to events; therefore, I can't use it in a standard module. My form is setup
to change the COM-PORT settings. My problem is that I can't "reference" my
MSCOMM32 object from my form. How can you call procedures or reference
variables/objects in other class modules than can not be put into a standard
module?? Thanks for any help.