PDA

View Full Version : OLE Manager


RizlaUK
04-16-2008, 10:18 PM
heres my first app made wuth Visual Basic, its a little basic, but dont what is intended to do

i was searching for a free app to take the pain out of keeping track of installed OLE components and i couldent find anything to do the job (less than £30) so i made my own, its a simple tool, i may expand it when i get to know VB a little better

WARNING:
if you dont know what OLE or ActiveX is then please DO NOT download or use this software, i will not be held responsable for any damage caused by misuse or malfunction of this application.

RizlaUK
04-16-2008, 10:23 PM
While we are on the subject, how handy would it be to be able to rightclick a dll or ocx file and register/unregister it on the system, when testing i have to do this a lot and this can be a pain

save this to a text file and name it "Anything.reg" and run it

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ocxfile\shell]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register OCX]

[HKEY_CLASSES_ROOT\ocxfile\shell\Register OCX\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\shell\Unegister OCX]

[HKEY_CLASSES_ROOT\ocxfile\shell\Unegister OCX\command]
@="regsvr32.exe /u \"%1\""


[HKEY_CLASSES_ROOT\dllfile\shell]

[HKEY_CLASSES_ROOT\dllfile\shell\Register DLL]

[HKEY_CLASSES_ROOT\dllfile\shell\Register DLL\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\Unegister DLL]

[HKEY_CLASSES_ROOT\dllfile\shell\Unegister DLL\command]
@="regsvr32.exe /u \"%1\""

Dermot
04-16-2008, 10:36 PM
Nice job. That's a handy tool for sure. Saves opening VB or Access to get the name etc.

I use FileMenu Tools http://www.lopesoft.com/en/index.html which adds lots of usefull options to the right-click menu, two of which are register and unregister activex.

Intrigued
04-17-2008, 07:59 AM
Looks interesting and congratulations on your first VB project being completed.