 |
|
|
using "My Computer" //Start->My Computer
menuBar.item("Tools->Folder Options->File Types").Invoke(); if(window.item("Required File Types").Extensions.contains("DLL") == false) { New.click(); File Extension = "dll"; Advanced.click(); waitForSystemToAutomaticallySetTo("Application Extension"); Ok.click(); } window.item("Required File Types").Extensions.item("DLL").select(); Advanced.click(); //Open the advanced properties dialog New.click(); //Add a new action window.item("Actions") = "Register"; //Add to the shortcut menu text window.item("Application used to perform action").setFocus(); Browse.click(); //Go find the file ShellOpenDlg.NavigateTo("C:\\Windows\\System32\\regsvr32.exe"); ShellOpenDlg.Open.click(); Ok.click(); Ok.click(); Close.click();
/* Now all you have to do to register a dll is right click on it and choose "Register" from the shortcut menu. If you'd like, you can also make an "Unregister" version:" */
using "My Computer" //Start->My Computer
menuBar.item("Tools->Folder Options->File Types").Invoke(); if(window.item("Required File Types").Extensions.contains("DLL") == false) { New.click(); File Extension = "DLL"; Advanced.click(); //If you don't click this and "DLL" is already registered //you get a warning. Just click it, ok. DLL is hidden //even if you register it's file type here. waitForSystemToAutomaticallySetTo("Application Extension"); Ok.click(); } window.item("Required File Types").Extensions.item("DLL").select(); Advanced.click(); //Open the advanced properties dialog New.click(); //Add a new action window.item("Actions") = "Unregister"; //Add to the shortcut menu text window.item("Application used to perform action").setFocus(); Browse.click(); //Go find the file ShellOpenDlg.NavigateTo("C:\\Windows\\System32\\regsvr32.exe"); ShellOpenDlg.Open.click(); window.item("Application used to perform action").append(" /u "); Ok.click(); Edit.click(); window.item("Application used to perform action").surroundWithQuotes("%1"); //In other words, surround %1 with quotes or long file names will get hosed Ok.click(); Ok.click(); Close.click();
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
To all those dummies that will inevitably ask me "what language was this written in"... It is my lame attempt to be funny, writing in make-believe source code. Kinda like speaking in pig latin; it is just for kicks. I do it all the time, and it annoys the hell out of my non-technical girlfriend but she endures it. Just follow the steps, ok.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
I try to register inpout32.dll I have copied inpout32.dll in system32 when I am trying to register, it shows error i.e. File was loaded, but DllRegisterServer Entry point was not found.
what that mean of this error.
plzzz
Swapnil shah shahswapnil963@yahoo.co.in
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
It means that the function "DllRegisterServer(...)" was not found. In other words, your dll does not contain DLLRegisterServer or, if it DOES, you didn't export it. I assume you wrote this dll yourself? Add it (DllRegisterServer) to your .def file. If you didn't bother to write the function to begin with, write it. Then add it to your .def file. If you didn't write it yourself, then you're stuck. Of course, I would find myself sorely tempted to debug and disassemble the dll, try to find the un-exported DllRegisterServer by comparing function calls contained therein with function calls known to be used by all version of dllRegisterServer, the nwrite a stub dll that exports DllRegisterServer and imports the faulty dll, forwarding all function calls to the faulty dll. But that is the hacker way, and if you knew how to do that, you wouldn't be HERE asking this question, now would you?
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
I am using XP Pro and added the keys dllfile-shell-Regsvr23-Command then edit the value data "regsrv32.exe %1" and also setup the Unregsvr32 but when I select a dll in explorer and right click to select Regsrv32 it prompts me to select a program to view. Is there something I am missing here? I am not a registry expert so please write out all the steps. Also what should the Value data be for both entries "regsvr32.exe" "%1" and "unregsvr32.exe" "/u%1" are these correct including the quotation mark placement and spaces?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
when i registerd my dll its shows entry point was not found what i have to do o/s win 2000 its for usb device
|
| Sign In·View Thread·PermaLink | 1.17/5 (3 votes) |
|
|
|
 |
|
|
I have a activex dll, make with VB 6.0, I register in my session and function perfectly, but when logging in with other user, this look as if wasn't register in my machine somebody knows how to register for all user?
john
|
| Sign In·View Thread·PermaLink | 1.33/5 (3 votes) |
|
|
|
 |
|
|
After updating my registry to be able to reg and unreg dll from Windows explorer. When I try unreg or wise versa it can't find the files do the the space between names for directories.
how can I get around this?
Thanks...
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
you can see the missing picture here. [url]http://www.codeproject.com/useritems/regdllxp/regedit.jpg[/url]
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Isn't this exactly what is mentioned here (with a reg file):
http://www.codeproject.com/tips/VisualTips.asp
Cheers
Matthew Berry
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
; Register and Unregister EXEs [HKEY_CLASSES_ROOT\.exe] @="exefile"
[HKEY_CLASSES_ROOT\exefile\shell\Register COM Server\command] @="\"%L\" /regserver"
[HKEY_CLASSES_ROOT\exefile\shell\Unregister COM Server\command] @="\"%L\" /unregserver"
from a .reg file I have with (c) 1997-1998, Chris Sells in it.
Enjoy,
Josh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
You got some broken image links. Ask site editor for help to fix it. Since it is new article, I think you can fix it your self.
--- Softomatix http://www.pardesifashions.com/Softomatix/default.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |