Webbrowser control - opening URL shortcuts
Hi,
I am using Webbrowser control to make a sort of custom web browser. I can browse any URLs with the Navigate method of the Webbrowser control. But when I use this method to open a saved URL shortcut, it doesn't open properly - graphics are not loaded. I saw that Webbrowser is opening not the URL contained in the URL shortcut but some other file in the Temporary Internet Files directory. I deleted temporary internet files, cleared history etc but still it seems the webbrowser generates the temporary file from the shortcut.
How can I make sure that the Navigate method opens the acutal URL contained in the shortcut ?
I hope what I ask is clear enough.
mecracked
Re: Webbrowser control - opening URL shortcuts
You will have to parse the file for the appropriate URL inside.
Re: Webbrowser control - opening URL shortcuts
How do I parse the file ? Sorry if its a dumb question.
Quote:
Originally Posted by Dave Sell
You will have to parse the file for the appropriate URL inside.
Re: Webbrowser control - opening URL shortcuts
post the file. i will try to explain.
Re: Webbrowser control - opening URL shortcuts
Guess what - I couldn't attach becuase of extension. You could give example from any URL shortcut file that you create. Lets say ineternet shortcut for CNN.com
In this case graphics was loaded (maybe because I had visited the site a few minutes before) but lot of script errors were shown.
Re: Webbrowser control - opening URL shortcuts
Hello Dave,
I thought you were going to show me how to parse an Internet shortcut file.
TIA
mecracked
Quote:
Originally Posted by Dave Sell
post the file. i will try to explain.