Myanmar IT Resource Forum
Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Register DLL files in Windows Explorer Empty Register DLL files in Windows Explorer 14th July 2009, 5:29 pm

sHa92

sHa92
Founder



Founder
ကိုယ့္
Program မွာတြဲသံုးဖို႔ Third party Dll file ေတြကို Register
လုပ္ရန္အတြက္ DOS Mode ကေနသြားသြားလုပ္ေနရတာ တစ္ခါတစ္ခါ command
ေမ့ေနရင္တို႔၊ ေနာက္က parameter ေမ့ေနရင္တို႔ သိပ္အလုပ္မတြင္လွဘူးေပါ့ ..
ဒီေတာ့ DLL File ေလးကို mouse နဲ႔ Right click ေခါက္ ၊ ေပၚလာတဲ့ menu
မွာေရြးျပီး Register လုပ္လို႔ရရင္ ေကာင္းမွာေပါ့ဗ်ာ၊

Registry မွာ နဲနဲ ျပင္ေပးလိုက္ယံုနဲ႔ menu ေလးေပၚလာမယ္ဗ်ား … တဆင့္ျခင္းစီကေတာ့ ဒီလိုပါ.

လိုျခင္တာက Registry မွာဒီလို ေဆာက္ျခင္တယ္ .. ပထမဆံုး Run box ကေန Regedt32 လို႔ရိုက္ Enter ေခါက္ (သို႔) OK ကို click ေခါက္ပါ။



[You must be registered and logged in to see this image.]





Registry Editor ေပၚလာရင္ HKEY_CLASSES_ROOT ကိုသြားပါ၊



[You must be registered and logged in to see this image.]

အဲဒီေအာက္ကမွ
dllfile ဆိုတဲ့ sub key တစ္ခု ေတြ႔ေအာင္ရွာပါ၊ အဲဒီ dllfile ဆိုတဲ့ sub
key ေအာက္မွာ shell ဆိုတဲ့ sub key တစ္ခု ထပ္ေဆာက္ပါမယ္၊ ရွိျပီးသားဆို
ေဆာက္စရာမလိုေပါ့ဗ်ာ။ ေဆာက္ရမယ္ဆိုရင္ေတာ့ dllfile ဆုိတဲ့ sub key အေပၚမွာ
right click ေခါက္ -> menu ေပၚလာရင္ New -> Key လို႔ေရြးျပီး
စာရိုက္စရာ ေလးေပၚလာရင္ အဲဒီေနရာမွာ shell လို႔ရိုက္လိုက္ပါ၊

[You must be registered and logged in to see this image.]



အဲဒီ shell sub key
ေအာက္မွာ Regsvr32 ဆိုတဲ့ sub key တစ္ခု ထပ္ေဆာက္မယ္၊ ျပီးရင္ Regsvr32
ဆိုတဲ့ sub key ေအာက္မွာ command ဆိုတဲ့ sub key ထပ္ေဆာက္မယ္၊ အဲလိုဘဲ
shell ဆိုတဲ့ sub key ေအာက္မွာ UnRegsvr32 -> command ဆိုတဲ့ sub key
ေတြ ဆက္ေဆာက္မယ္။ အားလံုးျပီးသြားရင္ ဒီလိုျဖစ္ေနရမယ္ေပါ့ေနာ္ ..။



[You must be registered and logged in to see this image.]




အဲဒီအခါမွ Regsvr32 ->command ကိုေရြး ၊ ညာဘက္မွာ ေပၚလာတဲ့ key value အေပၚမွာ Right Click ေခါက္ Modify ကိုေရြး


[You must be registered and logged in to see this image.]



ျပီးရင္ ေပၚလာတဲ့ Dialogue Box မွာ Value data text box မွာ “regsvr32.exe” %1 လို႔ ရိုက္ပါ၊ OK ႏွိပ္ပါ။



[You must be registered and logged in to see this image.]



ေနက္တစ္ခါမွာ
UnRegsvr32 ->command ကိုေရြး ၊ ညာဘက္မွာ ေပၚလာတဲ့ key value အေပၚမွာ
Right Click ေခါက္ Modify ကိုေရြး ျပီးရင္ ေပၚလာတဲ့ Dialogue Box မွာ
Value data text box မွာ “regsvr32.exe” /u %1 လို႔ ရိုက္ပါ၊ OK ႏွိပ္ပါ။



[You must be registered and logged in to see this image.]



ဒါဆိုအားလံုးလုပ္ျပီးသြားပါျပီ။
Registry ထဲကထြက္ျပီး Windows Explorer ထဲကို၀င္ ကိုယ္ register
လုပ္ျခင္တဲ့ DLL ကိုရွာ Right click ေခါက္လိုက္ရင္ ပံုမွာျပထားတဲ့အတိုင္း
အေပၚဆံုးမွာ Regsvr32 နဲ႔ unregsvr32 ဆိုျပီး menu ႏွစ္ခု ေပၚလာပါမည့္
အေၾကာင္း၊ Regsvr32 ကို ႏွိပ္လိုက္ရင္ Registry မွာ register
လုပ္ေပးျပီးေတာ့ unregsvr32 ကိုႏွိပ္ရင္ေတာ့ unregister
လုပ္ေပးမွာျဖစ္ပါတယ္၊ ေအာင္ျမင္ၾကပါေစဗ်ာ။



[You must be registered and logged in to see this image.]


က်ေနာ္ အလြန္ ၾကိဳက္သည့္အတြက္ Myanmar OpenXteam မွ ကူးယူတင္ၿပပါသည္...

http://www.myanmaritresource.info

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum hosting | ©phpBB | Free forum support | Report an abuse | Forumotion.com