Prev: The application requires that assembly office Version 12.0.0.0 be installed in the Global Assembly Cache (GAC) first.
Next: MonthCalendar MouseDoubleClick
From: Alhambra Eidos Kiquenet on 10 Jul 2008 05:35 Hi misters, I try use an OCX in my Winforms application with VS 2005. The OCX is a PDF Viewer (XPdfViewer) I have several issues about it: 1. I add reference to COM, and VS generate Interop.XpdfViewer.dll When I call to method of COM, I get this error: ErrorCode -2147467259 Exception Details: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component One question, how I get a detail description of a COMException ?? Any help please. 2. I Choose Items in Toolbox and select COM (OCX). The VStudio generate AxInterop.XpdfViewer.dll. (which is the difference AxInterop.XpdfViewer.dll and Interop.XpdfViewer.dll???) For a Component Control, in design, the control XPdfViewer NOT appears in toolbox, why ??? For Forms, in design, the control XPdfViewer appears in toolbox For UserControl, in design, the control XPdfViewer appears in toolbox Any suggestion about it ? Thanks in advance. -- http://www.alhambra-eidos.es/web2005/index.html www.kiquenet.net http://www.setbb.com/putainformatica/viewtopic.php?p=843 www.trabajobasura.com/solusoft |