01 2013 档案
摘要:今天熟悉了下F# 中使用WebBroswer控件, 代码如下:// Learn more about F# at http://fsharp.net// See the 'F# Tutorial' project for more help.open System.Windows.Formsopen Systemopen System.Xmlopen System.Netopen System.Webopen HtmlAgilityPackopen System.IOlet asyncGrapUrl(newUrl : string) = async{ ...
阅读全文
摘要:#if INTERACTIVE#r @"C:\Users\v-shuzhu\Desktop\HtmlAgilityPack.dll"#endifopen Systemopen System.Diagnosticsopen System.Netopen System.Xmlopen System.IOopen HtmlAgilityPack let asyncGrapUrl(newUrl : string) = async{ let fileNameXml = @"D:\" + newUrl.Replace('.','0')
阅读全文
摘要:open Systemopen System.Diagnosticsopen System.Netopen System.Xmlopen System.IO//open HtmlAgilityPack let asyncGrapUrl(newUrl : string) = async{ let fileName = @"D:\" + newUrl.Replace('.','0').Replace('/','0').Replace(':','0') + ".xml&quo
阅读全文