Solved

Visual Studio 2008 WebBrowser control url changes on publish

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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