|
|
|
Server.MapPath из DLL
|
|||
|---|---|---|---|
|
#18+
Public Function mp() As String Dim FilePath As String FilePath = Server.MapPath("\") Return FilePath End Function ...при компилировании в DLL ругается, что 'Server' is not declared Public Function mp() As String Dim FilePath As String FilePath = HttpContext.Current.Server.MapPath("\") Return FilePath End Function ...при компилировании в DLL ругается, что 'HttpContext' is not declared Как правильно вызывать этот метод из DLL-ки? Спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.03.2005, 16:49 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=32974307&tid=1394323]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
134ms |
get topic data: |
7ms |
get forum data: |
3ms |
get page messages: |
30ms |
get tp. blocked users: |
1ms |
| others: | 197ms |
| total: | 396ms |

| 0 / 0 |
