I am really enjoying this map, but I don't like how it is VERY VERY dark. I like it when it is dark, but I could barely see the pictures of the map xD. -Lakar
(C#)Navigate To URL This code will allow your text box to be used as a navigate to URL bar, this will work with a web browser placed on your program. Note : To get this to navigate to a URL, you will need to make a Go button to activate this code. (Go to bottom of thread to see code for this button) public void NavigateToUrl()
{
Uri URL = default(Uri);
try
{
URL = new Uri(textboxname.Text);
}
catch
{
try
{
URL = new Uri("http://www." + textboxname.Text);
}
catch
{
return;
}
}
if ((URL.HostNameType == UriHostNameType.Dns) | (URL.HostNameType == UriHostNameType.IPv4))
{
webbrowsername..Navigate(textboxname.Text);
}
else
{
string Host = URL.Host;
Host = "http://www." + Host;
try
{
webbrowsername.Navigate(Host);
}
catch
{
}
}
} Go Button Code private void gobutton_Click(object sender, EventArgs e)
{
if (ProgressBar1.Value < 100)
{
ProgressBar1.Value = 0;
}
NavigateToUrl();
if (ProgressBar1.Value < 100)
{
ProgressBar1.Value += 25;
}
} Enjoy -Lakar
If you are trying to execute a .exe file. All you have to do is Process.Start("C:\\example\\Documents\\Visual Studio 2008\\Projects\\example\\example.exe"); Note : This will not work without "using System.Diagnostics;", if you don't have this in your form, it will not recognize Process. -Lakar
Xport360 is very very buggy and you should probably move onto Xplorer. Xport seems to sometimes not show all your partitions, it gets errors when opening partitions as well. I would suggest just going to Xplorer, a lot more efficient. -Lakar