Subject: VB COM  
 
Question:
I would like to know on COM Programming. What is a COM/DCOM & How to create a COM in VB6.0.I will be thankful if you could explain me with a small coding program.
 
Answer:
Programmers use COM to execute functions, methods etc. to files like DLL, OCX and more. All the controls that we use in VB (i.e. PictureBox, Label and all the others) are actually COM. With COM you can write functions in one programming language and use it in another (as long as they both support COM).
 
You can create COM with ActiveX DLL and ActiveX Control. The first one will create DLL files and is used for holding functions and the second one will create OCX files and is used to make objects (like buttons or pictures). COM files are in binary, which means the user that works with them, has an access only to the public functions and variables and he won’t be able to see the file’s source code.
 
 
Home Page  - Categories - Projects - VB COM
Copyright 2002 All rights reserved to vb4all.8m.net