|
|
|
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=32974227&tid=1394323]: |
0ms |
get settings: |
7ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
154ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
39ms |
get tp. blocked users: |
1ms |
| others: | 199ms |
| total: | 435ms |

| 0 / 0 |
