|
-
Oct 2nd, 2000, 01:05 PM
#1
Thread Starter
New Member
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.
-
Oct 2nd, 2000, 02:21 PM
#2
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
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
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
|