The Main tab enables you to modify information specific to the
Main section of the http.ini
file.
The Main tab
The fields specific to the Main section are shown below:
[Main] ; Main settings ProjectID=AB9FC6AA-4AE4-4018-BBF8-576E44D37381 ProjectName=dwebpro HostName=dwebpro OnSecondInstance=##PREVIOUS_INSTANCE## DocumentRoot=##DWEBPRO_PATH##\www PIDFile=##DWEBPRO_PATH##\dwebpro.pid ActiveX= CanRunFrom=2 LockCD=0 Registry.Install##DWEBPRO_PATH##\install.ini Registry.Uninstall##DWEBPRO_PATH##\uninstall.ini ; Presentation settings ShowIcon=1 TrayIcon=##DWEBPRO_PATH##\data\dwebpro.ico AboutBox=##DWEBPRO_PATH##\data\about.bmp MaskColor= ShowHint=1 Hint=DWebPro
Each of the fields within the Main section are detailed below.
Main settings
Project ID
ProjectID
Project
ID is normally a GUID (Global Unique Identifier) that
uniquely identifies the project (or site). Once defined, it will be
possible to use the ##DWEBPRO_PROJECTFOLDER## constant
(refer to the DWebPro Internal Constants
section) to return an uniquely identified path where it is possible
to save files or databases with the assumption that will not be
overwritten by another DWebPro project (in the case of identical
Project IDs).
Accepted values: strings valid for folder
name
Project Name
ProjectName
ProjectName identifies the name of the current
project. This value is used in the
##DWEBPRO_PERSONAL_PROJECTFOLDER## constant. For more
information, refer to the DWebPro Internal Constants
topic.
Accepted values: strings valid for folder
name
Host Name
HostName
Host
Name specifies the name used in the address bar of the
browser in place of 127.0.0.1. This function is available only
under Windows operating system when the user has administrative
privileges. To use this feature you have to modify the Url field as follows:
Url=http://##DWEBPRO_HOSTNAME##:##DWEBPRO_WEBSERVER_PORT##/
Accepted values: strings valid for domain
and host names
On Second Instance
OnSecondInstance
On Second
Instance specifies the action that DWebPro executes on the
start of a second instance of the application. To open the previous
instance, insert the ##PREVIOUS_INSTANCE## string. If you
want DWebPro to take no action, leave the field empty. To open
another instance of Web page, insert the relative command. This
fields supports the use of the constants. For more information,
refer to the DWebPro Internal Constants
topic.
Accepted values: empty string,
##PREVIOUS_INSTANCE## or
the command to be executed (url, application, etc.)
Document Root
DocumentRoot
Document
Root specifies the folder that will be used as document root
for the primary Web server and the ASP.NET Web server. This field
supports only the ##DWEBPRO_PATH## constant. You can set a
path on a different drive only if you have DWebPro CoBrand or
greater.
Accepted values: strings valid for folder
name
PID File
PIDFile
Some DWebPro components (i.e. the
starter tool) needs to communicate with DWebPro in order to work
correctly. Due to the introduction of Windows Vista we have
implemented a new method to share these information between the
processe. The PID File field specify
the path of a file that will be created by DWebPro at startup and
deleted just before the shutdown. These file will contain some
information required by other tools.
Accepted values: strings valid for folder
name
ActiveX
ActiveX
ActiveX list the DLLs and OCXs that DWebPro must
register at runtime. For more information, refer to the DWebPro Internal Constants topic.
Accepted values: strings separated by the
"|" character
Can Run From
CanRunFrom
Can Run
From defines whether DWebPro can be executed from CD/DVD,
hard drive, or both.
Accepted values: 0 for CD/DVD, 1 for HD,
and 2 for Both
Lock CD/DVD
LockCD
Lock
CD/DVD specifies whether DWebPro locks the CD/DVD drive at
startup and unlocks it at shutdown.
Accepted values: 1, 0
Registry Install
Registry.Install
Registry
Install specifies the path of the file that contains the
registry key DWebPro will write into the system registry during the
startup. For more information, refer to the DWebPro Internal Constants
topic.
Accepted values: string
Registry Uninstall
Registry.Uninstall
Registry
Uninstall specifies the path of the file that contains the
registry key DWebPro will delete from the system registry during
the shutdown. For more information, refer to the DWebPro Internal Constants
topic.
Accepted values: string
Presentation settings
Show Icon
ShowIcon
Show
Icon specifies whether to display the system tray
icon.
Accepted values: 1, 0
Tray Icon
TrayIcon
Tray
Icon specifies the path and name of the icon to display in
the system tray. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
AboutBox
AboutBox
AboutBox specifies the path to a graphic (bitmap
format) used for the About box. Refer to the DWebPro Internal Constants topic
for additional information on paths. Note that this path accepts
only the ##DWEBPRO_PATH## constant.
Accepted values: string
Mask Color Box
MaskColor
Mask Color
Box specifies the transparent color (in hexadecimal format,
such as #FF0000) for the About box.
Accepted values: hexadecimal color
code
Show Hint
ShowHint
Show
Hint specifies whether hover text displays when the user
wands over the system tray icon.
Accepted values: 1, 0
Hint
Hint
Hint
specifies the hover text that displays when the user wands over the
system tray icon. For users with the "FREE for non-commercial use"
license type, the hover text cannot be modified from the default
text regardless of the setting in this field. For more information
on DWebPro FREE license, please refer to the Limitations of the FREE
License topic.
Accepted values: string


