but now i have another question. i wrote this "shell" command to open a asp.net file to be run as a web page.
for example. i have in directory:
a solution. the start up file is main_page.aspx
i want the asp.net to be run.
shell(IEPath & " " & dest & "\main_page.aspx")
dest is c:\inetpub\wwwroot\odshir.
but when i run it, it opens it as a code file - i can see the code!
This is how it should work. If you used Internet Explorer to open an aspx file, you would also see the code.
In order to see the execution of an aspx file, you have to request it from the Server. The server then uses the asp compiler to generate an HTML file and sends that to the client.