Wednesday, March 06, 2002, si napisal: > nazdar vsichni! > nefite kde by som zohnal winsck.ocx :))))? > treba to tusim zapsat do registrov lebo ja ten subor aj mam ale windowz > to nefim :) Kazdu OCX komponentu (a ine OLE a ActiveX blbosti) nestaci iba prekopirovat, musis ju aj zaregistrovat aby ju system videl. Robi sa to pomocou tychto utilit: Regocx32.exe, pouzitie: regocx3232.exe MyCtrl.ocx Regit.exe, pouzitie: regit.exe *.ocx Ako si si vsimol jediny rozdiel medzi regit a regocx32 je, ze regit akceptuje wildcards pre hromadnu registraciu. Na registraciu kniznic dll sa pouziva regsvr32.exe. Tieto vecy by si mal mat niekde v adresary windows, pretoze to pouzivaju instalacne programy (ale nemusia, takze to ani nemusis mat) Existuje vsak komfortnejsie riesenie, je to subor s exportom do registrov, ma len 762 bajtov, ale tu niesu povolene prilohy takze ho sem dam inline do majlu. <TU ZACINA> REGEDIT4 ; This adds the ability to Right-Click on a .dll or .ocx ; and get the Register / UnRegister options. ; ========== ; .DLL files ; ========== [HKEY_CLASSES_ROOT\.dll] "Content Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOT\dllfile] @="Application Extension" [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; ========== ; .OCX files ; ========== [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; End <TU KONCI> Prekopiruj vsetok text medzi <TU ZACINA> a <TU KONCI> do suboru regocx.reg a ten spusti. Potom mozes kazdy ocx, dll subor zaregistrovat/odregistrovat pravym klikom mysi nan. Sorry vsetkym ostatnym za dlhu odpoved. -- S pozdravom, krutohlav
This archive was generated by hypermail 2.1.2 : 08. 03. 2002, 21:37 CET