2 Replies Latest reply: Jul 17, 2011 10:15 AM by gspades2 RSS

    OCX: Error on openDocument

      I'm new to development with QlikView.

      I would like to access a qvw on our QlikView Server using the following C# code:



      //doc, user and pw are string variables



      axQlikOCX1.OpenDocument(doc, user, pw);


      This returns a System.InvalidCastException. The return value hasn't the right type.


      Thanks for help