winzip icon

Create objects without registration

Submitted on: 2/16/2015 8:19:00 PM
By: SPY-3 (from psc cd)  
Level: Advanced
User Rating: By 3 Users
Compatibility: VB 6.0
Views: 4181
     This is not my code it is a code made by [rm_code] and for what ever reason his account no longer exists and this great code was deleted. I was searching using google trying to find this code but found with the google cache that it was the right one but was no longer on psc, I then searched all over my computer and found it! I have included the google cache of the page so you can see some peoples comments, questions, and the answers. This code will allow you to create objects without registering the dll or ocx first! You simply call CreateObjectFromFile and the code will turn it into an object. Here is the original definition: "This is a handy module which allows you to create an object from an Active-X server (OCX, DLL) without the need to register it first. >> Updated: removed Prog ID check because it required the object to be registered... changed Prog ID check to Class ID check, so you'll need the class name now. To get it, use a type library viewer of your choice or my type library browser submission." I will not be able to help as much if you have questions seeing as I did not write the code, but check the questions already given inside the google cache included and if you still dont know the answer feel free to ask me and I will try to help. Enjoy!
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Other 4 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

3/11/2017 9:29:51 AMEvariste Galois

FYI: In addition to the Google cache, you might want to acquaint yourself with the Wayback Machine, which is You'll sometimes find things there (even in multiple editions as new copies get picked up) and you can pick them off of a calendar where applicable.

If you knew you saw something (before) and it's been taken down, you can always hit the Wayback Machine and see if it's there. I've found some fairly good-sized web sites which were eventually deleted when a domain was grabbed by a squatter and simply let it vaporize.

This is one of those toys which can be considered, "one of the most important things on the 'net which no one knows about. If someone were bragging about their long online experience (I'm almost to 30 years and I know a lot of people who predate me), and you frame some question which would indicate they didn't know what the Wayback Machine is, I'd consider their knowledge & experience to be rather spotty.
(If this comment was disrespectful, please report it.)

3/31/2019 4:32:09 AMRob C

You mention 'my type library browser submission'
I could not locate that in the PSC page for your other entries.
Is it part of one of those that PSC still lists for your submissions ?

(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.