3 Attachment(s)
Link VB form to an HTML page
Working on a project. I completed most of the project but I am unable to figure out how to link the form to show on my HTML page.
We need a button, "View Report" that will take the data from the form and will post it to a table on the webpage.
I'll add screen shots, let me know what is need to do. I have no idea.... THANKS
also, dont judge me on my webpage.. I am going to edit it after i figure out how to do the hard part
Attachment 157681
Attachment 157683
Attachment 157685
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.
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
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.