Click to See Complete Forum and Search --> : OCX FILES AND PROGRAMMING


SaracenoB
April 17th, 2001, 02:24 AM
A friend of mine programs using visual basic and wants to make his own .ocx file for his program. I've tried opening multiple .ocx files in notepad and in DOS to see if it's comprehendable and if I would be able to compare them and see what makes them work, but unfortunately they're encrypted or compiled and are unreadable. I was wondering if any of you guys could give me a hand and point me towards a website or suggest a book that I could read that could teach me (and my friend) how to create our own .ocx files. I appreciate any help. Thanks a bunch.

SaracenoB

John G Duffy
April 17th, 2001, 08:17 AM
Your best bet for tutorals and samples is
http://search.microsoft.com/us/SearchMS.asp
look for a tutorial titled "Creating your own classes". Search on that phrase without the quotes and you should get into the tutorial section of MSDN for what yopu want to do.
A .ocx file is a special type of compiled program much like a .exe except it is designed to be used in conjunction with other programs. WHat you were looking at is compiled code, compiled by the VB Editor, which is why you can not comprehend it.

John G