Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > july 2006 > threads for july 8 - 14, 2006

Filter by week: 1 2 3 4 5

c# dotnet crystal report 2005
Posted by arun at 7/14/2006 9:57:46 PM
how to sql parameter passing in c# dotnet 2005 crystal report please give the code...more >>


EXE and VBE difference
Posted by vul at 7/14/2006 11:52:16 AM
I'm trying to use DLL created in VB 2005 in VB6 project. I did everything to make it work with late binding. It works when I run compiled EXE and produces an error 'The system cannot find the file specified' on the first line of this code: Dim objXML As Object Set objXML = CreateObject(...more >>

Passing COM object from managed to unmaged code in .Net
Posted by C# Dev at 7/14/2006 1:28:02 AM
Greetings, Is it possible to pass a COM object from unmanaged C++ to C# (and possibly back?) Say create the object in C++, pass it to - and then invoke it in - managed ..Net? Is yes, what is required in terms of - C++ and C# interface declaration - memory management For this to suc...more >>

WritePrinter
Posted by MPF at 7/13/2006 4:38:42 PM
Thanks in advance for any assistance. Re-post from C# forum. I've implemented the code found in the KB article below, but nothing is actually printing. I see the document being sent to the printer, but nothing gets printed. I've tried printing to a network printer, as well as the local "Mi...more >>

TLB using problem
Posted by vul at 7/13/2006 9:42:54 AM
I created very simple Class Library in VB 2005 (let's call it COMInterop). I set Register For COM Interop property to true to make it accessible by VB6 program. After I compiled it, I got COMInterop.dll and COMInterop.tlb files, I have no problem with using both of them on the machine where the...more >>

.net function returning string array to VB6
Posted by mike.aes NO[at]SPAM gmail.com at 7/13/2006 1:16:07 AM
I've got a .net function within a comclass project that needs to return an array of strings to a VB6 app. I declare the .net function as Array but what comes back to the VB6 is a text string that says "System.String[]". Any ideas how I can resolve that? ...more >>

P/Invoke on C DLL which takes char * parameter ?
Posted by FX at 7/12/2006 8:14:44 PM
Hi all, I'm programming a C# application which invokes a DLL (written in standard C). I have tried many things but any success since the beginning of the weeks. Here is the C prototype: unsigned short GetField ( unsigned short fieldId, char* fieldValue, size_t* FieldSize); This method...more >>

Can RCW and CCW be used together?
Posted by TW at 7/11/2006 5:28:13 PM
We're C# .NET developers who must use an ActiveX container (not IE) to create and contain our components. We'd like both the component and the client to be C# .NET code. But, it appears that you cannot do this. To do this, the RCW of my client code would have to be able to talk to the CCW of m...more >>



How to expose generic classes to COM?
Posted by Patricio at 7/11/2006 10:56:34 AM
Hello, We have a set of C# classes with their interfaces exposed to COM: MatrixUInt16 : IMatrixUInt16 MatrixUInt32 : IMatrixUInt32 MatrixInt16 : IMatrixInt16 MatrixInt32 : IMatrixInt32 We are moving to VS2005 and these C# classes are excellent candidates for a generic i...more >>

.NET assembly - access as COM object and native .NET assembly
Posted by kaczmar2 NO[at]SPAM hotmail.com at 7/10/2006 6:49:46 AM
Hey there, I have a C# .NET class that contains some functionality that is used in a hybrid Classic ASP /ASP.NET site (we are doing a conversion to .NET). Part of my class functionality (written in c#) needs to be accessable to VB6 COM objects and Classic ASP pages, but some only needs to be...more >>

Dsofile with UNC path - ASP.NET
Posted by thomas.denolle NO[at]SPAM gmail.com at 7/10/2006 1:53:15 AM
I have an exception when i try to open a file (which is located on a shared directory) with dsofile : oDSO = New DSOFile.OleDocumentPropertiesClass oDSO.Open("\\developpement\Doc1.doc", False, DSOFile.dsoFileOpenOptions.dsoOptionDefault) -> Exception from HRESULT : 0x800300FC (STG_E_INVAL...more >>

Marshal COM Variant out from C++ to C#
Posted by C# Dev at 7/9/2006 2:48:01 PM
Hello I have a C++ API method in a COM object: HRESULT GetReason([out] VARIANT* pReason); pReason is a variable created by the C++ and is preferrably (but not always) a BStr. In C# I cannot use UnmanagedType.AsAny since compiler won't allow it in an [out] parameter. A part of the pr...more >>

Using /clr in MFC ATL apps
Posted by Juan Dent at 7/8/2006 6:07:01 PM
Hi, I have a large MFC ATL EXE built with C++ 8, and now I am compiling with /clr to enable C++ interop - i.e. accesing .NET components directly in the same executable as the unmanaged code from MFC/ATL. When I compile I get a series of warnings and would like to know if they are of conc...more >>


DevelopmentNow Blog