用VB做asp调用的dll的通用代码

前端之家收集整理的这篇文章主要介绍了用VB做asp调用的dll的通用代码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Private scriptingContext As scriptingContext
Private Request As Request
Private Response As Response
Private server As server
Private Session As Session

Public Sub OnStartPage(PassedscriptingContext As scriptingContext)
    '初始化相关物件变量
    Set scriptingContext = PassedscriptingContext
    Set Request = scriptingContext.Request
    Set Response = scriptingContext.Response
    Set server = scriptingContext.server
    Set Session = scriptingContext.Session
 End Sub

public test

end public

Public Sub OnEndPage()
    Set scriptingContext = Nothing
    Set Request = Nothing
    Set Response = Nothing
    Set server = Nothing
    Set Session = Nothing
End Sub

原文链接:/asp/567821.html

猜你在找的Asp相关文章