Thanks John,
I'll try it.
Sincerely, Yoel
> Set a reference to the ASP Library in your VB component. Then use code
similar to
> this:
>
> 'paste this into a public module of your component
>
> ' ----- Declare the ScriptingContext object variables
> Private ScriptingContext As ScriptingContext
> Private Request As Request
> Private Response As Response
> Private Session As Session
> Private Application As Application
> Private Server As Server
>
>
> Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)
>
> Set ScriptingContext = PassedScriptingContext
>
> Set Request = ScriptingContext.Request
> Set Response = ScriptingContext.Response
> Set Session = ScriptingContext.Session
> Set Application = ScriptingContext.Application
> Set Server = ScriptingContext.Server
>
> End Sub
>
> now, that module has full access to the scripting context that called
it. all the
> objects are available and fully functional. be sure to release these
objects when
> you are done with them.
>
> hope this helps,
>
> john
>
>
>
> --- Yoel Pedersen <y.pedersen@g...> wrote:
> > Hello Gary,
> >
> > Thanks for your reply.
> >
> > Well, it's possible to access an application object - but how can I
access
> > a specific application object? I've made a web site with IIS 4.0, and
now
> > I want to access it's application object through a vb program - to
share
> > data between the web application and the vb program that is going to
> > perform some complex processes on it.
> >
> > Sincerely, Yoel Pedersen
> >
>
> John Pirkey
> MCSD
> John@S...
> http://www.stlvbug.org