Lm th? no ? ng k? i?u khi?n ActiveX (.ocx) b?ng tay

D?ch tiu ? D?ch tiu ?
ID c?a bi: 146219 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TM T?T

Khi b?n pht hnh m?t ?ng d?ng Microsoft Visual FoxPro s? d?ng m?t ActiveX ki?m sot (.ocx t?p tin), cc t?p tin .ocx ph?i ng k? m?t cch chnh xc cho n ? ho?t ?ng chnh xc. Visual FoxPro Setup Wizard ho?c InstallShield Express trong Visual FoxPro 7,0 hay m?t phin b?n sau ny c?a Visual FoxPro s? ng k? m?t t?p tin .ocx m?t cch chnh xc, cung c?p b?n ch?n cc OLE ki?m tra h?p trong b?c 6 cho cc .ocx t?p tin. N?u m?t ?ng d?ng Visual FoxPro s? d?ng m?t t?p tin .ocx phn ph?i b?i m?t s? phng php khc, t?p tin .ocx ph?i ng k? t?. Bi vi?t ny m t? lm th? no ? ng k? m?t t?p .ocx b?ng tay.

THNG TIN THM

B?n c th? s? d?ng Microsoft ng k? Server (regsvr32.exe Regsvr32.exe) ? ng k? m?t 32- cht .ocx t?p tin b?ng tay trn 32-bit, h? i?u hnh. Trong Visual FoxPro 3,0 v 3.0b, regsvr32.exe Regsvr32.exe n?m trong th m?c \Vfp\Samples\Ole, v trong Visual FoxPro 5.0, regsvr32.exe Regsvr32.exe n?m trong th m?c \Vfp. Trong Visual FoxPro 6.0, regsvr32.exe Regsvr32.exe n?m trong th m?c Distrib.src c?a cc Visual FoxPro th m?c. N c th? ?c phn ph?i v?i m?t Visual FoxPro ?ng d?ng. C php ? s? d?ng regsvr32.exe Regsvr32.exe l nh sau:
   Regsvr32 [/u] [/s] <OCX File Name>
					
Chu y/u Unregister c ngh?a l cc t?p tin .ocx.
/ s c ngh?a l ch? ? im l?ng (hi?n th? khng c th).

V d? sau ng k? Microsoft MAPI ActiveX Control m khng hi?n th? b?t k? tin nh?n:
   Regsvr32 /s MSMAPI32.OCX
				
Th?c hi?n v d? ny trong m?t ?ng d?ng Visual FoxPro, s? d?ng ch?y l?nh nh sau:
   RUN /N Regsvr32 /s MSMAPI32.OCX
				
Chu y N?u m?t l?i x?y ra khi ng k? m?t ki?m sot, lm vi?c sau:
  1. Xc minh trong Registry m ki?m sot ? khng ?c ng k? tr?c.
  2. Ki?m ch?ng r?ng cc t?p tin sau y trong th m?c Windows\System:
          mfc30.dll     olepro32.dll     msvcrt20.dll
          mfc40.dll     msvcrt40.dll
    N?u m?t trong nh?ng t?p tin ny l m?t tch, b?n c th? nh?n ?c l?i sau tin nh?n:
    L?i: M? l?i OLE 0x80040112: gi?y php thch h?p cho i?u ny l?p khng t?m th?y.

Thu?c tnh

ID c?a bi: 146219 - L?n xem xt sau cng: 17 Thang Chin 2011 - Xem xt l?i: 3.0
p d?ng
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft Visual FoxPro 7.0 Professional Edition
  • Microsoft Visual FoxPro 9.0 Professional Edition
T? kha:
kbautomation kbhowto kbinterop kbmt KB146219 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:146219

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com