Jump to content

Trial Version Limitation


clement

Recommended Posts

Hi

Sorry i did not fully realize it.

Can you explain a bit more?

I have one main application and one sub application.

Both are created in windows service application, and installed in PC's service.

 

In main application has one button to open the Sub application in a new tab by using the below code:

             ShellExecute(Handle, 'open', PChar(vLocation), nil, nil, SW_ShowNormal);

 

However, there is no reaction after I click the button (but it works if I run both application in debug mode)

Is it because I am using the trial version?

 

thanks.

Link to comment
Share on other sites

Hi,

 

No it is not related to trial mode. It is about the way Service apps are implemented. A Windows Service can be run only from Windows service manager. It can't be run by ShellExecute.

 

Sorry for my poor explanation. Let me try to give another example.

 

Due to the trial version cannot allow to change the Port Number, I use two PCs to test it.

In the 1st PC, the UniGUI main application is installed and run in PC's windows service manager.

In the 2nd PC, the UniGUI Sub application is installed and run in PC's windows service manager.

 

I use the browser (localhost:8077) to open the main application, then I click the link in the main application for opening the sub application by:

          ShellExecute(Handle, 'open', PChar('IP_Address:8077'), nil, nil, SW_ShowNormal);

it should open the sub application in a new tab of the same browser, but it can't.

Link to comment
Share on other sites

Hi, try with AddJs ('window.open (url)');

 

"just make sure you use _blank, Without it, it opens in a new tab.

For a empty window:

window.open('', '_blank', 'toolbar=0,location=0,menubar=0');" from some forums.

 

Real :  AddJs ('window.open("Your_URL", "", "toolbar=0,location=0,menubar=0");');

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...