| Thread | Last Post | Replies |
|
| COM object that returns a string | 29 Dec 2007 09:22 GMT | 2 |
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,
|
| SetWindowPlacement | 28 Dec 2007 21:37 GMT | 2 |
For the life of me I cannot get this API function to work as expected in VB.Net I am however using SetWindowPos, and so long as the window is not minimized, it will position as I tell it to. If the window is
|
| "Attempted to read or write protected memory" on some vista machin | 27 Dec 2007 13:05 GMT | 11 |
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.
|
| 80131534 error trying to instantiate interop com from asp | 25 Dec 2007 04:26 GMT | 18 |
Hi... One of my colleagues is have a problem that's driving him crazy. We have a number of assemblies that expose some C# objects as COM. One particular one is throwing an 80131534 error on instantiation from an ASP
|
| Impact of InprocServer32\RuntimeVersion ? | 24 Dec 2007 05:18 GMT | 2 |
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
|
| how to register an assembly that uses ADODB | 21 Dec 2007 22:06 GMT | 2 |
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
|
| How to serialize Excel Workbook into a memory stream | 20 Dec 2007 22:07 GMT | 2 |
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.
|
| Excel Application.Calculation Property | 20 Dec 2007 08:29 GMT | 2 |
Setting this property when no workbook is open throws an exception. Is this the intended behavior?
|
| vbproj csproj containing cs & vb files | 19 Dec 2007 20:16 GMT | 1 |
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?
|
| Testing the COM API of a .NET interop assembly | 19 Dec 2007 11:07 GMT | 2 |
I am trying to create a unit test in .NET that tests the COM API of a .NET assembly that was registered for COM interop (regasm). So the call sequence is like: .NET -> PIA -> .NET. What seems to happen is that a RCW is created that tells the CLR that the underlying type of
|
| When to use Marshal.GetNativeVaraintForObject | 19 Dec 2007 11:01 GMT | 1 |
Hi, I notice that Marshal.GetNativeVaraintForObject is a way to create a variant from object. But DotNet can do marshalling from object to variant when an object is used as a parameter.
|
| Interop Error: No matching sub on interface | 19 Dec 2007 09:09 GMT | 3 |
I will get a compiler Error when trying to implement an interface, using ActiveX-types as parameters in VB.NET. I will explain the problem with ActiveX-ADODB v2.8 but, i can reproduce the bevaviour with a selfwritten dummy activeX-lib.
|
| COMException error when using 64bit .NET Framework 2.0 & 3.5 | 19 Dec 2007 05:01 GMT | 2 |
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
|
| Saving dataset to XML and reading back gives different data | 18 Dec 2007 19:41 GMT | 5 |
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.
|
| Unable to access folders across two servers. | 17 Dec 2007 13:54 GMT | 1 |
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.
|