Solved

Visual Studio 2008 WebBrowser control url changes on publish

Posted on 2009-04-15
1
277 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 500 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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 recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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