I’m getting the following error :
Error -2147024156 - Automation error
The requested operation requires elevation
when trying to use PDF Creator in my vb6 App…
This is the code I have:
Private WithEvents PDFCreator1 As PDFCreator.clsPDFCreator
Private pErr As clsPDFCreatorError, opt As clsPDFCreatorOptions
And in Form Load:
Set PDFCreator1 = New clsPDFCreator
Set pErr = New clsPDFCreatorError
With PDFCreator1
.cVisible = True
If .cStart("/NoProcessingAtStartup") = False Then
If .cStart("/NoProcessingAtStartup", True) = False Then
Exit Sub
End If
.cVisible = True
End If
Set opt = .cOptions
.cClearCache
End With
The strange thing is that error is only thrown when exe file is executed on some Windows 7 machines… Any Help…?