| Thread | Last Post | Replies |
|
| Adding Toolbar or Menu to Word embedded in WinForms via DSOFramer | 17 Jul 2007 07:10 GMT | 2 |
We have a smart-client WinForms app that uses DSOFramer to embed MS Word as a panel of our app. We want to create a few commands that are specific to our app that act on the Word document. The two most logical approaches for that are:
|
| Marshal.QueryInterface returning E_NOINTERFACE | 17 Jul 2007 01:13 GMT | 6 |
I use the ReadClassStg API call to find out what application owns a given storage. In my test case it is Word. //4) Determine the CLSID of the COM object that owns the IStorage. Guid clsid = new Guid();
|
| Marshal.PtrToStringAnsi() Memory Leak? | 13 Jul 2007 13:51 GMT | 3 |
I've been noticing a memory leak with the following sample code snippet. Can someone please advise. Have a C# Winforms app with the following code on a button-click event.
|
| Problems creating DCOM server in C#; urgent... | 13 Jul 2007 00:16 GMT | 1 |
I need to create a DCOM server in C# with a friend, to be accessible for a client application with embedded VBS. We started with a "Hello world" article at http://blogs.msdn.com/adioltean/archive/2004/06/18/159479.aspx
|
| C# 2 fixed sized buffers and interop | 12 Jul 2007 21:33 GMT | 6 |
I've just started looking into fixed sized buffers in C# 2, and I think I must be missing something. I have no problems when not dealing with interop, but as soon as I start using interop things go wrong. I thought I'd try GetTimeZoneInformation as a starting point, partly
|
| Marshalling a complext structure | 12 Jul 2007 00:39 GMT | 1 |
I am working with clipboard. It stores data pointed to by using a void pointer. I have a managed object of a complext structrue containing native data (e.g. int, long) as well as objects of my own class and arrays of objects, pointers to objects etc. How to marshal that structure ...
|
| Multiple DLL instances | 11 Jul 2007 18:06 GMT | 8 |
I have a non thread safe vendor supplied DLL (probably created/written with Borland C++ Builder). I would like to have multiple threads accessing seperate instances of this DLL, which I've discovered is not possible.
|
| Read-Only Word document in AxWebBrowser | 11 Jul 2007 16:17 GMT | 3 |
I've been trying to find a way to host a 'view' of a Word document in a Windows Forms app. Ideally I'd like it to be just the document; no controls or toolbars, and certainly no editing functionality. It seems that the recommended way is to us the WebBrowser control, and to be
|
| RegFree COM ClickOnce an PublicNotCreateable VB6 Class | 10 Jul 2007 14:59 GMT | 5 |
I found a post in January 2006 by "Scott" titled "Reg-free COM problem". He describes that RegFree COM doesn't work for a component written in VB6 that uses publicNotCreateable classes. I have exactly the same problem :
|
| DSO Framer event not firing: axFramerControl1_PreviewKeyDown | 10 Jul 2007 08:42 GMT | 10 |
We are using DSOFramer to host MS Word within our WinForm-based smart client app. Anywhere in our app, pressing F1 raises our context-sensitive help dialog. When our users are inside MS Word within our app and press F1, we bring up a
|
| String members of structure not allowed? | 09 Jul 2007 07:50 GMT | 5 |
I have some existing vb6 code that I am moving to a .net dll for easy access from both vb6 apps as well as vb.net apps. There are some custom api calls that use structures that have strings in them. I didn't think this would be a problem but I find that if I put a string
|
| Calling VB.NET DLL from VC++ | 06 Jul 2007 18:11 GMT | 9 |
I am trying to call VB.NET DLL from withing the VC++ project. It is failing. Pls let me know how I can do it. Thanks Bhanu
|
| Using .NET COM object in VBA fails | 04 Jul 2007 13:34 GMT | 2 |
I have a problem using .NET assemblies by their COM interface from VBA. Everything works well on my machine, but on a different PC I allways get the error message: "Automation error. The system cannot find the file specified."
|
| calling Uniscribe from C# | 04 Jul 2007 12:56 GMT | 2 |
I have a two questions about interoperating with unmanaged code. I'm trying to call a function from a DLL file called usp.dll which contains Uniscribe functions from C#. I'm calling a function called ScriptItemize which is defined with its structures as follows:
|
| COM Interop | 04 Jul 2007 06:36 GMT | 2 |
I am trying to reference a COM dll ( x.dll) from my C# code. I have to do this programatically at runtime and access its functions. ( Not through Project-->Add Reference->COM-------etc that we do through visual studio).
|