-
If I wanted to make a program that could exchange variables between ASP and a VB program how would I do it?
Say, if I wanted to submit some variables to a remote ASP page and then the ASP script will process the info and input it to an access database. If you can point me in the direction of a tutorial that will show me how to exchange data or if you can tell me I would be most aprreciative, thanks.
-
Hi,
You can submit variable to a ASP by specifying the url and adding the variables at the end of the url. Here is an example.
Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Const SW_SHOWNORMAL = 1
Private Sub Command1_Click()
lReturn = ShellExecute(hWnd, "open", "http://music.domaindlx.com/datique/mailinglist.asp?name=Danial+Atique&[email protected]", vbNull, vbNull, SW_SHOWNORMAL)
End Sub
http://music.domaindlx.com/datique/[email protected]
In the ASP i have something like this
Code:
dim name
dim email
name=request.querystring("name")
email=request.querystring("email")
Hope this helps