| Thread | Last Post | Replies |
|
| C# 2 .NET 2 and Outlook automation | 16 Apr 2006 16:30 GMT | 2 |
I'm trying to use a C# program to read the Outlook Sent Items folder. The constructor: Outlook.Application oApp = new Outlook.Application (); throws exception:
|
| Cannot successfully can C++ function from C# | 15 Apr 2006 09:45 GMT | 3 |
I have been banging my head againt my desk for a couple days now and nothing I try seems to work. I know I am missing something small and it's killing me. This is the error I am getting with this code:
|
| Instantiating a .Net class in MS Excel Macro | 15 Apr 2006 04:23 GMT | 1 |
I am trying to instantiate a .Net class in the VB editor of MS Excel (PE 2003) Macros. I have added the reference to the tlb of the .Net (TestProject) project.
|
| System._Comobject Exception (E_NOINTERFACE) | 14 Apr 2006 23:12 GMT | 2 |
I am trying to connect to an automation server. I've imported the type library and everything matches with the tlb file when I view it using the old OleViewer. I n the old vb6 days I just used Getobject("BACtalk.ActiveX.Interface") and
|
| IObjectWithSite and IOLECommandTarget Issue | 14 Apr 2006 18:07 GMT | 6 |
I am building a VB.NET dll browser extension to respond to the click event of a custom button added to IE's toolbar. I am implementing the IObjectWithSite interface to handle acquiring a reference to the browser. And I am implementing the IOLECommandTarget
|
| How to encapsulate an ActiveX Control in dotnet | 14 Apr 2006 08:02 GMT | 2 |
Hi, I try to encapsulate an ActiveX Control to output the specified fileName. Such as : I have an ActiveX control :U8RefEdit.ocx and wanto get two file: COM Interface file :Interop.U8Ref.dll and Activex
|
| how can i tell when a sound file has ended | 14 Apr 2006 03:04 GMT | 1 |
I have an application that plays mp3 and wav files using ;- QuartzTypeLib.FilgraphManager graphManager = new QuartzTypeLib.FilgraphManager(); QuartzTypeLib.IMediaControl mc = (QuartzTypeLib.IMediaControl)graphManager;
|
| convert unmanaged pointer to managed pointer? | 13 Apr 2006 18:41 GMT | 1 |
I have some C# code I want to use from C++. One of the C# method's parameters expects a COM interface (which was defined in a separate COM component, which is used by both of my assemblies), but I can't seem to pass a COM interface over to C# because I get error C2664:
|
| How can I call COM+ | 13 Apr 2006 13:49 GMT | 1 |
I have COM+ Application (running as a server under user S), where I inserted C# class MyServerClass. Now I need call these class - but throw COM+ Application.
|
| convert this cpp to c# | 13 Apr 2006 10:46 GMT | 1 |
AfxOleGetMessageFilter()->EnableNotRespondingDialog(FALSE); AfxOleGetMessageFilter()->EnableBusyDialog(FALSE); Many thanks in advance.
|
| Casting Problem | 13 Apr 2006 10:43 GMT | 3 |
I have a dll written by VB6 and I've use "tlbimp" command to produce an interop assembly. I now try to use reflexion to create an object from VB6 DLL to .NET environment and cast it back (eg. ClassA)
|
| Calling C# from C++ | 12 Apr 2006 17:39 GMT | 4 |
I wish to provide a C++ DLL interface for non-framework clients to access a C# DLL - is this possible? I have had some limited success by using a pimpl idiom to cross from unmanaged to managed - but anything more than a simple message output yields an exception. I cannot debug ...
|
| Marshaling a mixed Unicode/ANSI string | 12 Apr 2006 13:00 GMT | 4 |
Im trying to pInvoke a function od the packet.dll library of winpcap (i know it is already done but im doing it as an exercise). So I have the function GetAdapterNames which is like this: BOOL PacketGetAdapterNames(PTSTR pStr,PULONG BufferSize);
|
| Interop with 32-bit and 64-bit | 12 Apr 2006 11:21 GMT | 4 |
I'm writing a .NET assembly wrapping a native DLL which is available in both 32-bit and 64-bit versions. The main difference in the API is that some integer parameters map to System.Int32 in the 32-bit version and to System.Int64 in the 64-bit version.
|
| Interop, Property Let vs. Set.... Default .NET .tlb build behavior | 12 Apr 2006 04:01 GMT | 6 |
****************************************************************************************************** Problem: The problem we are having is in VB6 we defined many properties of type Variant for the sole purpose of being able to store Null. These properties are typically used to ...
|