|
-
April 23rd, 2001, 02:03 PM
#1
ASP and activeX
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?
---------------------------------------------
Sure i got it... what s a form again?
-
April 23rd, 2001, 02:24 PM
#2
Re: ASP and activeX
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
-
April 24th, 2001, 12:29 PM
#3
Re: ASP and activeX
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...
---------------------------------------------
Sure i got it... what s a form again?
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
|