Hello,
I am creating an app, and i want it to be able to double click in a listbox that has websites, and when double clicked, it opens a website whether the user has IE, mozilla, Safari etc... but i only know how to use ie, but i tried using webbrowser class, and use webbrowser.navigate(url string) but when i double click it doesnt work, wondering if i need to add anything at all such as start a process etc? again i want my app to work for any thing such as IE, mozilla, and safari, dont want to be limited to just ie.
thanks
Its only funny till someone gets hurt.... THEN ITS HILARIOUS
Well this code will open up a site with the default web browser for the computer.
is that what your looking for? If so just add that to the click event or where ever you need it.Code:string gotourl = "http://YOUR_URL.com/"; System.Diagnostics.Process.Start(gotourl);![]()
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
...cant believe that was it..... thanks gamemaker yup that was it, but then again i didnt realize you can use process to do that, also thanks for the unity idea, love it
Its only funny till someone gets hurt.... THEN ITS HILARIOUS
Yap no prob been playen with it myself.also thanks for the unity idea, love it![]()
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks