|
|
|
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/moderation_log.php?user_name=%D0%A3%D0%BA%D0%BE%D0%BB%D0%BE%D0%B2%D0%B0]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
get settings: |
9ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
51ms |
get topic data: |
12ms |
get first new msg: |
7ms |
get forum data: |
4ms |
get page messages: |
57ms |
get tp. blocked users: |
2ms |
| others: | 1212ms |
| total: | 1406ms |

| 0 / 0 |
