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?
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
Please login first to submit.