using System.Diagnostics;
Process s = Process.Start(Application.StartupPath + "/[FONT=Courier New][COLOR=#008000]venky[/COLOR][/FONT].txt");
kulrom said:Embedded text file has not purpose to be opened but rather to holds some values ...
Otherwise if you want to open separated text file you can make it very simple:
Process.Start(path)
HTH
Regards
[SIZE=2]System.Diagnostics.Process.Start("IExplore.exe", "www .jugoars.com")
kulrom said:Use an argument as address of the HTML document that you want to open ... like this:
VB.NET:[SIZE=2]System.Diagnostics.Process.Start("IExplore.exe", "www .jugoars.com")[/SIZE]
Regards
Process.Start("c:\htmlfile.html")
albertkhor said:Sorry Kurom i didn't give u all the info! The html file is in my computer (from word save as html). i only want to open it.
kulrom said:You want to open it but how? Maybe just like JuggaloBrotha exampled above or you want to open HTML document with some editors (DW, WORD etc.). Or finally you want to open it inside your .NET desktop application?
[SIZE=2]System.Diagnostics.Process.Start("IExplore.exe", "C:\Help.html")
System.Diagnostics.Process.Start("C:\Help.html")