Search Tools Links Login

Extract and Register from EXE


From time to time I write some little application or game for me and my co-workers to use and in the program I am using some new control I made or downloaded. I already know they have the VB runtimes so I dont really feel like making an install for them so I just embed the OCX into the EXE using the resource file, then on the program start up it checks for the files existance. If it cannot find it [like on the first time] it will extract the OCX from the EXE to their hard drive and register it. Then it will open the form(s) that use it. This project shows how I do it. While I would never do this in a professional application, some of you may like this. However, I know this code can show some of you malicious programmers out there how to embed a virus or something like that. I had to think long and hard before I shared this. It is not all that advanced and if you are any good you would of figured out this on your own. So I decided there are enough legitimate reasons that others may like this code so I posted it. Please everyone who is responsible...please get a Project Scanner to scan source code projects for code like this (like the one listed here on PSC or mine at http://vbasic.iscool.net )

Original Author: Clint LaFever

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 87 times

Categories

Visual Basic 6

Attachments

Extract an252098232001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 20,241 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.