PenguinHead
Programmer
What is the correct syntax to capture the value from Server.Mappath to a variable?
I'm a newbie to ASP and I may be overlooking something very simple. This is how I am trying to capture the current URL but it gives me the following error.
My Code:
[tt]Set sPath = Server.Mappath("fm_include.asp")[tt]
My Error:
[tt]Object required: '[string: "M:\web\users\V025U37"]'[tt]
Thanks in advance.
I'm a newbie to ASP and I may be overlooking something very simple. This is how I am trying to capture the current URL but it gives me the following error.
My Code:
[tt]Set sPath = Server.Mappath("fm_include.asp")[tt]
My Error:
[tt]Object required: '[string: "M:\web\users\V025U37"]'[tt]
Thanks in advance.