Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¶ÁÈ¡ÍøÒ³ºÍÍøÒ³±£´æÏÂÀ´µÄHTMLÎļþ²»Í¬Âð£¿

ÓÃÏÂÃæÕâ¸öº¯Êý¿ÉÒÔ¶ÁÈ¡ÍøÒ³±£´æÏÂÀ´µÄHTMÎļþ£¬µ«ÊDz»ÄÜÖ±½Ó¶ÁÈ¡ÍøÒ³£¬ÎªÊ²Ã´£¿

BOOL  GetSourceHtml(CString  theUrl,CString  Filename)   

CInternetSession  session; 
CInternetFile*  file = NULL; 
//    ofstream ICG3(CurPath  +_T("\\webpage.txt"), ios::out );

try 

//  ÊÔ×ÅÁ¬½Óµ½Ö¸¶¨URL 
file  =  (CInternetFile*) session.OpenURL(theUrl);   

catch  (CInternetException* m_pException) 

//  Èç¹ûÓдíÎóµÄ»°£¬ÖÃÎļþΪ¿Õ 
file  =  NULL;   
m_pException->Delete(); 
return  FALSE; 


//  ÓÃdataStoreÀ´±£´æ¶ÁÈ¡µÄÍøÒ³Îļþ 
CStdioFile  dataStore; 
if  (file) 

CString    somecode, allcode; //Ò²¿É²ÉÓÃLPTSTRÀàÐÍ£¬½«²»»áɾ³ýÎı¾ÖеÄ\n»Ø³µ·û 
BOOL  bIsOk  =  dataStore.Open(Filename, CFile::modeCreate | CFile::modeWrite | CFile::shareDenyWrite | CFile::typeText); 

if  (!bIsOk) 
return  FALSE;

string str;

//  ¶ÁдÍøÒ³Îļþ£¬Ö±µ½Îª¿Õ 
while  (file->ReadSt


Ïà¹ØÎÊ´ð£º

ÓÃHTML¼°javascriptʵÏÖÁ½¸öÊýµÄÏà¼Ó

¸÷λ´óʦ½²½âÏ£¬Ð»Ð»
²»ÊǺÜÃ÷È·ÄãÒªµÄÊÇʲô

LV  GUCCI  ÏãÄζùÒ»±ÈÒ»°ü°ü Åú·¢ÁãÊÛ£¡
¹ãÖÝÊÐÌìÁúƤ¾ß³§³ÉÁ¢ÓÚ2002Äê¡£ÊÇÒ»¼ÒÓжàÄêרҵÉè¼Æ¡¢Éú²ú¡¢¾­Óª¸ßµµÆ¤¾ßϵÁвúÆ·µÄÆóÒµ¡£Ö÷ÓªLV,GUCCI,C ......

Html Help³öÏÖÎÊÌâ,,,,¸ßÊÖ¿ìÀ´°ïæ


ÿ´Î¹Ø±ÕµÄʱºò¾Í³öÏÖÏÂÃæÕâ¸ö

Microsoft® HTML Help Executable Óöµ½ÎÊÌâÐèÒª¹Ø±Õ¡£ÎÒÃǶԴËÒýÆðµÄ²»±ã±íʾ±§Ç¸¡£


´ò¿ªºóÓÐÒ»¸öÎÊÌâ,±¾À´ÓеÄË÷ÒýûÓÐÁË,¾Í²»ÄÜËÑË÷ÄÚÈÝÁË,²é×ÊÁϼ«Îª²» ......

c#ÈçºÎ²éÕÒ¶ÔÓ¦µÄHTML±êÇ© ¸Ðл

<div class="modBody">
  <ul>
      <li> <a href='/logs/37254974.html'>ÁùÖÜÄê </a> </li>
  </ul>
& ......

´ó¼Ò°ïæ¿´¿´ ÎÒÔõô²ÅÄÜ°ÑÊý¾Ý»»³ÉHTML¸ñʽµÄ

C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = HttpContext.Current.Server.MapPath("/WebSite1");
str += @"\index.htm";
......

×ÔÖÆhtml±à¼­Æ÷

ÈçÌâ¡£Ïë×Ô¼º×öÒ»¸ö¡£Ö÷ÒªÊÇÉÏ´«Í¼Æ¬µÄ¹¦ÄÜ¡£
´ó¼ÒÓÐʲôºÃµÄÏë·¨¡£
²»ºÃ×ö

²»¶®×ö

°ÑfckeditorÄÃÀ´ÅäÖÃһϣ¬Ö»Áô¸öͼƬÉÏ´«µÄ¾ÍÐÐÁË

ÓÐÄÄλ¸ßÊÖ×ö¹ýµÄÂð£¿
ÒòΪ¶Ôjs²»ÊìϤ¡£ËùÒÔ×öµÄʱºòÓöµ½ÁËЩÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ