1 Reply Latest reply: Dec 15, 2012 5:16 PM by Daniel Lipkie RSS

    Create ticket from C# using QVSRemote.Client & QvsComRemote.dll

    Daniel Lipkie

      (It was suggested that I move this query to the integration forum.)

       

      I have a C# app that is trying to use the OCX to do DocumentOpen on a file on a QVServer. I have been told that I need to add a ticket to the request.

       

      I need to be compatible with QVServer 10 ... so WebTickets from QVServer 11 are not an option.

       

      The QV Server ref manual gives an example of using VBScript to create a ticket

      ticket = ntsecurity.Execute("<Global method='GetTicket'><UserId>User</UserId></Global>")

      set ntsecurity = CreateObject ("QVSRemote.Client")

      ntsecurity.AdminConnect "localhost"

       

      Does anyone have an example how to do this using C# syntax?

      What do I need to add to my Project references? Do I add C:\Program Files\QlikView\Server\QvsComRemote.dll?

       

      daniel