PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Extract File path from Assembly
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Extract File path from Assembly
![]() |
Extract File path from Assembly |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi All
I've embedded HTML file in my Assembly, I want to extractphysical path of that HTML file and want my Activex - WebBrowsercontrol to navigate to that URL and load that file in thecontrol. I'm using C# as programming language. I want to know whether this is possible. Actual problem is that my progam is generating Dynamic HTML and iwant to show that in WebBrowser control. I'm using MsHTML toload but i need a file to navigate for the WebBrowser control. Ican't use about:blank, because i'm having links in my Html whichtagged within the same document. Hence about:blank doesn't allow<a href="#NAME" Please suggest any other solution. Thanks in advance Sam ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>2HmbUBBnmUOch3JQUHLg1w==</Id> |
|
|
|
#2 |
|
Guest
Posts: n/a
|
You cannot show an embeded HTML in the web browser. You need to save the
file in the disk and point the browser to this location. -- Stoitcho Goutsev (100) [C# MVP] "samit bhatt via .NET 247" <anonymous@dotnet247.com> wrote in message news:O4tTNH4ZFHA.3780@tk2msftngp13.phx.gbl... Hi All I've embedded HTML file in my Assembly, I want to extract physical path of that HTML file and want my Activex - WebBrowser control to navigate to that URL and load that file in the control. I'm using C# as programming language. I want to know whether this is possible. Actual problem is that my progam is generating Dynamic HTML and i want to show that in WebBrowser control. I'm using MsHTML to load but i need a file to navigate for the WebBrowser control. I can't use about:blank, because i'm having links in my Html which tagged within the same document. Hence about:blank doesn't allow <a href="#NAME" Please suggest any other solution. Thanks in advance Sam ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>2HmbUBBnmUOch3JQUHLg1w==</Id> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

