Click here to Skip to main content
15,895,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to port tree control from window form 2 web from in C#? Pin
leppie24-Sep-02 10:09
leppie24-Sep-02 10:09 
GeneralDecimal floating point to binary conversion Pin
Humayun24-Sep-02 6:48
Humayun24-Sep-02 6:48 
GeneralRe: Decimal floating point to binary conversion Pin
Nick Parker24-Sep-02 8:48
protectorNick Parker24-Sep-02 8:48 
QuestionHow to use initialization of dialog Pin
24-Sep-02 6:49
suss24-Sep-02 6:49 
AnswerRe: How to use initialization of dialog Pin
leppie24-Sep-02 7:15
leppie24-Sep-02 7:15 
GeneralRe: How to use initialization of dialog Pin
Marcin24-Sep-02 7:31
Marcin24-Sep-02 7:31 
GeneralHOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 6:37
Andrew Connell24-Sep-02 6:37 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Stephane Rodriguez.24-Sep-02 7:34
Stephane Rodriguez.24-Sep-02 7:34 
It is easy Big Grin | :-D

Once your web page is designed (just steal the Start page code from VS.NET, right click / View source. Jeecool!), just add onclick events, and add window.external.myMethod calls.
Now in your app hosting the web browser, you have a IDispatch interface exposing myMethod(), and this will get automatically called.

I have to admit that you'll get more easily done with full C++ code, because of the IDocHostUIHandler/IDispatch declaration and implementation.

For code sample, download the Driller sample from MSDN.

Be warned that both the VS.NET Start page, and other html pages using window.external, and HTA applications require ActiveX scripting be enabled on the user's browser settings.



MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 8:00
Andrew Connell24-Sep-02 8:00 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Stephane Rodriguez.24-Sep-02 8:38
Stephane Rodriguez.24-Sep-02 8:38 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 8:44
Andrew Connell24-Sep-02 8:44 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell25-Sep-02 2:48
Andrew Connell25-Sep-02 2:48 
GeneralFilter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 4:08
John Hurrell24-Sep-02 4:08 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 4:49
Stephane Rodriguez.24-Sep-02 4:49 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 4:59
John Hurrell24-Sep-02 4:59 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 5:43
Stephane Rodriguez.24-Sep-02 5:43 
GeneralComponents Pin
Jinwah24-Sep-02 2:45
Jinwah24-Sep-02 2:45 
GeneralRe: Components Pin
Nick Parker24-Sep-02 2:50
protectorNick Parker24-Sep-02 2:50 
GeneralRe: Components Pin
Paul Riley24-Sep-02 3:09
Paul Riley24-Sep-02 3:09 
QuestionDoes anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 2:19
Li-kai Liu (Angus)24-Sep-02 2:19 
AnswerRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 3:53
leppie24-Sep-02 3:53 
AnswerRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 3:54
Philip Fitzsimons24-Sep-02 3:54 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 4:06
leppie24-Sep-02 4:06 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 4:34
Philip Fitzsimons24-Sep-02 4:34 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 6:37
leppie24-Sep-02 6:37 

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.