Hello, firstly I am self taught so there may be errors :)
Ok so basically I have an application (using visual studio express 2012, windows forms)
The application has a webbrowser control which when the person types in a username and clicks "Check!" the webbrowser navigates to the webpage & the username added on the end.
Eg. www.google.co.uk/random.jsp?user=LukeD1994 <--made up link
On my laptop, when you click check, it does this fine, it loads inside the webbrowser control and shows a true/false for the username (literally the webpage loads html with either "true" or "false" like if you typed it into notepad, there is nothing else that loads.)
THAT^ is exactly what I want it to do.
However, on my desktop pc, it decides the webbrowser should display "navigation to the webpage was canceled" and asks me if I want to download the .jsp file. I don't want to download the file!!! I want it to load it inside the webbrowser like it does on my laptop. This is a problem because I intend to distribute this program to other users.
I have even tried to set it to just load the jsp bit (without the username on the end, usually returns false because of no username) again no success.
If I load the web page in chrome, it works, if I load it in internet explorer it also works. But suddenly the webbrowser control doesn't want to work.
The only differences between my laptop and my desktop which could affect this are:
Desktop is Windows 7 x64, laptop is Windows 7 x32
Desktop has Adobe Dreamweaver, laptop doesn't*
*It is asking me if I want to open in dreamweaver or save to file. (If I change the file extension handling it askes if I want to open it in other html capable programs)
How do I fix it so it loads the html text in the webbrowser rather than trying to download the single word to a file?
Thanks in advance for any help you can offer.
Ok so basically I have an application (using visual studio express 2012, windows forms)
The application has a webbrowser control which when the person types in a username and clicks "Check!" the webbrowser navigates to the webpage & the username added on the end.
Eg. www.google.co.uk/random.jsp?user=LukeD1994 <--made up link
On my laptop, when you click check, it does this fine, it loads inside the webbrowser control and shows a true/false for the username (literally the webpage loads html with either "true" or "false" like if you typed it into notepad, there is nothing else that loads.)
THAT^ is exactly what I want it to do.
However, on my desktop pc, it decides the webbrowser should display "navigation to the webpage was canceled" and asks me if I want to download the .jsp file. I don't want to download the file!!! I want it to load it inside the webbrowser like it does on my laptop. This is a problem because I intend to distribute this program to other users.
I have even tried to set it to just load the jsp bit (without the username on the end, usually returns false because of no username) again no success.
If I load the web page in chrome, it works, if I load it in internet explorer it also works. But suddenly the webbrowser control doesn't want to work.
The only differences between my laptop and my desktop which could affect this are:
Desktop is Windows 7 x64, laptop is Windows 7 x32
Desktop has Adobe Dreamweaver, laptop doesn't*
*It is asking me if I want to open in dreamweaver or save to file. (If I change the file extension handling it askes if I want to open it in other html capable programs)
How do I fix it so it loads the html text in the webbrowser rather than trying to download the single word to a file?
Thanks in advance for any help you can offer.