• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Can I use MsComm Control in my own DLL class?

Hi,
I want to develop a class in VB based on MsComm control.  But MsComm control is an ocx (visual control that should be placed on a form) but I don't want to make any forms, yet, I still want to use it???

Thanks
0
alkait
Asked:
alkait
  • 3
  • 2
1 Solution
 
SethiCommented:
No you cant use an OCX without a container that will hold the OCX. The best way to do this would be placing them on a form and never displaying the form.
0
 
alkaitAuthor Commented:
But I do not want to make an EXE. I want to make a component that communicate with serial port and this cannot be achieved by making a form in an EXE
0
 
SethiCommented:
You can make a DLL with a form in it.
0
 
alkaitAuthor Commented:
Thanks Alot
0
 
SethiCommented:
Anytime :-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now