Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / July 2004

Tip: Looking for answers? Try searching our database.

Web Browser control: navNoHistory flag doesn't work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rsmith_666 - 28 Jul 2004 02:38 GMT
I've created a project with a web browser control according to KB article 325079 (C#).  The BeforeNavigate2 event fires correctly, but I'm not able to prevent the URL's from going into the browser history.  I've tried to modify the Flags parameter in BeforeNavigate2 event but that had no effect and I tried passing the flag as part of the Navigate2 method.  No luck.  Has anyone had success with this?
RON
rsmith_666 - 30 Jul 2004 16:33 GMT
The answer from MS Support:
The navNoHistory flag (2) doesn't add the URL to the Session History (which is what Back/Forward are based on. If you right click on the web page in the WebBrowser control after you navigated to the webpage with the "navNoHistory" set, you won't see that the Back option is enabled anymore.), but it does add it to the Global History. This is the way the flag works.

All instances of IE and the WebBrowser control share a global history. There may be plans to be separate this out in future versions, but we are not sure when.

> I've created a project with a web browser control according to KB article 325079 (C#).  The BeforeNavigate2 event fires correctly, but I'm not able to prevent the URL's from going into the browser history.  I've tried to modify the Flags parameter in BeforeNavigate2 event but that had no effect and I tried passing the flag as part of the Navigate2 method.  No luck.  Has anyone had success with this?
> RON

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.