-
June 3rd, 2010, 10:53 PM
#1
C# get info then open a webpage based on that info on click but opens it twice why?
i have this piece of code which works great except it searches Google twice in 2 tabs sometimes 2 windows.. whys that? and how can i fix it?
{
ManagementObjectSearcher Vquery = new ManagementObjectSearcher("SELECT * FROM Win32_VideoController");
ManagementObjectCollection Vcoll = Vquery.Get();
foreach (ManagementObject mo in Vcoll)
{
System.Diagnostics.Process.Start("http://www.google.com/search?hl=en&q=" + mo["name"].ToString());
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|