phn b sung COM unloads tr?c khi ?ng d?ng ?c ng c?a trong Microsoft Excel

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

Tri?u ch?ng

Khi b?n lm vi?c v?i m?t ?ng d?ng Microsoft Excel, b?n c th? m? r?ng ch?c nng ?ng d?ng b?ng cch s? d?ng m?t ty ch?nh m h?nh ?i t?ng thnh ph?n (COM) Add-In ho?c b?ng cch s? d?ng m?t Microsoft Visual Studio cng c? cho Office (VSTO) gi?i php. Cc add-in c th? ?c thi?t l?p ? t?i lc kh?i ?ng. Cc add-in v?n ?c n?p cho ?n khi cc ?ng d?ng ?c t?t. Tuy nhin, n?u Excel B?t ?u cho OLE ho?c t? xa t? ?ng ha, v cc ?ng d?ng ?c th?c hi?n c th? nh?n th?y b?n, khi b?n c? g?ng ? ng c?a s? Excel, c?a s? Excel ch? l ?n, v cc ?ng d?ng v?n c?n ho?t ?ng.Khi hnh vi ny x?y ra, cc phn b sung COM ho?c VSTO gi?i php l b? n?p n?u nh cc ?ng d?ng ? b? t?t. Cc s? ki?n OnBeginShutdown v cc s? ki?n OnDisconnection ?c g?i l, v cc add-in ?c l?y ra kh?i b? nh?. N?u cc ?ng d?ng ?c th?c hi?n c th? nh?n th?y m?t l?n n?a, cc phn b sung COM khng c?n ?c n?p. Cc m?c tr?nh n ho?c cc thanh cng c? ? ?c b? sung b?i cc phn b sung COM c th? khng c?n c s?n. B?n c th? khng th? s? d?ng cc phn b sung COM tr? l?i trong tr?ng h?p c?a Excel.

Tr?ng h?p khi i?u ny c th? x?y ra bao g?m nhng khng gi?i h?n ?i v?i:

  • Nhng Excel trong Microsoft Word nh l ?i t?ng OLE
  • T? ?ng ho Excel t? m?t t?p tin th?c thi ch?a ti li?u tham kh?o COM

Nguyn nhn

Excel ?c thi?t k? ? duy tr? n?p cho ?n khi t?t c? cc k?t n?i bn ngoi ? ?c pht hnh. N?u b?n t? ng c?a s? Excel, nhng m?t my ch? OLE bn ngoi ho?c m?t t? ?ng ha lu tr? v?n c?n c m?t tham chi?u tnh ?ng d?ng, Excel ?n nhng v?n ti?p t?c ch?y. Hnh vi ny l c? ?, v hnh vi ny sau cc quy t?c COM chnh xc v? ?i t?ng su?t ?i. Tuy nhin, m?t s? ki?n n?i b? ?c kch ho?t trong qu tr?nh ny c th? gy ra Excel ? B?t ?u m?t shutdown v sau ? l?y t?t c? phn b sung COM tr?c Excel xc ?nh r?ng cc ?ng d?ng s? khng ?c ng c?a v? cc ti li?u tham kh?o bn ngoi. B?i v? v?n ? ny, phn b sung COM c th? ?c s?m b? n?p tr?c khi ch?m d?t c?a ?ng d?ng th?c t?.

T?nh tr?ng

Microsoft ? xc nh?n r?ng y l m?t l?i trong t?t c? cc phin b?n c?a Microsoft Excel, Excel 2000 v sau .

Thu?c tnh

ID c?a bi: 831200 - L?n xem xt sau cng: 08 Thang Mi Hai 2012 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Excel 2010
  • Microsoft Office Excel 2007
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 2013
T? kha:
kbpending kbbug kbmt KB831200 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: 831200

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