How to call an VB6 ActiveX-EXE(!)

  • Hello,

    I have an ActiveX-EXE written in VB6. This Exe is compiled and is running on the server.

    I'm trying now to get an access to this application via

    EXEC @result = master..sp_OACreate 'TMK_DataPusher.TMKDataPusher', @xhr OUT,4

    IF @result <> 0 BEGIN

    EXEC sp_OAGetErrorInfo @xhr, @ErrorSource OUT, @ErrorDesc OUT

    PRINT 'Error Occurred Calling Object: ' + @ErrorSource + ' ' + @ErrorDesc

    RAISERROR('sp_OACreate on TMK_DataPusher.TMKDataPusher failed', 16,1)

    RETURN

    END

    The PRINT-Command writes: 'Error Occurred Calling Object: ODSOLE Extended Procedure Zugriff verweigert'

    Can anybody please help me / give me a hint...

    Thanks in advance

    Bernhard

  • How is your security set up?


    N 56°04'39.16"
    E 12°55'05.25"

  • Hi,

    thanks for the reply. I'm not sure what you mean.

    I tried now with normal DLL's and this working perfectly.

    You have a command for me what I can execute to answer your question?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply