Launch a Wisej application with parameters

0
0

Hi, I’m trying to pass parameters to a Wisej WinForms application.
I’m using the same way I use in normal Apps, but I get an error, attached.

I open the url with https://www.sicanet.it/?id=123

And this is the code of my Program.cs:

static void Main(string[] args)
{
if (args.Length > 0)
{
MessageBox.Show(args[0]);
}

Application.Desktop = new MyDesktop();
Application.SetSessionTimeout(600);
Principale oPrincipale = new Principale();
oPrincipale.ShowDialog();
}

How can I solve the problem?

Attachment
  • You must to post comments
0
0

Hi Francesco,

there is no such thing as a Wisej WinForms application.
To query the startup parameters use this:

https://docs.wisej.com/api/wisej.web/general/application#querystring

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.