Print Page | Close Window

VS2008 does not register ActiveX after deployment

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2064
Printed Date: 04 Apr 26 at 5:19PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: VS2008 does not register ActiveX after deployment
Posted By: FrankC
Subject: VS2008 does not register ActiveX after deployment
Date Posted: 04 Dec 11 at 10:29AM
Hello guys,
 
using VB.NET from Visual Studio 2008, I have successfully created an application which creates PDF files using 'QuickPDFAX0813.dll'. VS runs on the host computer, where Quick PDF Library 8.13 is installed. Therefore QuickPDFAX0813.dll is registered correctly.
 
After performing 'publish', 'setup.exe' and some files are created. If this set of files transfed to a remote computer, 'setup.exe' is executed. On the remote computer,  Quick PDF Library 8.13 was never installed. When the application is started, an error is raised which indicates that 'QuickPDFAX0813.dll' is not registed.
 
File 'QuickPDFAX0813.dll' was included in the project as local copy.
 
It there a custom tool or option necessary to force a registration of an ActiveX component?
 
Thanks,
 
Frank



Replies:
Posted By: Wheeley
Date Posted: 05 Dec 11 at 4:14AM
As you just found out, when using the ActiveX it must be registered to use. This can be a problem with some IT departments when distributing your application. So how are you distributing your application? Some installers can register the ActiveX if the user running the installer has administrative privilege. You could also call regsvr32.exe "<directory>\QuickPDFAZ0813.dll" to register the ActiveX but again the user must have administrative privileges to do this. If this will be a distribution issue for clients, then your best bet is to use the non-activex DLL instead.

Wheeley



Posted By: Wheeley
Date Posted: 05 Dec 11 at 4:24AM
ps
There's a sample here using the non-ActveX DLL.

http://www.quickpdflibrary.com/samples/index.php

Wheeley



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk