1st gothru this example....its used in this article..with src code..
http://www.codeguru.com/Cp
n also
http://msdn.microsoft.com/
its given that..
How to Load and show HTML resources in the HtmlView:
void CYourHtmlView::OnInitialUp
{
LoadFromResource(_T("start
}
But you have to give your browser a little help to find the content by adding the following code at the top of your HTML file:
<BASE url="res://PKB.exe/start.h
This tells the browser that the current "directory" is res://PKB.exe.
also refer this article..abt how to include HTML resource...
http://msdn.microsoft.com/
try to LoadFromResource by specifying resource id...
syntax is..
LoadFromResource( UINT nRes)
post some detailed code if you still facing errors...
MAHESH
Main Topics
Browse All Topics





by: makctgPosted on 2005-12-23 at 08:11:42ID: 15542929
Is there any thing in MFC
as in PHP-'s constant() tfunction o read a constant's value to obtain the constant's name dynamically
--------------------------
constant
(PHP 4 >= 4.0.4, PHP 5)
constant -- Returns the value of a constant
--------------------------
define("MAXSIZE", 100);
echo MAXSIZE;
echo constant("MAXSIZE");