Selasa, 08 Februari 2011

[Tutorial] Cara Menginstalasikan ActiveX Control (.ocx)

trik jadul alias dah basi sbenernya..
neh buat yang lum tauw aja yang udah taw silahkan duduk & diem aj...
:P:P
Di dalam forum Nstars.Net
ini bnyk software yg membutuhkan komponen ActiveX yg kdg gada ato ga
terinstalasi dgn baik di kompi pengguna. Gambar dbwh ini adalah problem
yg nongol klo ActiveX Control gada ato ga terinstalasikan dgn baik di
system Windows..

Posted Image

Posted Image

Dlm gmbr pertama komponen mswinsck.ocx dan gmbr kedua komponen RichTx32.ocx
yg gada ato ga terinstalasikan dgn baik di system Windows.. Artikel ini
akan membahas ttg prosedur meregistrasikan komponen ActiveX untuk Windows XP dan Windows Vista



Windows XP

Cara 1

  • Cek apakah file2 itu ada di folder system32
  • Klo blm ada, dongdot dl filenya trs copy ke folder system32
    Website bwt dongdot file2 ActiveX:
    Code:
    [url="http://www.ocxdump.com/"]www.ocxdump.com[/url]
  • Start - Run...
  • Ketik cmd di kotak dialog Run
  • Stlh muncul window commandprompt (window berwarna hitam dgn tulisan putih / DOS), ketik perintah berikut ini:

    Code:
  • regsvr32
    .exe
    mislnya
    Code:
  • regsvr32.exe mswinsck.ocx
  • Klo sukses akan muncul pesan sukses ky gmbr dbwh ini:

    Posted Image
  • Klo lo dah ga memerlukan komponen ActiveX maka komponen itu bs di unregister-kan dgn cara ky diatas, syntax nya adlh:

    Code:
  • regsvr32.exe /u 

    mislnya
    Code:
  • regsvr32.exe /u mswinsck.ocx


Cara 2
Prosedur
diatas sering agak ngerepotin bagi sebagian orang karena harus ngetik
di DOS command prompt. Nah, berikut ini cara bwt register ato
unregister komponen ActiveX lwt Windows Explorer dgn manfaatin shell
context menu. Jadi klo qta klik kanan pada file yg ber-ekstensi dll atau ocx maka menu register dan unregister akan muncul pada context menu.

Copy code di bawah ini ke notepad dan simpen dgn nama activexregunreg.reg

Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
[HKEY_CLASSES_ROOT\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\.olb]
@="olbfile"
[HKEY_CLASSES_ROOT\exefile\shell\Register\command]
@="%1 /register"
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Register\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent Register\command]
@="regsvr32.exe /s %1"
[HKEY_CLASSES_ROOT\exefile\shell\UnRegister\command]
@="%1 /unregister"
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\olbfile\shell\UnRegister\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"
[HKEY_CLASSES_ROOT\olbfile\shell\Silent UnRegister\command]
@="regsvr32.exe /u /s %1"


Abis tu save file nya dan dobel klik file activexregunreg.reg dari Windows Explorer bwt memasukkannya ke sistem registry. Sekarang lo bisa klik kanan file komponen ActiveX, misalnya dll atau ocx dari Windows Explorer. Akan muncul shell context menu ky gmbr dbwh ini:

Posted Image



Windows Vista

  • Cek apakah file2 itu ada di folder system32
  • Klo blm ada, dongdot dl filenya trs copy ke folder system32
    Website bwt dongdot file2 ActiveX:
    Code:www.ocxdump.com
  • Klik Start
  • Di sblh kiri bwh ketik cmd
  • Bagian atas kotak Start akan berganti ke programs yg berisikan cmd
  • Klik kanan pada cmd dan pilih Run as Administrator
  • Klik smua pd tombol Continue dan Allow dan window berwarna hitam dgn tulisan putih / DOS akan nongol
  • Ketik:

    Code:
  • regsvr32.exe C:\Windows\System32\

    mislnya
    Code:
  • regsvr32.exe C:\Windows\System32\mswinsck.ocx
  • Klo sukses maka akan nongol pesan sukses ky dbwh ini:

    Quote
  • [b]:[/b]DllRegisterServer in C:\WINDOWS\System32\mswinsck.ocx succeeded.


Atau cara lainnya adalah:

  • Register dgn fungsi UAC dimatikan
    msconfig > tools > disable UAC
    trs restart kompi lo..

    Atau
  • Jalankan CLI dlm modus Run as Administrator dan ketik:

    Code:
  • Spoiler
    regsvr32 \windows\system32\mswinsck.ocx




Smoga berguna.. :D:D
TQ...

SUMBER  :N2

Tidak ada komentar:

Posting Komentar

 
Klik689 © 2011 Templates | Nanda