Click here to Skip to main content
15,910,603 members
Home / Discussions / C#
   

C#

 
GeneralRe: ToolTip in Pocket PC Pin
exhaulted4-Aug-04 3:03
exhaulted4-Aug-04 3:03 
GeneralRe: ToolTip in Pocket PC Pin
leppie4-Aug-04 3:43
leppie4-Aug-04 3:43 
Questionopening a file with internet explorer from C# code? Pin
misterbear4-Aug-04 1:16
misterbear4-Aug-04 1:16 
AnswerRe: opening a file with internet explorer from C# code? Pin
CWIZO4-Aug-04 3:03
CWIZO4-Aug-04 3:03 
GeneralRe: opening a file with internet explorer from C# code? Pin
misterbear4-Aug-04 4:05
misterbear4-Aug-04 4:05 
GeneralRe: opening a file with internet explorer from C# code? Pin
CWIZO4-Aug-04 4:57
CWIZO4-Aug-04 4:57 
AnswerRe: opening a file with internet explorer from C# code? Pin
Member 11737604-Aug-04 3:45
Member 11737604-Aug-04 3:45 
AnswerRe: opening a file with internet explorer from C# code? Pin
Heath Stewart4-Aug-04 6:03
protectorHeath Stewart4-Aug-04 6:03 
In addition to what CWIZO and John said, you can interop shdocvw.dll by using tlbimp.exe or VS.NET (add a COM reference to your project for the Microsoft Web Browser library) and use the InternetExplorer class to load a file. This will create a new instance of IE or use an existing instance (the fore-most instance, IIRC) to display the HTML (or whatever IE-handled file). Using Process.Start with a filename (works like ShellExecute(Ex)) will use the default browser, but if you want to make sure they use IE (maybe the HTML files are scripted only for IE, for example) use the InternetExplorer object or use Process.Start("iexplore.exe", pathToHtmlFile).

 

Microsoft MVP, Visual C#
My Articles
GeneralMaking sure a message box is seen Pin
johnstacey4-Aug-04 0:28
johnstacey4-Aug-04 0:28 
GeneralRe: Making sure a message box is seen Pin
Dave Kreskowiak4-Aug-04 5:24
mveDave Kreskowiak4-Aug-04 5:24 
GeneralRe: Making sure a message box is seen Pin
Syed Abdul Khader4-Aug-04 5:41
Syed Abdul Khader4-Aug-04 5:41 
QuestionKeyPress Event in DataGrid? Pin
murali_utr4-Aug-04 0:18
murali_utr4-Aug-04 0:18 
AnswerRe: KeyPress Event in DataGrid? Pin
exhaulted4-Aug-04 1:20
exhaulted4-Aug-04 1:20 
Questionhow to add items to contextmenus Pin
Luigi Casana3-Aug-04 23:34
sussLuigi Casana3-Aug-04 23:34 
AnswerRe: how to add items to contextmenus Pin
leppie4-Aug-04 3:50
leppie4-Aug-04 3:50 
GeneralRe: how to add items to contextmenus Pin
Stephan Wright4-Aug-04 23:01
Stephan Wright4-Aug-04 23:01 
GeneralRe: how to add items to contextmenus Pin
angelwhoisadevil5-Aug-04 22:14
sussangelwhoisadevil5-Aug-04 22:14 
GeneralResolution independent forms Pin
biggerR3-Aug-04 23:25
biggerR3-Aug-04 23:25 
GeneralRe: Resolution independent forms Pin
4-Aug-04 3:00
suss4-Aug-04 3:00 
GeneralRe: Resolution independent forms Pin
Heath Stewart4-Aug-04 6:07
protectorHeath Stewart4-Aug-04 6:07 
GeneralRe: Resolution independent forms Pin
Heath Stewart4-Aug-04 6:07
protectorHeath Stewart4-Aug-04 6:07 
Generali want to open new form Pin
shdelpiero3-Aug-04 21:14
shdelpiero3-Aug-04 21:14 
GeneralRe: i want to open new form Pin
sreejith ss nair3-Aug-04 21:41
sreejith ss nair3-Aug-04 21:41 
GeneralRe: i want to open new form Pin
Jay Shankar3-Aug-04 22:08
Jay Shankar3-Aug-04 22:08 
GeneralRe: i want to open new form Pin
exhaulted3-Aug-04 22:36
exhaulted3-Aug-04 22:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.