Web Connection
Suggested improvement
Gravatar is a globally recognized avatar based on your email address. Suggested improvement
  Adam W
  All
  Mar 3, 2017 @ 12:17pm

Rick, Is there any chance to add a button like "Browse" to main window ?

I have a huge dificulty remembering URLs for my projects - a button which will open default browser (IE/Firefox/Chrome) with appropriate URL for the project will make my day...

Thanks, Adam

Gravatar is a globally recognized avatar based on your email address. re: Suggested improvement
  Rick Strahl
  Adam W
  Mar 3, 2017 @ 02:00pm

No not really - the server doesn't know what the URL of the application is. It only responds to requests, but unless you hardcode that value it won't know.

The best way to do this is just create a bookmark in your browser's bookmark bar.

If you use IIS Express you can also click on the IIS Express Icon and find the Web sites listed and navigate to it.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Suggested improvement
  Adam W
  Rick Strahl
  Mar 3, 2017 @ 02:09pm

Even hardcodding it into ini file will do... So the button will just have to read the value from ini file

Do I have access to modify this screen ? If I do - I'm fine with customizing it myself...

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Suggested improvement
  Rick Strahl
  Adam W
  Mar 4, 2017 @ 01:32pm

If you're running the shareware version you don't have access to the server form as it's compiled into the wconnect.app file. You can add a button dynamically though.

Another option: Create a small PRG file in your dev folder:

*** BrowsePage.prg
do wconnect
GoUrl("http://localhost:46555")

then just

do browsepage

from the command window to start your Web app in the browser.

+++ Rick ---

© 1996-2024