| Thread | Last Post | Replies |
|
| regasm /tlb complaints element not found | 29 Feb 2008 23:30 GMT | 13 |
(I am a novice with interop services so bear with me...) I have a legacy C# application and am using VS2005 to generate a dll for it. I want to make this available for COM access which requires, as I understand it, invoking both gacutil and regasm. I am getting this error from ...
|
| Browser Helper Object (BHO) in C#. | 29 Feb 2008 07:35 GMT | 1 |
In the project I need to use Browser Helper Object (BHO) technology to customize the ContextMenu events in the IE. I have successfully written all the necessary logic to implement IObjectWithSite and other required interfaces.
|
| Register an assembly under HKEY_CURRENT_USER | 26 Feb 2008 22:08 GMT | 1 |
Does anyone know of a tool or procedure that will register an assembly for COM Interop, just like regasm, except that it puts the generated registry keys under HKEY_CURRENT_USER\Software\Classes? In other words, I want to register an assembly for COM so that the
|
| Microsoft Office 2007 Primary Interop Assemblies | 26 Feb 2008 20:46 GMT | 2 |
I installed Microsoft Office 2007 Primary Interop Assemblies to my WinXP and after that I launched Visual Studio 2005. I created a project but when I tried to add references to these assemblies I didn't
|
| Catastrophic Failure when loading a COM component written in C#? | 26 Feb 2008 06:48 GMT | 1 |
Does anyone know what conditions might make a COM component written in C# to not load with a "Catastrophic Failure" error message? The odd thing is that everything works fine as a command-line application, but when run under ISAPI in IIS the error occurs, even
|
| Write COM component in C# 2.0 | 26 Feb 2008 04:26 GMT | 2 |
I need to write a COM component in C# (VS 2005) I created the C# class library project, marked it "Make Assemble COM visible" I set the assembly to be signed with a key file.
|
| Type conversion C# and Matlab | 25 Feb 2008 02:51 GMT | 1 |
We try to access a third party Matlab dll (which was created using Matlab COM Builder) from C#. It works fine when using strings and one-dimensional arrays but fails with two-dimensional arrays. We give our example of the code below:
|
| Interops & Install Packages | 23 Feb 2008 00:54 GMT | 3 |
Hopefully I can explain this well enough, and apologize if this is a trivial matter. I've searched and couldn't find anything. I needed to make some changes to a dot net application (framework 2.0). The project has references set to some DLLs that reside in a subfolder (obj) of
|
| marshalling a complex C function | 22 Feb 2008 15:31 GMT | 5 |
i have the following function in my C library: ham_status_t ham_cursor_move(ham_cursor_t *cursor, ham_key_t *key, ham_record_t *record, ham_u32_t flags);
|
| Marshal.DestroyStructure or Marshal.FreehGlobal | 21 Feb 2008 21:53 GMT | 2 |
I'm using Marshal::StructureToPtr to well...marshal a struct over to unmanaged memory and get its pointer. Which method should I use to destroy the memory the pointer represents? Marshal.DestroyStructure or Marshal.FreehGlobal? Does it matter?
|
| Excel templates (Old format or invalid type library.) | 21 Feb 2008 09:21 GMT | 2 |
Microsoft.Office.Interop.Excel.Workbook ExcelWorkbook = ExcelWorkbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet); this gives me the following error: Old format or invalid type library. (Exception from HRESULT: 0x80028018
|
| MODI With Image From SQL Server | 18 Feb 2008 21:44 GMT | 1 |
i want to use modi with ocr, but i have image in sql server, must i save each image to call them like (c:\image1.tif) or can i use another process. Thanks
|
| Unmanaged ActiveX & Managed WinForms User Control | 15 Feb 2008 07:38 GMT | 1 |
I have an unmanaged ActiveX control written in MFC. And using CWinFormsControl<> template I am using a managed WinForms User Control contained in this ActiveX control. Now I want to marshal interface of this outer ActiveX control into the WinForms User Control and want to be able ...
|
| Array of Structures | 14 Feb 2008 17:56 GMT | 1 |
I have to port some VBA Code to VB DotNet The following code block defines several types in VBA. Public Type ProbParamKind Na As Long
|
| OpenFileDialog needs STAThread, but I need MTAThread | 13 Feb 2008 16:20 GMT | 3 |
I posted this to the windowsforms group as well, but it may be appropriate in this group as well. In my Windows Forms app I'm opening an OpenFileDialog. This throws the following exception because I have the MTAThread attribute on the Main
|