Originally posted by: Andrei Ostapenko
Unfortunately this method converts .ocx and .dll registering files into "DOS" format (8chars for name + 3 for extension) if the name is long...
I could not find an automation method to keep registered components in Window's format
Originally posted by: dennisl
Hello,
I have a problem.I want to write a program using vc++ 5.0 to control excel 2000.I draw a plot in excel,but I can not write vc code to modify the position of data labels of excel plot. How can I do?
Thanks.
Originally posted by: cibrran
I already reg Installed....
How do I delete this setting!
Please.... tell me please
and then.............. In MFC
How do I use this Reg information!
ReplyOriginally posted by: Denis
1st:
Goto Windows directory (win98)
or
Documents and Settings/User (winME win2000)
2nd:
Make sure you can view system directories (winMe, win2000)
and go to SendTo Directory.
3rd:
Create New Shortcut -> browse to windows/system (win98) or winnt/system32 (win2000) and select regsvr32.exe -> rename shortcut to "Register"
Create New Shortcut -> browse to windows/system (win98) or winnt/system32 (win2000) and select regsvr32.exe -> add the /u after it -> rename shortcut to "UnRegister"
Extra:
You can also add a shortcut to Notepad.exe here too to make it easy to view those text files without the .txt extention (ie. like "test.dat" or just "test")
To Use:
Now to register a DLL/OCX or whatever, just select the file and rightclick on it -> SendTo -> Register.
To unregister a file hit SendTo -> UnRegister.
Extra view a file as text -> SendTo -> Notepad
Hope this helps.
Reply
Originally posted by: Edmond Cisse
Thanks for this tip...
ReplyOriginally posted by: Mike DeKoker
Just copy the following text (starting at REGEDIT4), save it as a .reg file, and double click on it.
REGEDIT4
; regsvr.reg, Copyright (c) 1997-1998, Chris Sells.
; All rights reserved. NO WARRANTIES ARE EXTENDED. USE AT YOUR OWN RISK.
; P.S. Enjoy and send comments to csells@sellsbrothers.com.
;
; History:
; 10/25/98
; Replaced %1 with %L to get long file name support.
; (Thanks to Sergey Tetkin <SergeyT@vest.msk.ru> for the suggestion!)
;
; Sometime in early 1997: 1st release
; Don, Tim, Keith and I were sitting around at a GCOM talking about
; what a pain it was to perform self-registeration and couldn't I
; add a shell extension to augment the context menu (I had written
; the Win95 course)? I said I could do even better than that and
; this regfile was born.
; Register and Unregister DLLs and OCXs
[HKEY_CLASSES_ROOT\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\.ocx]
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile\shell\Register COM Server\command]
@="regsvr32 \"%L\""
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister COM Server\command]
@="regsvr32 /u \"%L\""
; 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"
Originally posted by: Liza
When I try to add .ocx in Explorer->View->Options, I get the error message that .ocx is already asociated with ocxfile.
ReplyOriginally posted by: Andy Friedman
Thanks for the tip. I've been looking for something like this, but alas, I've not done my homework on shell extentions :-)
ReplyOriginally posted by: Stefan Migowsky
Use "%L" instead of "%1" and you register the
controls with the long file names.