|
-
Apr 7th, 2004, 01:05 PM
#1
Thread Starter
Lively Member
Creating ASP's with VB.NET Windows Form?
Hello,
I was wondering if there is a way to create a long URL using ASP's query strings BUT in a VB.NET Windows Application.
In that URL it will have an encoded SQL query & Username / Password.
Do I add a component? Reference?
After the URL is created in the VB.NET windows form, pass that URL (maybe a string variable) to an ASP page? Then open Internet Explorer.
So far, I have some code to open up IE.
VB Code:
Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSubmit.Click
Try
Process.Start("http://localhost/weblink")
Catch ex As Exception
MsgBox("Can't load Web page" & vbCrLf & ex.Message)
End Try
End Sub
As for the syntax to create a query string in a Windows Form not a Web Form and encoding the UserName/Password, I'm foggy about that. Any samples?
Thanks for your assistance!
Chris
-
Apr 7th, 2004, 07:22 PM
#2
I wonder how many charact
Well, you might want to post a few examples of the type of URL strings you want to build.
Any component used in AsP.Net is available through Windows applications simply by:
1) referencing System.Web in your project references
2) Imports System.Web at the top of any class that uses it (unless you like typing System.Web all the time)
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
|