Dubi
Apr 20th, 2000, 11:33 PM
Ok...Ive narrowed down my problem. This may be simple but I am unsure of how to do this. How do I make a parameter in a function be seen in another function?
Example:
Public Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
I need to be able to use the URL parameter in this function:
Public Sub NewWindow2(ppDisp as Object, Cancel as Boolean)
Do I set a global variable and assign the url to it and then pass it into the NewWindow2 Event???
If anyone has any ideas....I'd appreciate it.
Thanks
Dubi
Example:
Public Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
I need to be able to use the URL parameter in this function:
Public Sub NewWindow2(ppDisp as Object, Cancel as Boolean)
Do I set a global variable and assign the url to it and then pass it into the NewWindow2 Event???
If anyone has any ideas....I'd appreciate it.
Thanks
Dubi