• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Visual Studio 2008 WebBrowser control url changes on publish

I have created an ssrs 2005 report and deployed it to a server.  The report does work when you access it via the web address.  I am using Visual Studio 2008 to create an application.  I have a WebBrowser control on a form that links to the reports url address.   I originally used a local path http:\\localhost\etc for testing purposes of the application on my computer.  When I change the url to the server path and publish the application it is trying to access the local path.
0
schwientekd
Asked:
schwientekd
1 Solution
 
SNilssonCommented:
When you start your application(or when the web control is shown)
Set your web control(named Browser1 here) to:

Browser1.Navigate("Your URL")
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now