1,593
社区成员
发帖
与我相关
我的任务
分享
Try
Tab := (PageControl1.ActivePage as TTabSheetEx);
MyList.Add(Tab.EWB.DocumentSource); // 源码
MyList.SaveToFile(FileName);
shellexecute(handle,'open',pchar('C:\windows\system32\notepad.exe'),pchar(FileName),nil,sw_shownormal);
except
end;
获得网页源码代码。idhtp1.Request.UserAgent := 'Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0';