Eric

At the risk of pointing out the obvious, have you loaded UniDK onto the XP
machine?
Rememeber the interop DLL created is only a stub to interface between .Net
and the COM objects, which have to be installed and registered.

BTW is there a reason why you are using the COM version of UniObjects here?
If you're using .net, you should use the UO.NET package.

Brian 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric 
> Armstrong
> Sent: 16 June 2008 21:27
> To: [email protected]
> Subject: [U2] ActiveX component problem with Uniobjects 
> application and Visual
> 
> I have written my first uniobjects app with Visual Studio 
> 2005 on my Windows XP at home. It built fine and generated 
> four files in the Release folder, Interop.UNIOBJECTSLib.dll 
> ProfileApp.exe ProfileApp.xml ProfileApp.pdb
> 
> I transferred these four files to my PC at work, updated the 
> .net version to
> 2 something, and it worked fine, but when I transferred the 
> same four files to another PC with Windows XP, updated the 
> .net version, and tried to run it, I got the following error 
> message when the uniobjects were invoked-
> 
> System.Exception: Cannot create ActiveX component.
>    at Microsoft.VisualBasic.Interaction.CreateOjbect(String 
> Progld, String ServerName), etc.
> 
> Does anyone have any idea what the problem and/or solution is?
> 
> Eric Armstrong
> Programmer/Analyst
> Lobel Financial
> 714-816-1207
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to