Deployment instructions:
========================

1. unzip the VotingAspNet.zip file
2. Create a directory c:\Inetpub\wwwroot\VotingAspNet\ on your webserver
3. Copy all files - including bin and results directories - into this directory
4. Set change or writing rights for the file /Results/Results.xml to save voting results for the IUSR_* account
   (For windows 2003 servers may be the IIS_WPG account, on desktop the ASPNET account!)
5. Start internet explorer and type for example http://localhost/VotingAspNet/VotingForm.aspx into the URL
6. Voting example starts and you can vote. To repeat voting please delete your cookie in the cookie directory of the account logged in
7. The control works with the test IP 192.168.1.1 without any restrictions.

The voting is ready to customize for your voting questions.

Customizing in VotingForm.aspx:
===============================

Path="/VotingAspNet/poll.xml" 
PathLicense="/VotingAspNet/Results/License.txt"
Results="/VotingAspNet/Results/Results.xml"
Width="145" 
Height="180" 
BackColorMain="#d3d9ef" style for main layout
BorderColorMain="Blue" 
BorderWidthMain="0"
BarForeColor="#2152a5" 
BarBackColor="LightGray"
ButtonText="My Vote" 
ChoiceFormat="'{0}' says:"
ResultText="Your choice:" 
FooterText="Counter: " 
Bar3D="True" 
BGTransparent="False" 
Offset3DBar="400" 
BarHeight="16" 
BarHeightPX="1"
SQL="False" for using xml file ore "True" for storing Voting in MS SQL server

and the style of the Question, the Items and the Button:

<QUESTIONSTYLE Font-Names="Verdana,Arial" Font-Size="11px" Font-Bold="False" BackColor="#B0C2E0"></QUESTIONSTYLE>
<ITEMSTYLE     Font-Names="Verdana,Arial" Font-Size="11px" Font-Bold="False" ></ITEMSTYLE>
<BUTTONSTYLE   Font-Names="Verdana,Arial" Font-Size="11px" Font-Bold="True"></BUTTONSTYLE>

Customizing in poll.xml:
========================

Change the entry <Poll name="Voting" and the Path="/VotingAspNet/poll.xml" 
in VotingForm.aspx to use control on different Pages with different questions on your web site.

For the entries in Choices you can take any different tags. (<a>,<b>,<c>,<d>,... or <1>,<2>,<3>,<4>,...)

You can also format Choices and Question with html-tags i.e. for coloring.
Examples: <Question>Do you like <font color="Blue"><b>voting</b></font>(<font color="DarkPink"><b>?</b></font>) or polls?</Question>
          <Choices>
             <a><font color="Green">Yes</font></a>
             <b><font color="Red">No</font></b>
             <c><font color="Orange">May be</font></c>
          </Choices>

The results you can find in results.xml. Each voting have the own enty with the tag <Name>Voting</Name> declared in poll.xml as <Poll name="Voting".
Example: poll.xml   --> <Poll name="abc" 
         result.xml --> <Name>abc</Name>


XML-Voting version history:
===========================


V.1.1
------

- Correction of all style entries for browser: IE 6.0 / Opera 8.5 / Firefox 1.0.7 / NS 7.1
- more error messages if xml files not writable
- Change of following customizing properies: 
  BackColor --> BackColorMain
  BorderColor --> BorderColorMain
  new BorderWidthMain
  delete ForeColor

V.1.07
------

- Correction the flat progress bar option
- 3D background now equal in all resolutions
- Titel color for Question

V.1.06
------

- The width of the progress bar on result page is matching to the width of wider forms 

V.1.05
------

- New exception messages 

V.1.04
------

- formatting the tooltips for ResultText and FooterText using HTML tags 

V.1.03
------

- redesign of the licence to test only ip address 

V.1.02
------

- implemeting of coloring by using HTML tags 

V.1.0
------

- correction of miscellaneous niceties

V.1.00.4
------

- draft version published in 03/2005



