Inter-app calling

ben252

New member
Joined
Sep 16, 2008
Messages
1
Programming Experience
1-3
Hi guys, I hope this isn't covered elswhere - apologies if it is.

Is it possible to call a server side asp page from a VB.net application running a client PC and pass parameters to that page?

My concept is a software activation system that queries the hardware of the users PC and generates codes. This is working fine in VB.net but what I'd like to do is offer an automatic activation where these codes are passed from the VB app to an ASP page which then verifies them against a server DB, passes or fails as appropriate and if successful passes another code back to the VB app for registry storage on the client.

All seems to work well in isolation but not sure how to actually call and pass. Any help gratefully received.

I've had a pretty good scour of the various sites but can't see anything like this. Also please feel free to move this post if it belongs elsewhere.

Regards

Brian
 
Last edited:
You can for example use WebClient.DownloadString and ASP.Net HttpRequest.QueryString.
VB.NET:
Dim web As New Net.WebClient
Dim response As String = web.DownloadString("http://server.net/page.aspx?id=1&name=noname")
Creating/using a web service application would be more appropriate, though.
 
Back
Top