Embedding an HTM in a DLL

I've seen this done somehow by Microsoft in handling their web views in Microsoft Outlook.  Checking the home page location of the default root folder yields:

res://C:\Program Files\Microsoft Outlook\OFFICE11\1033\outlwvw.dll/outlook1.htm

I'm ASSUMING (probably my first mistake) that the outlook1.htm file was somehow compiled (perhaps as an embedded resource?) in the outlwvw.dll ...

Anyone lead me in the right direction as to how this is handled??  Thanks.
jigdogAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Working with embedded resource in dot net assembly.
http://www.dotnetspider.com/technology/KBPages/442.aspx

Bob
0
jigdogAuthor Commented:
This link shows how to embed a resource and use the resource from WITHIN the dll, programatically.  I am, on the other hand, trying to embed the resource and then call the file by simply using a path name.  The example in my first post is the best I can find.  If you are using Outlook 2003 (not sure on the others), right click your main root folder and check the url for the 'Today' page.  It is a link to an htm file that is somehow 'embedded' in outlwvw.dll ... How do I do this??
0
Bob LearnedCommented:
It should be fairly easy to extend that code to access a resource embedded in another assembly.

In the example, there is a definition for an executing assembly:

Dim executing_assembly As System.Reflection.Assembly = _
    Me.GetType.Assembly.GetEntryAssembly()

Replace that line with this one, to get an assembly from a file:
    Dim executing_assembly As [Assembly] = [Assembly].LoadFrom(Path)

Bob
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

jigdogAuthor Commented:
Hold on ... I don't think I'm being clear ... I do not want to access the resource programatically AT ALL.  Please refer to the example:

Microsoft encloses a DLL called outlwvw.dll with Outlook 2003

The outlwvw.dll is called as follows in the options for the URL homepage of the root folder:

res://C:\Program Files\Microsoft Outlook\OFFICE11\1033\outlwvw.dll/outlook1.htm

rather than some http://xxx.xxx.xxx/page.htm

This means (I think) that the outlook1.htm file is somehow embedded in the DLL, and can be opened just like a file by using that pathname.  How is this achieved?
0
Bob LearnedCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jigdogAuthor Commented:
Looks like we have a winner.  Thanks for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.