Groups | Blog | Home


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 > may 2006 > threads for may 15 - 21, 2006

Filter by week: 1 2 3 4 5

Excel selects wrong .NET runtime
Posted by kh at 5/21/2006 5:08:41 PM
Hi. I have developed a very basic .NET 2.0 CCW for use from Excel. My dev box has both 2.0 and 1.1 installed. MSDN docs tell me Excel will use the latest ..NET version by default, but using fuslogvw.exe I can confirm that Excel is in fact attempting to run my component using .NET 1.1. How ...more >>


App crash while handling unmanaged callback functions
Posted by Sushrut at 5/20/2006 10:39:01 PM
Hi, I have to handle unmanaged callback functions in my C# code. I am doing it using delegates. I get the callback from the unmanaged code correctly with valid data, but as soon as my managed (C#) callback handling method returns, the app crashes. I suspected that this could be due to garbage...more >>

Copy User Settings & Profiles - XP Home SP2 Help is USELESS
Posted by tankboy at 5/20/2006 12:59:02 PM
I set up my mom's login, installed her programs and games, created folders, cleaned up and neatened the folder's and icon's appearances, and organized the desktop. Dad's login is going to be 95% similar. Is there anyway to copy all those settings to his login without having to repeat myself? T...more >>

Screen flashes when windows form is unloaded?
Posted by TCook at 5/19/2006 1:23:36 PM
Hey All, I have a VS2003, C# addin for MS Word 2003. When the windows form unloads, the screen flashes. I've never seen this behavior before. Usually, the unloading of a form is very smooth. I was wondering if anyone else has experienced this and, if so, if you were able to resolve it...more >>

HtmlEditor update
Posted by Tim Anderson at 5/19/2006 1:01:50 PM
I've posted an update to the HtmlEditor - hosts Msthml in C#. I've removed the dependency on Microsoft.mshtml. See here: http://www.itwriting.com/htmleditor It would be nice to be able to use the DOM in System.Windows.Forms with the control. You can easily get the unmanaged DomDocument fro...more >>

.NET-COM : QI works but method invocation fails
Posted by julio at 5/17/2006 7:14:01 PM
Hello, I'm accessing a COM object from C#. The COM object is running in a separate process. From C# I can QI for IY, but any method on IY that I try to call fails with InteropServices.COMException. The error states that the method returned E_FAIL. I have attached in a separate debugge...more >>

PInvoke of callback returns error (.NET 2.0, C#)
Posted by t.dasch NO[at]SPAM sciencescholars.net at 5/17/2006 7:56:47 AM
Hi, I am trying to P/Invoke a DLL containing C-API having a C-function pointer as callback. I tried to write my P/Invoke (see below) but when I run the application, I get an exception when the "myCallback" method should be called. The exception has the following message: Attempted to rea...more >>

tlbimp problem ?
Posted by magne at 5/16/2006 11:48:35 PM
Using Visual Studio 2005 with WinFx CTP february added to it. Adding a reference to a dll file (type library). When using OleView/File/View TypeLib I get something like: : [ odl, uuid(some guid), helpstring("IEnumEntity Interface"), hidden, custom(some other guid, committed) ...more >>



Windowless ActiveX controls are not supported
Posted by Alfredo Delgadillo at 5/16/2006 1:07:02 PM
Hi everybody, I using VS.NET 2005 Pro to develop win form application and I need include an activex control to show information, this works good In developing time but after deploy doesn't work it, I try to running in a clean machine with framework 2.0 installed I found this error 'Unabl...more >>

Can unmanged code corrupt dot net
Posted by Jrax at 5/16/2006 1:07:01 PM
Hi, If a dot net app calls unmanaged code can that unmanaged code corrupt the dot net app. I'm thinking about a lang using pointers. If yes, are there any good debugging techniques to catch this? Thanx jra...more >>

.NET COM latebinding
Posted by MikeM at 5/16/2006 10:31:51 AM
I'm facing a problem where I'm trying to use a new .NET app to access some old VB6 ActiveX exes. The ActiveX exes implement a (base) COM dll and use an exposed method from that COM dll to do some work. Here is what I got from the OLE viewer pcIEBase has a public function Export interface _cls...more >>

Detailed info for running Process
Posted by Kevin Hector at 5/16/2006 3:41:02 AM
hi. we are having problems with hung processes on a production box onto which i cannot install any 3rd paty software (e.g. sysinternals). the hung process will be one of many scheduled tasks all executing as svchost. i would like to find out which of these tasks is hanging without stopping the...more >>

.NET interop and using remoting
Posted by Josh Bernard at 5/15/2006 11:14:02 AM
Im having some problems getting my .net assembly to work correctly through a CCW. In the initial release I did not have to use remoting and it was very simple to get it working under VB6. Now I must use remoting to access a data provider and Im seeing weird things happen. I developed and te...more >>


DevelopmentNow Blog