Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > september 2005 > threads for september 1 - 7, 2005

Filter by week: 1 2 3 4 5

Has anyone PInvoked the Toolhelp32 functions?
Posted by Thomas W. Brown at 9/7/2005 10:10:10 AM
I'm trying to use the Toolhelp32 functions to enumerate processes, specifically because I need to get the Parent Process ID of a specific process (to know who launched it). The CreateToolhelp32Snapshot call does not fail (does not return an INVALID_HANDLE_VALUE), but the call to Process32Fi...more >>


GetCurrentThemeName
Posted by basseman at 9/7/2005 9:09:54 AM
Hi, is there any equivalent Set function of the GetCurrentThemeName I want to change the WinXP Style, using the GetCurrentThemeName give me the current active Theme, is there a way to change that programaticly ? is there any SetCurrentThemeName ? I went threw uxtheme.dll and I did not find a...more >>

Help - I'm getting random values from com-object
Posted by alfred.sehmueller NO[at]SPAM gmx.de at 9/7/2005 8:58:42 AM
Hello, please help me with a problem that drives me crazy: We've migrated our Legacy ASP application to ASP.NET some time ago. What's left is a a custom com-object (VB6) for the core-functions. We had no trouble with this combination so far. Now I get random values from a function of the ...more >>

dllimport Byte array Marshal
Posted by abunet at 9/7/2005 8:10:08 AM
Hallo to everyone, I have a dll called (picboot.dll) written in c++ that works in a vb6 project. I'm trying to convert the vb project in c#. PacketData is a byte array parameter, that reads and writes bytes to the dll, calling the functions ReadPic and WritePic . I've started with the new...more >>

Many, many repeated runs of COM component from .NET causes TargetInvokationException...COMException (0x80010007)
Posted by Gemma M at 9/7/2005 12:00:00 AM
Hi, Just before the query : I have posted a similar query to this prviously. Either no one knows the answer, or it is so painfully obvious, no one has bothered to post an answer. If it is the latter, please point out the obvious to me. I'm getting desperate. Someone suggested it mi...more >>

w3wp.exe crash
Posted by Johan Karlsson at 9/6/2005 9:09:39 AM
Hi! I have an webapplication written in ASP that talks to a dotnet app hosted in a winservice application via .net remoting. The server is based upon a singleton object that serves multiple ASP websites. About three times a week the w3wp.exe process crashes and debugging the minidump giv...more >>

Show/Hide Columns in Windows Explorer
Posted by RonNanko NO[at]SPAM gm-squared.de at 9/6/2005 6:32:13 AM
Hi all, I am currently developing a shell extension, which introduces some new columns for Windows Explorer's detail view. Everything works fine, but how can I programmatically (via registry settings or the like) activate these columns, or determine whether the columns are visable due to th...more >>

Excel templates (Old format or invalid type library.)
Posted by Filip De Backer at 9/6/2005 3:26:10 AM
Hi everybody, Microsoft.Office.Interop.Excel.Workbook ExcelWorkbook = ExcelWorkbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet); this gives me the following error: Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)) I've ...more >>



User defined Clipboard objects in other applications
Posted by Christian Nein at 9/6/2005 12:00:00 AM
Hi, I am storing userdefined objects in the clipboard and I want them to be available for external applications (Notepad, Excel, Word, ...) How does my userdefined object have to look like to be usable in other applications? Do I have to implement a special named method or something like that?...more >>

cost of Marshalling a large array
Posted by Iain at 9/5/2005 2:48:43 PM
I have a C++ module which takes and returns parameters as (one and two D) arrays of int and double. I want to call this from c#, but I'm concerned about the memory implications. THe data items in question represent a sparse array which may have many millions of entries. The impression I ha...more >>

Need help with COM in .NET and CreateObject
Posted by Magnus at 9/5/2005 8:25:29 AM
I need to make a class in .NET as a COM class, and get access to it with CreateObject in VB6. I googled it and saw this link: http://www.codeproject.com/dotnet/nettocom.asp?df=100&forumid=14076&exp=0&select=1092357#xx1092357xx But in this example, and others I have tried, CreateObject in VB6 t...more >>

Marshalling variable length C array in C#
Posted by Void Ptr at 9/5/2005 12:29:34 AM
Hi , I want to marshal following C structure . ---------------------------- [C] struct Foo { int First; int Second; }; struct FooList { int Count; Foo List[1]; }; void GetFooList(struct * FooList fList); I am doing it following way [C#] -------------------- [St...more >>

Win32.WINDOWPOS
Posted by rob at 9/3/2005 12:12:07 PM
Can anybody tell me where this Win32 comes from? I would like to use it but can't find any information about it. The only thing I found is this: http://groups.google.com/group/microsoft.public.dotnet.framework.interop/browse_thread/thread/2e68307c5e9e5b0b/cd077b7c09484f82?lnk=st&q=%22best+way+t...more >>

mschart crashes in C# .NET appication
Posted by Khoi Nguyen at 9/2/2005 12:43:04 PM
I am having problems running a C# application which uses mschart 6.0 on machines with just .NET Framework installed. If I run this application on a machine with the full Visual Studio .NET 7.0 installed then it runs just fine. My application is very simple, I have a form and added the mschar...more >>

COM Interop: map IServiceProvider interface to managed code.
Posted by Ben Whittle at 9/1/2005 10:19:01 AM
Hi. Can you help me to solve this issue.... Im working with DirectShow and Windows Media Format SDKs from a C# app so there is a lot of interop library work (http://directshownet.sourceforge.net), this access to directshow is great but there is a task i want to do that requires me to use th...more >>

Interop: Using WriteProcessMemory on LVITEM Structure
Posted by Charles Law at 9/1/2005 9:09:13 AM
I have defined LVITEM as follows: <StructLayout(LayoutKind.Sequential)> Private Structure LVITEM Dim mask As Int16 Dim iItem As Int16 Dim iSubItem As Int16 Dim state As Int16 Dim stateMask As Int16 <MarshalAs(UnmanagedType.LPWStr)> Dim pszText As IntPtr Dim cchT...more >>

Registration of .NET DLL for COM Interop
Posted by TerryC at 9/1/2005 8:33:40 AM
I have developed a .NET DLL for another team who will be deploying it with their VB6 application. This DLL must also work with .NET applications in the near future. This team has been able to succesfully integrate my .NET DLL with their VB6 application, but it appears that each time I give t...more >>

Transfer MailMerge process to client side
Posted by Abdelhamid MEJAI at 9/1/2005 2:05:28 AM
I have made a mail merge process in server side using C# (web application). In my template (.dot file), I use xsd shema and XML file as datasource and every thing work nice. My problem is that doing this operation in server side is very cost for resources. I want to know how to do this in cli...more >>


DevelopmentNow Blog