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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|