Announcement

Collapse
No announcement yet.

VBScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VBScript

    Gentlemen:

    Am trying to use VBScript inside an ActiveX Task within a DTS package as a part of SQL Server 2000 to run the Desktop ActiveX API Application... my OS is Win 2K Server..

    The script seems to run OK but I can never get the entitled status to come back as a 1... always shows 0... have checked my account status and it shows enabled for ActiveX development..

    I have copied the code below:

    Function Main()

    dim esignal
    set esignal = CreateObject("IESignal.Hooks")

    esignal.SetApplication("**myloginid**")

    msgbox esignal.IsEntitled

    Main = DTSTaskExecResult_Success

    End Function

    When the script runs the eSignal Data Manager fires off so I am getting part way there... have read as many threads as I can find but can't find any that apply...

    Appreciate any help you could give me...

    Thanks... Steve

  • #2
    There are few things you should look at:

    Are you able to get any sample application to work? If you cannot, then you are not properly entitled. If you can, then you may want to add a sleep command to wait for the entitlements to be verified (a few seconds) before continuing.

    Comment


    • #3
      VBScript

      Thanks Robi for your prompt reply.... it was a timing issue... once I had the program wait for about 3 seconds the entitlement status came back as entitled...

      Thanks again... Steve

      Comment

      Working...
      X