随笔分类 -  vb.net

【vb.net】-【文件读写】
摘要:dimcurrent_dir as stringDim v_File = New StreamReader(current_dir)Dim all_info As Stringall_info = v_File.ReadToEnd()v_File.Close()v_File = Nothing 阅读全文

posted @ 2013-05-21 22:08 godhappyme 阅读(151) 评论(0) 推荐(0)

【vb.net】-【webbrowser控件操作方法】
摘要:(1)为html元素,如文本框赋值。v_user、v_pass 为两个字符串变量:WebBrowser1.Document.GetElementById("username").SetAttribute("value", v_user)WebBrowser1.Document.GetElementById("password").SetAttribute("value", v_pass) 阅读全文

posted @ 2013-05-21 22:06 godhappyme 阅读(450) 评论(0) 推荐(0)

导航