Click here to Skip to main content
15,922,315 members
Home / Discussions / C#
   

C#

 
GeneralRe: enabling log4net Pin
samithas21-Oct-04 17:08
samithas21-Oct-04 17:08 
GeneralRe: enabling log4net Pin
Steve Maier21-Oct-04 17:28
professionalSteve Maier21-Oct-04 17:28 
Generalintegrated dll and html Pin
ppp00120-Oct-04 0:42
ppp00120-Oct-04 0:42 
GeneralRe: integrated dll and html Pin
DJ_Catboy20-Oct-04 0:52
DJ_Catboy20-Oct-04 0:52 
GeneralRe: integrated dll and html Pin
ppp00120-Oct-04 1:22
ppp00120-Oct-04 1:22 
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 6:21
protectorHeath Stewart20-Oct-04 6:21 
GeneralRe: integrated dll and html Pin
ppp00120-Oct-04 14:30
ppp00120-Oct-04 14:30 
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 16:09
protectorHeath Stewart20-Oct-04 16:09 
You're using "construct" here a little liberally. Smile | :) Please be specific.

So you know how to construct the HTML page. I told you how to "construct" the DLL that contains the HTML page (same thing applies to images you might want to use in the page). As I mentioned, you can either create a native DLL project, embed the HTML page, then hack the .rc file; or you can open a managed DLL after you've built it (yes - every time after you build it in VS.NET) and embed the HTML with a filename for the ID property. If you use the command-line compiler you can use the /win32res (for csc.exe; /win32resource for vbc.exe) to embed a .rc file. Support for compiling native .rc files at compile-time (and embedding them at link-time) will be added in VS2005.

Now, if your question is how to "construct" (start/execute/etc.) a browse session using this HTML dialog, the answer I gave you already: the res: protocol, which is also documented in the http://msdn.microsoft.com/library[^].

Just like you'd specify a URL to a resource on the web, such as http://www.codeproject.com/index.asp, you'd specify the path to a PE/COFF executable (like a Windows DLL) - or, if the file's parent directory is in your PATH environment variable, just the filename will do - then the path to the resource using either it's name or ID like the following two examples:
res://example.dll/example.htm
res://example.dll/123


This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 6:11
protectorHeath Stewart20-Oct-04 6:11 
Generalinstallation kit Pin
hagay_ar20-Oct-04 0:29
hagay_ar20-Oct-04 0:29 
GeneralRe: installation kit Pin
Steve Maier20-Oct-04 5:29
professionalSteve Maier20-Oct-04 5:29 
GeneralSaving TreeView Structure into a Binary Tree Data Structure Pin
vchalla19-Oct-04 23:04
vchalla19-Oct-04 23:04 
GeneralHttpWebRequest.GetResponse takes long time Pin
Member 140279719-Oct-04 22:58
Member 140279719-Oct-04 22:58 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
yoaz19-Oct-04 23:33
yoaz19-Oct-04 23:33 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
Member 140279720-Oct-04 1:07
Member 140279720-Oct-04 1:07 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
yoaz20-Oct-04 4:21
yoaz20-Oct-04 4:21 
QuestionWhy C# (and .NET) does not support multiple-class-inheritance? Pin
Salil Khedkar19-Oct-04 22:43
Salil Khedkar19-Oct-04 22:43 
AnswerRe: Why C# (and .NET) does not support multiple-class-inheritance? Pin
Steve Maier20-Oct-04 5:37
professionalSteve Maier20-Oct-04 5:37 
GeneralRe: Why C# (and .NET) does not support multiple-class-inheritance? Pin
Salil Khedkar20-Oct-04 20:47
Salil Khedkar20-Oct-04 20:47 
GeneralRe: Why C# (and .NET) does not support multiple-class-inheritance? Pin
Steve Maier21-Oct-04 3:43
professionalSteve Maier21-Oct-04 3:43 
GeneralRe: Why C# (and .NET) does not support multiple-class-inheritance? Pin
Salil Khedkar24-Oct-04 22:59
Salil Khedkar24-Oct-04 22:59 
QuestionCan any one help me? Pin
MoustafaS19-Oct-04 22:18
MoustafaS19-Oct-04 22:18 
AnswerRe: Can any one help me? Pin
J4amieC19-Oct-04 22:42
J4amieC19-Oct-04 22:42 
GeneralRe: Can any one help me? Pin
Anonymous19-Oct-04 22:56
Anonymous19-Oct-04 22:56 
GeneralAny One Help plz Pin
Anonymous19-Oct-04 22:10
Anonymous19-Oct-04 22:10 

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.