|
-
Mar 9th, 2002, 06:40 PM
#1
Thread Starter
New Member
Dll component created from VB or IIS?
I have an ActiveX dll component that I use in a VB app (created using the New keyword), and in an ASP web page (created using CreateObject). Is there any way to tell from within the component itself how it was created?
For example, I'd like to have in the component's initialization sub, something like this
sub Class_Initialize()
blnFromWeb = LoadedFromWeb()
if blnLoadedFromWeb then
'do something
else
'do something else
end if
end sub
function LoadedFromWeb() as boolean
'I don't know what to do here...
end function
Thanks for any help!
-
Mar 11th, 2002, 11:30 AM
#2
Black Cat
Isn't there an OnStartPage event ASP will attempt to call? It might be obsolete, though.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|