DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 1 Aug 2007 12:56:31 -0400,    posted on: microsoft.public.dotnet.framework.interop        back       

Thread Index
  1    WNC


COM Interop problem   
I have a third-party ActiveX control that I use in C# .NET with COM Interop
(dropped onto form in Visual Studio, etc.)  Works just fine on four
different computers.  However, I just got a new computer (Dell XPS 410).
When I installed the control, I got an error (Generate Activation Context
failed).  I contacted the vendor, who said I need to install the Microsoft
Visual C++ 2005 Redistributable Package and The Microsoft Visual C++ 2005
SP1 Redistributable Package, available on Microsoft's website, then use
regsvr to register the control (I euidn't need to do that on any of the
other computers I've installed this ActiveX control on).  So I did that,
everything installed without problems, and now the control is registered (I
checked).

However, when I use my C# interop program (same program I use successfully
on four other computers running Win2K, WinXP SP1 and SP2), I get an error
from System.Exception that says "Number of parameters specified does not
match the expected number."  That's not true, it's the same version of the
control I use on the other computers, and the same software.

I'm completely baffled, and so far so is the vendor.  Can anyone shed some
light on this problem?  Could this have to do with the problems I had
installing the .ocx control in the first place?

Thanks very much for any help.
Date:Wed, 1 Aug 2007 12:56:31 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us