vb.net comexception error
i have combined an concentration vb.net controlling ms visible studio 2005. i am controlling .net chronicle '2.0.50727'. concentration controlling but errors until recently. after being used while starts furnish system.runtime.interopservices.comexception blunder (80080005)
. blunder happens i furnish an instance another outmost application. once blunder occurred never goes away, occurring any concentration opened. blunder breaks functionality way since reliant 2nd concentration calling.
i am certain starts blunder occurring nonetheless i know user specific application. appears something occurs user's windows profile. i opposite user same accessory emanate new form user emanate way work but blunder while. eventually (within few weeks) blunder relapse stay until i solve again.
i am perplexing debug com blunder know since duty nonetheless such uncanny function i'm certain where start. i've never seen an blunder hoop itself form means persistent.
i don't have lot .net trust nonetheless i have finished lot vb 6 concentration programming. greatfully offer any suggestions have. your assistance severely appreciated.
here formula retard where blunder occurring:
public category frmmain
public btapp bartender.application
private servant frmmain_load(byval sender object, byval e system.eventargs) handles me.load
try
btapp = new bartender.application
catch comex runtime.interopservices.comexception
messagebox.show("error " + comex.errorcode.tostring() + ": " + comex.message)
end try
i announce non-static during tip frmmain.vb form (the initial form load).
i bucket com vigilant initial form loads. i leave active until concentration closes since i lot calls it.
Comments
Post a Comment