I am developing an WPF browser application on VS2008. Whe I build the project it says cannot find "C:.....xbap". Make sure the internet address or path is correct? What could be the reason.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Raveendar OddiPosted Jun 22, 2009, 12:50 AM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace MyWPFBrowser
{
///
/// Interaction logic for Page1.xaml
///
public partial class Page1 : Page
{
public Page1()
{
InitializeComponent();
}
private void btnOnline_Click(object sender, RoutedEventArgs e)
{
WebOuput.Navigate(new Uri("http://dtkht.com"));
}
private void btnLocal_Click(object sender, RoutedEventArgs e)
{
WebOuput.Navigate(new Uri("http://localhost:1535/Website/Default.aspx"));
}
private void btnCustom_Click(object sender, RoutedEventArgs e)
{
Uri SiteAddress = new Uri(txtInput.Text.Trim(), UriKind.RelativeOrAbsolute);
if (SiteAddress.IsAbsoluteUri)
{
WebOuput.Navigate(SiteAddress);
}
}
private void btnJS_Click(object sender, RoutedEventArgs e)
{
string ret = WebOuput.InvokeScript("ChangeColor", txtInput.Text.Trim()).ToString();
MessageBox.Show(ret);
}
}
}
DevinPosted Jun 19, 2009, 7:18 PM
-Devin