ActiveX Component Can Not Create Object
Obviously, this error is not rare and not limited to Adobe. What is troubling about this one for me is that it happens so inconsistently. I'm programming in VS2005/VB.net. The application receives incoming faxes in TIF format and converts them to PDFs.
The files get routed through our company and at two points the PDF files get watermarks added. There is a single procedure that applies both watermarks. The error is never generated on the first call and happens less than 25% of the times on the second call. It happens on some computers more than others. I trap for the error and I'm able to deal with it, but it would be better if I could stop it from happening. All of our users have Acrobat Standard version 8.1.0
Any help is appreciated.
Thanks,
Greg
Well, it is hard to say exactly where it is happening because it has never happened on my development machine. I have the Apply Watermark() procedure trapped in a Try...Catch block and that is what throws the exception. Below is the procedure. The parameters passed in are a the file name, the text of the watermark, and either a 1 or a 0, depending on whether it is the first or second watermark. Above this procedure, the only thing that happens to the document prior to the Apply Watermark call is that the PDF document is moved from a temporary holding folder on the server to a permanent folder on the same server. The file is moved and then the watermark is applied.
Public Sub ApplyWaterMark(ByVal sPDFFileIn As String, ByVal sWatermarkStr As String, ByVal iIndex As Integer)
' global variables
Dim jsObj As Object
' Create a PDDoc IAC object.
Dim pdDoc As Acrobat.CAcroPDDoc
pdDoc = CreateObject("AcroExch.PDDoc")
If pdDoc Is Nothing Then
MsgBox("Failed to create Acrobat PDDoc object.")
Exit Sub
End If
Rename(sPDFFileIn, sPDFFileIn & "temp")
' Open the source PDF document
Dim rc As Integer
rc = pdDoc.Open(sPDFFileIn & "temp")
If rc <> -1 Then
MsgBox("Failed to open PDF document " & sPDFFileIn, MsgBoxStyle.Critical)
Exit Sub
End If
' Acquire the Acrobat JavaScript Object interface from the PDDoc object
jsObj = pdDoc.GetJSObject
' make a color object
Dim oColor As Object
oColor = jsObj.color.black()
' Add a text watermark.
' function prototype:
jsObj.addWatermarkFromText(sWatermarkStr, 2, "Helvetica", 10, oColor, 0, 0, True, True, True, 0, 2, 1, 200 + iIndex * 30, False, 1.0, False, 0, 1)
' save the PDF with watermarks to a new document.
rc = pdDoc.Save(1, sPDFFileIn) ' full save
' close original PDF.
pdDoc.Close()
pdDoc = Nothing
jsObj = Nothing
' to clean up, get the Acrobat application,
' close Acrobat if there are no open documents.
Dim gApp As Acrobat.CAcroApp
gApp = CreateObject("AcroExch.App")
If gApp.GetNumAVDocs = 0 Then
gApp.CloseAllDocs()
gApp.Exit()
End If
' show message. You can comment it out if you really need a quiet operation.
If rc <> True Then
MsgBox("The watermark failed to apply. This document was not time stamped.", MsgBoxStyle.Critical)
Else
Kill(sPDFFileIn & "temp")
End If
End Sub
Similar Messages
-
Profibus card program has 429 ActiveX component can not create object
I have a Profibus card (DF_PROFI_II DP). It was working fine on an old PC. Our IT department need to upgrade PC to a new one, and now I can not get it to work on the new PC.
Both PCs run windows XP. I tried driver for original CD which is 1.32.1 and I tried a downloaded driver 1.35.0. In both cases, windows can recognize the hardware. However when I tried to run Configurator II, the program always shows a message like below:
Anybody can help?
Thanks,
Attachments:
error.JPG 14 KBIf the error happens as soon as you start the configurator I would think there is a conflict between different versions of the configurator.
Could you go ahead and remove the board from your PC, uninstall all Comsoft components from your machine. Sometimes that might be not only the driver but also the configurator.
Then go ahead and delete the Comsoft folder, reboot and install the 1.36.2 driver.
Then install the detect the board again and try the configurator.
DirkW -
I've looked at all the other threads I could find in Technet that look close to this issue.
In my BDD.log, the last entry is "FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object" right after "RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll""
I have the following:
C:\_SMSTaskSequence folder
C:\MININT folder
LiteTouch.wsf link under the Startup Folder
Deployment share is mapped properly
System logs in automatically as local administrator
Even with this, it does not automatically resume the imaging job. I do not understand why it is not continuing.
If I launch the LiteTouch.wsf from an Admin elevated cmd window, the Task Sequence resumes like nothing was wrong.
Any guidance is appreciated!
EDIT1: I changed my customsetting.ini file to join a workgroup instead of the domain and it appears to be continuing without issue now. Is there something I am missing as to why it does not automatically run when it joins to a domain?Just wanted to provide an update.
So, i took the suggestion of a few other blog posts and moved the object into the Computers Container in AD so it did not have any policies impacting it. After doing this, it properly cycles through the application installs and reboots in the Task Sequence
while joined to the domain.
Is there an sort of comprehensive list of GPO settings that break MDT? The ones I have found (legal prompt, etc.) we do not do so it has to be something else. -
ActiveX Component Can't Create Object
Hi Frds,
Getting this error when making a chances in change query global defination Error : Runtime Error '457': This key is Already is already assosiated with an element of this collection..When i was clik on then again i m getting message like Runtime Error ''429': ActiveX Component Can't Create Object.
What is the excat prblem can any one let me know...
Thanks,
ALiHi,
For Runtime Error '457'-Pls Check SAP Note - 517232
ForRuntime Error '429' You can refer SAP Note: 542933
Pls chk this link also;
https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=542933&_NLANG=E
Hope this helps
Regards
CSM Reddy -
SBO2004A: Runtime Error 429 ActiveX Component can't Create Object
Hello,
We have an Addon developed with VB6 that run without problems with SBO 6.5.
We have upgraded to SBO2004A and I have referenced in the source code to the 2004 UI and DI. I debug mode (from IDE) we don't have problems, but when I try to execute the addon from a client, I get this error message:
<b>Runtime Error 429 ActiveX Component can't Create Object</b>
Thanks in advance
BlasI'm using Installshield 10.5 to generate the setup file. It's much more easy and not requiered to install Framework 1.1 in each PC client before to install the Addon.
You have to create and msi project, and write the Installscript to retrieve the install directory from parameter string passed by SAP.
After install you must execute the AddOnInstallAPI.EndInstall to notify SAP:
#include "ifx.h"
prototype LONG AddOnInstallAPI.EndInstall();
prototype LONG AddOnInstallAPI.RestartNeeded();
// OnFirstUIBefore
// First Install UI Sequence - Before Move Data
// The OnFirstUIBefore event is called by OnShowUI when the setup is
// running in first install mode. By default this event displays UI allowing
// the end user to specify installation parameters.
// Note: This event will not be called automatically in a
// program...endprogram style setup.
function OnFirstUIBefore()
number nResult, nLevel, nSize, nSetupType;
string szTitle, szMsg, szOpt1, szOpt2, szLicenseFile;
string szName, szCompany, szTargetPath, szDir, szFeatures, szTargetdir;
BOOL bLicenseAccepted;
LIST listID;
begin
nSetupType = COMPLETE;
szDir = TARGETDIR;
szName = "";
szCompany = "";
bLicenseAccepted = FALSE;
// Beginning of UI Sequence
Dlg_Start:
nResult = 0;
Dlg_SdWelcome:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SdWelcome)
nResult = SdWelcome( szTitle, szMsg );
//}}IS_SCRIPT_TAG(Dlg_SdWelcome)
if (nResult = BACK) goto Dlg_Start;
Dlg_SdLicense2:
szTitle = "";
szOpt1 = "";
szOpt2 = "";
//{{IS_SCRIPT_TAG(License_File_Path)
szLicenseFile = SUPPORTDIR ^ "License.rtf";
//}}IS_SCRIPT_TAG(License_File_Path)
//{{IS_SCRIPT_TAG(Dlg_SdLicense2)
// nResult = SdLicense2Rtf( szTitle, szOpt1, szOpt2, szLicenseFile, bLicenseAccepted );
//}}IS_SCRIPT_TAG(Dlg_SdLicense2)
if (nResult = BACK) then
goto Dlg_SdWelcome;
else
bLicenseAccepted = TRUE;
endif;
Dlg_SdRegisterUser:
szMsg = "";
szTitle = "";
//{{IS_SCRIPT_TAG(Dlg_SdRegisterUser)
// nResult = SdRegisterUser( szTitle, szMsg, szName, szCompany );
//}}IS_SCRIPT_TAG(Dlg_SdRegisterUser)
if (nResult = BACK) goto Dlg_SdLicense2;
Dlg_SetupType2:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SetupType2)
// nResult = SetupType2( szTitle, szMsg, "", nSetupType, 0 );
//}}IS_SCRIPT_TAG(Dlg_SetupType2)
if (nResult = BACK) then
goto Dlg_SdRegisterUser;
else
nSetupType = nResult;
if (nSetupType != CUSTOM) then
szTargetPath = TARGETDIR;
nSize = 0;
endif;
endif;
Dlg_SdAskDestPath2:
if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SetupType2;
szTitle = "";
szMsg = "";
if (nSetupType = CUSTOM) then
//{{IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
// nResult = SdAskDestPath2( szTitle, szMsg, szDir );
//}}IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
TARGETDIR = szDir;
endif;
if (nResult = BACK) goto Dlg_SetupType2;
Dlg_SdFeatureTree:
if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath2;
szTitle = "";
szMsg = "";
szTargetdir = TARGETDIR;
szFeatures = "";
nLevel = 2;
if (nSetupType = CUSTOM) then
//{{IS_SCRIPT_TAG(Dlg_SdFeatureTree)
// nResult = SdFeatureTree( szTitle, szMsg, szTargetdir, szFeatures, nLevel );
//}}IS_SCRIPT_TAG(Dlg_SdFeatureTree)
if (nResult = BACK) goto Dlg_SdAskDestPath2;
endif;
Dlg_SQLServer:
nResult = OnSQLServerInitialize( nResult );
if( nResult = BACK ) goto Dlg_SdFeatureTree;
Dlg_ObjDialogs:
nResult = ShowObjWizardPages( nResult );
if (nResult = BACK) goto Dlg_SQLServer;
Dlg_SdStartCopy2:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SdStartCopy2)
nResult = SdStartCopy2( szTitle, szMsg );
//}}IS_SCRIPT_TAG(Dlg_SdStartCopy2)
if (nResult = BACK) goto Dlg_ObjDialogs;
return 0;
end;
// OnSetTARGETDIR
// OnSetTARGETDIR is called directly by the framework to initialize
// TARGETDIR to it's default value.
// Note: This event is called for all setups.
function OnSetTARGETDIR()
number nId, nIgnore, nResult;
string szId, szTARGETDIR;
string wCMDLINE;
LIST listID;
begin
// In maintenance mode the value of TARGETDIR is read from the log file.
if( MAINTENANCE ) then
return ISERR_SUCCESS;
endif;
// Set TARGETDIR to script default.
TARGETDIR = "<FOLDER_APPLICATIONS>
<IFX_COMPANY_NAME>
<IFX_PRODUCT_NAME>";
if (CMDLINE != "") then
wCMDLINE = CMDLINE;
StrReplace (wCMDLINE, '"', '', 0);
listID = ListCreate (STRINGLIST);
if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
MessageBox ("Parametros incorrectos.", SEVERE);
else
ListGetFirstString (listID, TARGETDIR);
//MessageBox (TARGETDIR, INFORMATION);
endif;
ListDestroy (listID);
return 0;
endif;
// Read TARGETDIR from the media.
nResult = MediaGetData( MEDIA, MEDIA_FIELD_TARGETDIR, nIgnore, szTARGETDIR );
// Use the TARGETDIR from the media if anything was read.
if( nResult >= ISERR_SUCCESS && StrLengthChars( szTARGETDIR ) ) then
TARGETDIR = szTARGETDIR;
endif;
// Customize the default TARGETDIR for multi-instance application.
// TODO: If you want something different customize the code below.
if( MAINT_OPTION = MAINT_OPTION_MULTI_INSTANCE && MULTI_INSTANCE_COUNT > 0) then
// Start with the current multi-instance count plus one.
nId = MULTI_INSTANCE_COUNT + 1;
// Find a unique TARGETDIR.
while( ExistsDir( TARGETDIR ) = EXISTS )
// Convert to string.
NumToStr( szId, nId );
// Update IFX_MULTI_INSTANCE_SUFFIX
IFX_MULTI_INSTANCE_SUFFIX = "_" + szId;
// Update TARGETDIR
TARGETDIR = TARGETDIR + IFX_MULTI_INSTANCE_SUFFIX;
// Update nId
nId = nId + 1;
endwhile;
endif;
end;
// OnEnd
// The OnEnd event is called at the end of the setup. This event is not
// called if the setup is aborted.
function OnEnd()
string wCMDLINE;
LIST listID;
STRING DLL_FILE;
INT nValue;
LONG nRC;
NUMBER nResult;
begin
if (CMDLINE != "") then
wCMDLINE = CMDLINE;
StrReplace (wCMDLINE, '"', '', 0);
listID = ListCreate (STRINGLIST);
if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
MessageBox ("Parametros incorrectos.", SEVERE);
else
ListGetFirstString (listID, DLL_FILE);
ListGetNextString (listID, DLL_FILE);
// MessageBox (DLL_FILE, INFORMATION);
endif;
ListDestroy (listID);
nResult = UseDLL (DLL_FILE);
if (nResult != 0) then
MessageBox ("No se ha podido cargar\nAddOnInstallAPI.dll", SEVERE);
abort;
endif;
if AddOnInstallAPI.EndInstall() > 0 then
MessageBox ("Error al ejecutar AddOnInstallAPI", SEVERE);
abort;
endif;
endif;
end; -
FDMEE 11.1.2.3 ActiveX component can't create object
Hello Gurus,
I am testing FDMEE 11.1.2.3 and am running into an issue when trying to export to my target HFM application. (Import/Validate work fine). Below is the error log:
I am loading from a flat file.
E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\HFM_LOAD.vbs(4, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'erpiHFMAdapter.clsFMAdapter'
2014-01-02 16:11:03,568 FATAL [AIF]: Error in HfmData.loadData
Traceback (most recent call last):
File "<string>", line 106, in loadData
RuntimeError: Load Error
2014-01-02 16:11:03,614 FATAL [AIF]: Error in HFM Load Data
2014-01-02 16:11:03,617 INFO [AIF]: FDMEE Process End, Process ID: 12please follow oracle doc
FDMEE Validate Step Failing with Intersection Check Enabled (Doc ID 1588419.1)
cause : Currently the TNSNAMES.ORA file on the FDMEE Server does not contain a connect descriptor entry named AIF_ORCL pointing to the FDMEE database instance. When the intersection check code is being ran for the adapter it is unable to resolve the connect descriptor because it does not exist in the 32 bit TNSNAMES.ORA file.
Solution : A) Logon to the FDMEE Application Server
B) Browse to the Oracle\Middleware\EPMSystem11R1\DBClient32\Network\Admin directory
C) Open the TNSNAMES.ORA file in notepad
D) Add the following connect descriptor and save:
AIF_ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <DBHOST>)(PORT = <DBPORT>))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <SERVICE>)
regards,
-DM -
Acrobat 9 - AcroExch.PDDoc - ActiveX component can't create object
For opening a PDF file, I used following statement in VB6 :
Set AcroFirstDoc = CreateObject("AcroExch.PDDoc")
but it failed, with error "429- ActiveX component can't create object"
I was searching for solution. I found one link -
http://www.bigresource.com/Tracker/Track-vb-oY6Wgt9R/
Is this true?
What could be the problem? I need urgent help.
ThanksIf you want it
to continue working after you log off you have to change the COM+ properties
of the package to run as a specific user.
I recently installed the Evaluation edition of BizTalk Server, but am
finding
that I need to reinstall the software every time I log off(I am using the
same
logon throughout).
The problem I think is that BizTalk cannot start the XLANG Scheduler COM+
component - If I try to start it manually (in Component Services) I get
"Catalog
Error: Error Code 80080005 - Server Execution Failed"
more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
If I try to run the XLANG Schedule created in the Tutorial, via
ExecuteTutorial.exe, the error message is "...ActiveX Component can't create
object. Error: 429 (0x1AD)"
BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup
which
is activated via a File Receive Function. This fails also.
The System Log reports the following error every minute (at least!):
"The server{bla bla bla}did not register with DCOM within the required
timeout"
The only solution I have found is to reinstall & even this is not successful
every time.
Has anyone else seen this problem? Any suggestions? -
Urgent:eror:ActiveX component can't create object:fdmFM11xG5C.clsFMAdapter
Hi All,
I get the following error :
Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
At Line: 45
while trying to map a target FM account
I have used the following adapter fdmFM11xG5C for registering.
I have registered the adapter using the given documentation still things are not working the same.
FDM and HFM are installed on two different machines.
I have also referred to an earlier forum which had the same issue.
Kindly let me know what to do here.
Edited by: user12276446 on Jun 27, 2010 11:52 PMCreate a domain user which has administrator access in both machines. (creating a local user with same name and password in both machines may NOT solve the issue).
Make sure the that the user is added to the Administrators group. The minimum required rights additionally are:
Act as part of the Operating System
LogOn as a batch job
Access this computer from the network
For FDM Task manager: LogOn as a Service
Additionally, check the following two options under Security Options
DCOM: Machine Access Restrictions
DCOM: Launch Restrictions
Mine worked with both these as blank. If you cannot remove them, delete the content of the registry keys (not the keys): MachineAccessRestriction & MachineLaunchRestriction under HKLM\Software\Policies\WindowsNT\DCOM
Configure HFM DCOM (with the EPM config) using this domain account
Configure the FDM adapter with this user
You may have to configure the IIS application pool with this user as well.
Make sure that this user has rights to the file system where things are installed.
+ the users running the IIS web apps must also have access to the file system (better to add them to the group Users)
~
Sayantan -
working with MDT 2013 & ADK 8.1,
Windows 8.1 x64 deployment fails in section "State Restore" (Deployment Type: NEWCOMPUTER).
RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Micrsoft.BDD.Utility.dll"
"FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object"
go to "%programdata%\microsoft\windows\start menu\programs\startup" and perform the "Litetouch.lnk" with elevated rights (right click run as administrator), the ts will continue and apply the OS without any error message.
join to workgroup instead to domain and the installation will perform without any error...
any help is appreciated.
thx a lot.
The error was AD policy related.
I moved the device to an AD Folder (no policy), deployed the windoows 8 again and moved the box back to the correct ou in TS section PostInstall - Custom Tasks using a ps script.
I did not figure out which policy.
Update: moved from W8.1 EVALUATION to offical release solved my problem!Which policies are causing this? Do you have anything that limits/modifies the local administrator account? Or restricts the loading of ActiveX?
Keith Garner - keithga.wordpress.com -
FDM-ERPI import error: ActiveX component can't create object..
Hi,
I am using FDM v 11.1.2.1.501 and ERPi v 11.1.2.2 (which is actually v 11.1.2.1.501 following the patch set update to .501, it displays as 11.1.2.2, a known display error). The ODI version for ERPI is 11.1.1.5. The dataload rule executes successfully in ERPI within workspace, but in FDM, I get the following error:
Description...................................... ActiveX component can't create object: 'fdmERPI.clsGetFinData' At Line: 22
Can someone let me know why this happens ?
Rgds,
GeorgeThe issue is resolved. When upgrading FDM and ERPI to 11.1.2.1.501, the source adapter to be used should not be ERPI-FIN -C which comes together with 11.1.2.1 mediapack, but the adapter must be ERPI-FIN-D which come with the FDM patch set 501. The issue got resolved once ERPI-FIN-C adapter was deleted and replaced by ERPI-FIN-D adapter.
-
Exchange Transport Error: ActiveX component can't create object
Hi All
I am trying to set up Exchange on portals however I seem to be having a problem.
I have 1 * Exchange 2003 server and 1 * Portal server (with IIS and Outlook 2003 installed)
When I do the Exchange test (data retrieval) I am getting an error in the log (see below)
BEGIN 07/09/2005 09:03:54----
URL: HTTP://saptest1:80/SAPExchange/Calendar.asp
URL Parameters: Server=ohio.arconw.com&Alias=[email protected]&Action=READ&StartDate=200509070001&EndDate=200509071600&Email=[email protected]&Debug=true
Reponse: <FAILURE><ERRORNUMBER>429</ERRORNUMBER><ERRORMESSAGE>ActiveX component can't create object</ERRORMESSAGE><CLASSNAME>Connection</CLASSNAME><METHODNAME>userLogon</METHODNAME><LINENUMBER>38</LINENUMBER><PARAMETERS>User = [email protected]
Server = monster.arconw.com
E-mail = [email protected]</PARAMETERS></FAILURE>
END 07/09/2005 09:03:54----
However on the clients this does not seem to be a problem, the test works ok!
I have an issue in Collaboration (calendar) when I am getting an error 'An exception occurred while reading or writing from/to the IIS server'. I am hoping if I solve this portal issue the the collaboration issue will be fine!
Any help would be great!Sorry wrong error, below is the correct one!
BEGIN 07/09/2005 09:26:47----
URL: HTTP://saptest1:80/SAPExchange/Calendar.asp
URL Parameters: Server=monster.arconw.com&Alias=[email protected]&Action=READ&StartDate=200509070001&EndDate=200509071600&Email=[email protected]&Debug=true
Reponse: <FAILURE><ERRORNUMBER>429</ERRORNUMBER><ERRORMESSAGE>ActiveX component can't create object</ERRORMESSAGE><CLASSNAME>Connection</CLASSNAME><METHODNAME>userLogon</METHODNAME><LINENUMBER>38</LINENUMBER><PARAMETERS>User = [email protected]
Server = monster.arconw.com
E-mail = [email protected]</PARAMETERS></FAILURE>
END 07/09/2005 09:26:47---- -
Run-time error '429': ActiveX component can't create object
HI,
I am having the following error in my Excel VBA Run-time error '429': ActiveX component can't create object when running the following code:
Dim objDistiller As New ACRODISTXLib.PdfDistiller6
objDistiller.FileToPDF2 filePath & ".PS", filePath & ".PDF", "T:\Templates\PDFSettings\Standard.joboptions", 1
This code has been working for years on all our systems, but due to recent security issues our administrator changed all user accounts to not have local administrator rights and now when we run this code we get the above error message.
I have had a look at DComcnfg.exe to try and get it to work by setting the default property permissions to allow access by Everyone but I am still getting the error.
Any help would be greatly appreciated.
Regards.
Shane Chapman.Hi Shane,
Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
Probably this post is not of interest anymore but here is how I have done it:
1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
2. Use the following Macro:
Option Explicit
Sub printPDFmacro()
'Author : Ken Puls (www.excelguru.ca)
'Macro Purpose: Print to PDF file using PDFCreator
' (Download from http://sourceforge.net/projects/pdfcreator/)
' Designed for early bind, set reference to PDFCreator
Dim pdfjob As PDFCreator.clsPDFCreator
Dim sPDFName As String
Dim sPDFPath As String
'/// Change the output file name here! ///
sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
PDFFileName2 = sPDFPath & "\" & sPDFName
Set pdfjob = New PDFCreator.clsPDFCreator
With pdfjob
If .cStart("/NoProcessingAtStartup") = False Then
MsgBox "Can't initialize PDFCreator.", vbCritical + _
vbOKOnly, "PrtPDFCreator"
Exit Sub
End If
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.cOption("AutosaveDirectory") = sPDFPath
.cOption("AutosaveFilename") = sPDFName
.cOption("AutosaveFormat") = 0 ' 0 = PDF
.cClearCache
End With
'Print the document to PDF
ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
'Wait until the print job has entered the print queue
Do Until pdfjob.cCountOfPrintjobs = 1
DoEvents
Loop
pdfjob.cPrinterStop = False
'Wait until PDF creator is finished then release the objects
Do Until pdfjob.cCountOfPrintjobs = 0
DoEvents
Loop
pdfjob.cClose
Set pdfjob = Nothing
end sub
Have any questions, just have to poke me.
Michael -
ActiveX component can't create object: 'MSSOAP.SoapClient30'
Dear All,
After updated the portal form 6.0 to 7.0 ,when I bit the web page entry ,the error:"ActiveX component 'scan't create object: 'MSSOAP.SoapClient30' " appear.But in version 6.0 ,it's fine.
What could be the problem? How to resolve this.
Regards,
Richard LeeIf you want it
to continue working after you log off you have to change the COM+ properties
of the package to run as a specific user.
I recently installed the Evaluation edition of BizTalk Server, but am
finding
that I need to reinstall the software every time I log off(I am using the
same
logon throughout).
The problem I think is that BizTalk cannot start the XLANG Scheduler COM+
component - If I try to start it manually (in Component Services) I get
"Catalog
Error: Error Code 80080005 - Server Execution Failed"
more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
If I try to run the XLANG Schedule created in the Tutorial, via
ExecuteTutorial.exe, the error message is "...ActiveX Component can't create
object. Error: 429 (0x1AD)"
BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup
which
is activated via a File Receive Function. This fails also.
The System Log reports the following error every minute (at least!):
"The server{bla bla bla}did not register with DCOM within the required
timeout"
The only solution I have found is to reinstall & even this is not successful
every time.
Has anyone else seen this problem? Any suggestions? -
ActiveX component can't create object: 'CrystalReports10.ObjectFactory.1'
Using Crystal Report Application Server 10
Getting Microsoft VBScript runtime error: ActiveX component can't create object: 'CrystalReports10.ObjectFactory.1' in asp page running in windows 7, iis 7 64 bit.
Do not get error in XP 32 bit environment using iis 5.1.
Do I need to do something different in 64 bit windows 7 environment with iis 7?To get to XI R2 here are the links:
https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe -
Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
Hi,
we recently configured HFM and FDM .. while testing hfm adapter to lookup target FM account from FDM web.. we get the error Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
At Line: 45
The adapter is running under service account. we are using 11.1.1.3
Can some one please advise
thanksHello Vladislav,
Your issue would not have anything to do at this point in time of having the HFM Client installed/not installed. While this is required and probably would cause an error at a later stage, it is not the root cause of the issue you are having now.
It appears that either the Adapter is not installed correctly or not completely configured.
Please follow the documentation posted with the adapter and perform a proper installation/configuration.
Thank you,
Maybe you are looking for
-
Oracle validated rpm on RHEL4? RHEL5?
Can I use the Oracle Validated rpm on RHEL4? RHEL5? Note:579101.1 Linux OS Installation with Reduced Set of Packages for Running Oracle Database Server without ULN/RHN The above metalink note only talks about OEL...
-
hi guys Have a quick question on transactional context Question: Will the transactional context be passed on from a LSB mediator to other java components (simple java classes). The LSB is delgating control to managers which are simple java classes. T
-
TS2734 Passcode has been forgotten...How can I get into the phone?
Help! My passcode has ben lost/forgotten....How can I get into the phone?
-
After installing latest update, iMac won't complete startup
It gets to the gray screen with the apple logo and spinning disk, and stays there. It won't let me boot from the install disk, so I can't try a reinstall. I thought I might be able to load Disk Utility via Unix (which I can get to) and repair the per
-
The warranty statement in my instruction manual says that Printheads, when customer replaceable, are warrenteed for up to one year. What I have not been able to determine is whether the Photosmart 5510 is such a machine? Are 5510 printheads customer