?
Solved

Visual Studio 2008 WebBrowser control url changes on publish

Posted on 2009-04-15
1
Medium Priority
?
279 Views
Last Modified: 2013-11-26
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
Comment
Question by:schwientekd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
SNilsson earned 2000 total points
ID: 24149416
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question