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 > december 2007 > threads for december 15 - 21, 2007

Filter by week: 1 2 3 4 5

Impact of InprocServer32\RuntimeVersion ?
Posted by Mark at 12/21/2007 7:23:01 AM
Hi... Just out of curiousity, I was wondering if the InprocServer32\RuntimeVersion registry setting of a .Net COM interop object had any effect? I happened to notice the other day that our Wix msi projects errorneous install all our .Net COM interop with this set to v1.1.4322 even though a...more >>


COM object that returns a string
Posted by JustinInAtlanta@gmail.com at 12/20/2007 1:54:01 PM
Hello. I have written a Class Library in C# that has two methods: GetNumber returns 17 GetName returns foo I am able to add a reference to the COM object from an ASP.NET page, call both methods, and display the correct results in labels on the Web page. I also want to be able to instanti...more >>

EnumWindows, VB.Net
Posted by Zamdrist at 12/19/2007 1:35:50 PM
I know that a callback function can be used to run the EnumWindows function of WIn32 API in VB.Net. My question is however...is there a strictly VB.Net way of doing this, not using a callback function and the Win32 API? i.e. What is the .Net *way*...or is there one? Thanks...more >>

how to register an assembly that uses ADODB
Posted by DMurray at 12/19/2007 11:11:02 AM
Hello, I have an assembly that references a COM DLL that uses ADODB. It runs properly when run from a regular .Net program, but I need it to run from SQL Server 2005. When I try to register the assembly it gets an error because it cannot find adodb.dll. When I try to register adodb.dll i...more >>

vbproj csproj containing cs & vb files
Posted by Deodiaus at 12/19/2007 8:03:54 AM
Is there a way to insert both cs & vb files in a dotnet 1.1 vbproj or csproj file? I guess I could compile them into lib files and then interlink?...more >>

How to serialize Excel Workbook into a memory stream
Posted by leviw at 12/18/2007 3:08:36 PM
Is there a way to save a dynamically created Excel workbook to a Memory stream? There are no overloads in the Save method to save to a stream. I want to create a web service that will dynamically generate an Excel file, but do not want to use a temporary file for each call. I cannot get the st...more >>

Saving dataset to XML and reading back gives different data
Posted by Lucvdv at 12/18/2007 10:46:08 AM
This would better be described by 'serialization' than 'interop', but I didn't find a newsgroup that seems closer on topic. The problem in a few words: I save data with DataSet.WriteXML, but I get different data back when I read it later with DataSet.ReadXml. More detail: I'm saving a...more >>

COMException error when using 64bit .NET Framework 2.0 & 3.5
Posted by Neil at 12/18/2007 9:23:01 AM
Hi - I posted this several weeks ago and haven't received any 'real' response from the group. Here we go again :): ================================================= My .NET application makes a call to a DCOM server through an interop assembly generated by VS 2005/2008. The program runs fine...more >>



"Attempted to read or write protected memory" on some vista machin
Posted by Jason Rodman at 12/17/2007 8:14:03 PM
I have a strange issue when using a COM component in VS 2005 or 2008. If I compile my application and run it, it works on any xp machine, but does not work on most vista machines. I get an "Attempted to read or write protected memory" error on a certain line. I contacted the vendor of the ...more >>

Excel Application.Calculation Property
Posted by pearsons_11114 at 12/17/2007 10:31:01 AM
Setting this property when no workbook is open throws an exception. Is this the intended behavior? ...more >>

Unable to access folders across two servers.
Posted by Neeba at 12/16/2007 11:14:00 PM
Scenario : 1. The Department files to be accessed are present in the File server. 2. The Code is present in a different server with OS being Windows Server 2003. 3. Access to File server happens using ADS Authentication. 4. Code is developed in ASP.NET using VB.NET. (Web.Config file setting...more >>


DevelopmentNow Blog