如何从记事本中获取网址到地址栏? [英] How to fetch url address to address bar from notepad?
本文介绍了如何从记事本中获取网址到地址栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何在Internet Explorer中将URL地址提取到地址栏中.
可以使用c#或Java脚本从记事本中检索URL.
Hi
How do I fetch the URL address to the address bar in Internet explorer.
The URL can be retrieved from notepad, using c# or java script.
推荐答案
// For Read a Text File
string sURLPath = System.IO.File.ReadAllText( path );
// For Call IE
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.UseShellExecute = true;
process.StartInfo.FileName = sURLPath;
process.Start();
其他答案:
它用于将文本文件读入字符串
http://support.microsoft.com/kb/816149 [
Other Ans:
Its for Read a Text File into String
http://support.microsoft.com/kb/816149[^]
I hope this useful to you.
Cheers :)
这篇关于如何从记事本中获取网址到地址栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文