|
-
Mar 28th, 2018, 05:53 PM
#1
Thread Starter
New Member
-
Mar 28th, 2018, 08:02 PM
#2
Re: Link VB form to an HTML page
I think that your terminology is a bit off and that makes it unclear what you're actually trying to achieve. It seems that you want one of two things:
1. To display a web page in your application and populate some fields in it, then save that data using the web page.
2. Save some data from your application to a web site, then load a page containing that saved data.
They are two quite different things, so it's important that we're clear which you are trying to do.
-
Mar 28th, 2018, 08:46 PM
#3
Thread Starter
New Member
Re: Link VB form to an HTML page
Thanks for responding. I am trying to do the second one which is save data from my application to a website the load a web page containing the saved data
-
Mar 28th, 2018, 09:06 PM
#4
Re: Link VB form to an HTML page
In that case, you can use the HttpClient class in .NET 4.5 or later and the WebClient class in all versions to post data to a web site. It's not something I'm in the habit of doing so I don't have code handy but I just searched the web for "vb.net post webclient" and there were relevant results returned. Once that's done, you can load the page however you would any other, which may be in a browser or perhaps by calling Navigate on a WebBrowser control on your form.
Tags for this Thread
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
|