Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the COM? How do I use it with VB 6...

Status
Not open for further replies.

tyhand

Programmer
Jul 3, 2002
186
US
Hi all,

What's COM? I know it's an object model, but what's it used for? Is there any good online documentation for total beginners. I already program with VB 6 on Win 98, but want to know how to use them together.

Any and all help is greatly appreciated. Thanks!

*****Tyhand
 
It means you're using methods from another program:

dim x as object
set x = CreateObject("Excel.Application")
x.Visible = true 'using method Visible, or property

Ion Filipski
1c.bmp
 
>>I already program with VB 6 on Win 98, but want to know how to use them together.


Then you're already working with COM (assuming you use textboxes and such, which are ActiveX controls, which are COM modules).


If you want to use non-ActiveX controls, set a reference to the library you want to use in the Project->References dialog. Using the object browser you can find out anything you want about the COM modules referenced in your project. if you really want to dig into COM, I'd suggest you do some book reading; it is not somehing to be explained very short....

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top