Solved

Visual Studio 2008 WebBrowser control url changes on publish

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now