Error -2147024156 - Automation error The requested operation requires elevation

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…?

Hi,

have you tried running the script with admin rights?

regards,

Robin

@Robin, I have turned off the UAC

Or is there any other methods to follow…?