| Thread | Last Post | Replies |
|
| Problem using WTSOpenServer on Win2003Server DC | 10 Jan 2005 08:48 GMT | 6 |
I'm using WTSOpenServer (P/Invoke in a C# application) to open a handle to a specified terminal server which is Win2003 Server Domain Controller. The function is returning NULL (or 0). I'm able to connect
|
| Why is Outlook.Application ambiguous in namespace? | 08 Jan 2005 14:55 GMT | 2 |
I'm following the code here http://support.microsoft.com/default.aspx?scid=kb;en-us;313788 but this build error in VS Studio .NET: 'Application' is ambiguous in the namespace 'Outlook'
|
| office and project late binding | 08 Jan 2005 05:57 GMT | 7 |
Is there an example showing how to do this. We do not want a different project for each version of office, the opportunity for inconsistencies between versions will be a problem in the long run. Alternatively is there a way to build for different versions in
|
| interop question - shell | 08 Jan 2005 02:20 GMT | 1 |
Is it alright to add a reference to shell32.dll and then use the objects in that namespace, like: Shell32.FolderItem ? (and then distribute the app to various windows operating systems) The reason I ask, I created an app that does this, and when I transfer the
|
| How do I accomplish inter-process/applicaiton communication? | 07 Jan 2005 21:39 GMT | 1 |
It has arisen that I need to be able to talk from my application (C#) to another application (unmanaged C++) that runs in a different thread, and vice versa. I have tried the COM interop, but I keep getting new copies of the class instantiated, instead of talking to the one ...
|
| Throwing exception from a .net com object | 07 Jan 2005 21:32 GMT | 1 |
I have written a class in c# and the assembly is registered as a com object. When I use this assembly fron a .net windows app it works great, and if the assembly throws an exception it is caught by the .net winform app. When I use this assembly from Excel, Excel will report an ...
|
| Unmanaged Type Name and Strong Names | 07 Jan 2005 18:17 GMT | 2 |
Why is the IDE not letting me compile with an instance of an unmanaged type library COM object? It tells me that the type library needs a strong name? I did not think this was necessary for unmanaged type libraries... How do I fix this, since I cannot modify the type library ...
|
| Word Interop not printing | 06 Jan 2005 21:49 GMT | 2 |
I am trying to use Word.Interop to print from ASP.NET. I can get it to open the document but it just hangs on the PrintOut method. I have tried a variety of combinations for the arguments (background = false etc.) to no avail.
|
| Word Automation - RPC Error | 06 Jan 2005 17:50 GMT | 1 |
I have a VB.Net app that creates a Word.Application and Word.Document object. It loads a Word document. However, in my cleanup code when the user closes the window, I call the Quit method the Word.Application object and set the objects to nothign. This works fine except if the ...
|
| late binding problem | 06 Jan 2005 17:47 GMT | 1 |
If we do late binding of office it appears we need to be able to do something like if (Office xp) else if (office 2003)
|
| Problems with Word 2000 automation | 06 Jan 2005 02:41 GMT | 1 |
I'm automating Word in my VB.NET Windows Forms application, and I'm hitting a problem when the application is used with Word 2000. To access the Word functionality, I created a reference to the Word 97 type library (we support all versions from 97 onwards). I then have some code
|
| buffer overrun | 05 Jan 2005 22:39 GMT | 3 |
Hello, I'm trying to get a callback from a custom dll into a C# application. I get the correct callback, with the right parameters but when it gets out of the scope of the callback method I get an exception (with Microsoft Visual C++
|
| RawPrinterHelper | 05 Jan 2005 22:24 GMT | 1 |
I have problem with printing using below code to my printer , anyone have any idea why this Code is not working . I have WinXP SP1 Public Class clsRawPrinterHelper
|
| COM with C# overloads | 05 Jan 2005 22:19 GMT | 3 |
I wrote an API in C# which included a couple of overloaded methods: bool SendMessage(byte[] msg); bool SendMessage(byte[] msg, uint priority); I've now been asked to add a COM wrapper. However COM doesn't
|
| Marshaling a String Array | 05 Jan 2005 22:14 GMT | 3 |
I need to marshal as string array in C# to an IntPtr. Ist there any way to do this. for instance. string[] str = { "this", "should", "have", "a", "pointer" }; IntPtr ptr = Marshal.AllocHGlobal(Marhsal.SizeOf(str.Length * str.Length);
|