i have a menu in activeX which gather information, and i d like to launch a asp page from the activex with the information as parameters...how can i do that?
Printable View
i have a menu in activeX which gather information, and i d like to launch a asp page from the activex with the information as parameters...how can i do that?
Dim lSuccess as long
dim lurl as string
lurl = "http://www.yoursite.com/info.asp?param=userdata"
lSuccess = ShellExecute(Me.hwnd, "Open", Lurl, 0&, 0&, 1)
This code will have to be in a form (because of the me.hwnd) it will open the default browser and open the asp page.
You can also do it without opening a broswer window if you want to open a tcp socket up and pass the URL using raw socket operation. I have done both of these using VB
Jean-Guy
yeah but u can t put a form on a user control i think, when i tried the activex shits saying that i can t have any form in a user control...