all groups > dotnet interop > july 2003 > threads for july 29 - 31, 2003
Filter by week: 1 2 3 4 5
Loading up COM at runtime
Posted by kokwooi NO[at]SPAM rocketmail.com at 7/31/2003 7:13:43 PM
Hi all,
I'm a beginner at COM and .NET. Jus wondering can I dynamically load a
COM object at runtime without adding reference during design-time (eg.
maybe using ProgID?)?
KW... more >>
IPC is very bad in framework
Posted by Ville Pirhonen at 7/31/2003 3:02:48 PM
I have been reading this newsgroup quite often, and quite many are stuck
with
problem of proper IPC in Framework.
This is my humble opinion:
It is very very bad that there is no proper IPC tools in .NET environment.
If I have got things right, the CLR is in the way of IPC. There is no
imp... more >>
Opening Excel workbook from ASP.NET Page
Posted by Michael at 7/31/2003 3:05:10 AM
I have an Excel Object control on my ASP.NET page. How can
force a specific Excel workbook ( say "c:\myfile.xls") in
this object when my page opens. Alternatively, how can I
open a specific exccel file in my ASP.NET Page.... more >>
ADODB.Stream Open() in c#
Posted by David Sandor at 7/30/2003 9:36:13 PM
Question:
This is what I want to do...
ADODB.Stream Stream =3D new ADODB.StreamClass();
Stream.Open();
There are 5 arguments for a Stream.Open() however they are all optional. =
You can not pass nulls to the arguments as it will not compile. =
Someone posted a solution some time ago that i... more >>
Dude this is doin mah head in. (OOP Com)
Posted by David Nelson at 7/30/2003 2:41:31 PM
Hi,
I want to implement what would be an out of process server in vb6.
I'm sure i'm not the first to have this prob, but i can't find anything
substantial aboot it.
i can create a single use class library which always returns the same
instance, so i was going to put this in a .net... more >>
COM/.Net interop 0xC0000005: Access violation reading location 0xcccccccc
Posted by Lars at 7/30/2003 2:24:31 AM
Hi,
I have a problem when an unmanaged C++ client gets a COM
object from a C# server, which it in turn has got from a
COM server. It works 75% of the time, but sometimes it
crashes.
The COM .exe server's idl looks something like:
[
object,
uuid(F534D8C9-033A-4E17-B73A-440B6BE7B5E... more >>
How do you structure a .net component to be used in VB6 environment?
Posted by Patrick Blackman at 7/29/2003 9:29:03 PM
Can anyone tell me how to properly structure a .net component to be used in
VB6 . I have a small component which I want to export to a tlb file but when
ever I do the export, all the events are not available in VB6. Any help
would be appreciated.
... more >>
Public functions in class not available to COM
Posted by mtr at 7/29/2003 7:11:15 PM
Hi,
I've packaged a .NET assembly for COM according to the instructions, just
working from examples as I had problems with my actual code. But the problem
persists.
Code as follows:
using System;
using System.Runtime.InteropServices;
namespace CenturaTest
{
public class CenturaTestCla... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
unmanaged_interface_pointer_from_System.__ComObject
Posted by Artem Kliatchkine at 7/29/2003 5:10:29 PM
Hi All,
I need to retrieve unmanaged pointer to an interface from
System.__ComObject for further processing in C++ written dll. Does
someone know how I can get it?
Thanks,
Artem
... more >>
Calling .NET Shared Functions from ASP
Posted by Christopher Pragash at 7/29/2003 4:32:27 PM
Hello all,
I'm in the process of migrating a set of business objects from VB to VB.NET.
These business objects are actually used by ASP.
Question: If I had a shared method in one of the business objects that
returned the instance of the object, can I call it from ASP? Something like
the fo... more >>
What is wrong with the code to access .NET Assembly from ASP page?
Posted by Lidong Cheng at 7/29/2003 4:01:43 PM
Hi,Everybody
Can somebody help me find out what 's wrong with the code?
Can I pass a .NET type as a parameter to another .NET type's method? or how?
see below:
=================================================
..NET Server C# code:
namespace XYZ.BusinessLogic
{
public class Document
... more >>
Enumerating the running applications
Posted by Pete Wright at 7/29/2003 2:47:26 PM
When I hit Ctrl-Alt-Delete I am able to select tabs that show both the
running processes, and the running applications. How would I
programmatically build the running applications list in my own application
using P/Invoke?
Thanks,
Pete
... more >>
DllImport / Call a Sub that is in a Class
Posted by Johannes Hammersen at 7/29/2003 1:43:59 PM
Hi,
I'm trying to access a Sub that is in a Class of an Dll:
TheClass.TheSub()
But I can not figure out how to tell DllImport that the Sub is inside the
class:
<DllImport("C:\Programme\I_R_DLL\I_R_RecipeDllPrj.dll",
EntryPoint:="TheSub")> Public Shared Sub TheSubTest()
Will not work, it... more >>
Microsoft Outlook 9.0 Object Library
Posted by Cat Woman at 7/29/2003 12:52:55 PM
Does anyone know if this object can be used with ASP.NET?
Everything seems to work fine with a .NET Windows
application but with ASP.NET it doesn't seem to work.
If you can, plese point me to some sample code with ASP.
Thanks.... more >>
Invoking C function from C#
Posted by Joe Ross at 7/29/2003 9:46:47 AM
I hope this has a simple solution. I have a C DLL (that I don't have
control over) that I need to call from C#. The signature for the method is:
int MyFunc(
char *in1,
char *in2
char out1[],
char out2[a][b],
char out3[a][b],
char out4[2],
... more >>
|