Solved

"Cannot Create ActiveX Component" Error while doing WordPerfect Merge in VB.NET Application (In Citrix Environment)

Posted on 2006-11-08
5
726 Views
Last Modified: 2013-11-25
I have a VB.Net Application that merges WordPerfect Templates with the Data from the form. It uses the "WPWIN13.tlb" Type Library.

This application is working fine on my PC. But when I move it to Citrix Server, it gives the following error when I try to merge a Wordperfect Document with its Data File: "Cannot create ActiveX component". Please help!

How to remove this error?
0
Comment
Question by:RAJIVJAX
5 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 17902165
Is the type library on the Cirtrix server ? with all its dependant files ?
0
 

Author Comment

by:RAJIVJAX
ID: 17903264
Thanks for the reply.

The type library is on the Citrix Server. I can see that in the correct place.

 I am assuming that all the dependent files must be copied when I installed my application on Citrix Server.

Is there a way I can check the dependency of this type library on Citrix Server?



0
 
LVL 3

Accepted Solution

by:
royce2020 earned 250 total points
ID: 17910471
just copying the files won't do the trick. You need to register them as well. If you have an actual installer for the .NET app then this should have taken care of most of them. To register an activeX control, use the regsrv32 command:
regsvr32 c:\activeX\mycontrol.ocx

Another thing that you might want to check is that Word perfect (and any other COM program that this app is dependent on) is installed correctly on the server, with all the same options as your machine, otherwise the COM interface might be throwing this error.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Software installation of SCCM client 14 134
Problem to App 4 98
Python 3.5.2 32 virtualenv problems 3 67
draw a Christmas tree by using a nested loop? 26 77
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you don't know how to downgrade, my instructions below should be helpful.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question