Jump to content

Trial Version Limitation


clement
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...