|
|
![]() (Enlarge) |
Open Visual Studio 2008. | |
![]() (Enlarge) |
Under the File Menu select "New Web Site". | |
![]() (Enlarge) |
|
|
![]() (Enlarge) |
You will notice that a default web page has been created (Default.aspx). We are going to rename the default web page. Under Solution Explorer, right-click on "Default.aspx". |
|
![]() (Enlarge) |
From the pop-up menu, select "Rename". | |
![]() (Enlarge) |
Rename the filename to "PDFCreate.aspx". | |
![]() (Enlarge) |
|
|
![]() (Enlarge) |
Now we are going to create a folder to place the JScript into.
Under Solution Explorer, right-click on ""\\webserverA\siteB\folder". From the pop-up menu select "New Folder". |
|
![]() (Enlarge) |
Specify the folder name as "Javascript". | |
![]() (Enlarge) |
Now we are going to add a Jscript file inside of the folder you just created.
|
|
![]() (Enlarge) |
Now we have a blank source code page to work with. | |
![]() (Enlarge) |
|
|
![]() (Enlarge) |
Now we are going to create the web service. Under Solution Explorer, right-click on ""\\webserverA\siteB\folder". From the pop-up menu select "Add New Item". |
|
![]() (Enlarge) |
|
|
![]() (Enlarge) |
The source code page, containing generic source code should now be displayed. Remove the generic source code. |
|
![]() (Enlarge) |
|
|
![]() (Enlarge) |
Congratulations, all the pieces are now in place! Now let's perform a build. Under the Build menu, select "Build Web Site". |
|
![]() (Enlarge) |
The build should succeed and you can now begin experimenting with PDFCreate.aspx by typing in the URL of that web page in your web browser and studying the output. If <HTMLDoc> is not installed and configured properly on the web server, the web service will not work. | |
| .:: Main Page :: Created by Joe McCormack ::. |