?
Solved

Can I use MsComm Control in my own DLL class?

Posted on 2003-03-15
5
Medium Priority
?
229 Views
Last Modified: 2010-05-01
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
Comment
Question by:alkait
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 8145581
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
 

Author Comment

by:alkait
ID: 8145599
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
 
LVL 18

Accepted Solution

by:
Sethi earned 200 total points
ID: 8145645
You can make a DLL with a form in it.
0
 

Author Comment

by:alkait
ID: 8145668
Thanks Alot
0
 
LVL 18

Expert Comment

by:Sethi
ID: 8145690
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question