Now that we have compiled our web application, why wait any
longer. Let us launch it in a browser and see how it looks. Again, we have the
choice of creating a batch file or setting up a User Tool in Crimson Editor.
The batch file to launch our web application is shown in Listing 5.
Listing 5 - Launch.bat used to display our web
application in Internet Explorer
START IEXPLORE.EXE http://localhost/WebApp1
To set this up in Crimson Edito, select Conf. User Tools
from the Tools menu. In the Preferences dialog box, fill in the fields for the second
User Tool using the following and also take a look at Image 2 below.
Menu Text: View in browser - Web App Name
Command: C:\Program Files\Internet Explorer\iexplore.exe
Argument: http://localhost/webappname
Initial Dir:
Hot Key: None
Close on exit: yes
Capture Output: no
Use short file names: no
Save before execute: no
Figure 2 - Setting up a User Tool to launch a web
application within a web browser in Crimson Editor