| | Steps to creating an additional web page to your DVRWeb site
With DVRWeb 2.0, you no longer are required to make all new form classes as OLE Public!
Create a new class
Class Name = name you want to reference this page as (ex: homedemo, about)
Based On = the "DVRWebForm" class provided in the WebClass library (or subclassed)
Store In = your own class library (create if one does not already exist).
(like the dvr_demo.vcx supplied for sample)
Click Ok.
Add desired objects (labels, textbox, combobox, grid, etc) to the class and save.
Create a new link on your home page (or whatever page you want to allow access)
Modify the "homedemo" class from the dvr_demo class library. Add a new label to the form. Open the properties sheet of the label and change the "TAG" property to the name of your new class prefixed with a ".". Example, if your new page is MyNewPage, then tag should be set to ".MyNewPage"
Update the INI file (if needed as covered in Step 5 of installing DVRWeb)
Rebuild the project as an EXE
Use the sample HTML page to activate the server and test your pages
Now, back to your web browser and bring up the default HTML page from address "//localhost/VirtualDVRWeb", click on the Activate Dynamic Page, then select the label/link to your new page.
Steps to creating YOUR first DVRWeb site
Create a new directory to prepare a brand new web-site. Under the directory where the DVRWeb system was unzipped/installed, there is a directory called "NewSite_Template". Copy the entire content of this directory to your new directory.
Repeat the steps (with exception of 1&2 if they have already been done) under the section "Installation of DVRWeb" earlier in this documentation.
|