Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~471 People Reached
Favorite Tags
Member Avatar for gloris

Hi, Whats wrong with my code? [CODE=C#] XmlTextReader textReader = new XmlTextReader(@"D:\xml_file.xml"); textReader.Read(); // If the node has value while (textReader.Read()) { // Move to fist element textReader.MoveToElement(); Console.WriteLine("XmlTextReader Properties Test"); Console.WriteLine("==================="); // Read this element's properties and display them on console Console.WriteLine("id:" + textReader.id.ToString()); Console.WriteLine("name:" + textReader.name.ToString()); Console.WriteLine("time:" + …

Member Avatar for apegram
0
93
Member Avatar for gloris

Hi, how get web browser description (wich show on Windows Task Manager) and curent page address (for example now should show this forum address: [url]http://social.msdn.microsoft.com/Forums[/url] ... )? Now i get only name ant title. [CODE="C#"] Process[] processes = Process.GetProcesses(); foreach (Process process in processes) { if (process.ProcessName == "firefox" || …

-1
58
Member Avatar for gloris

Hi, I need three tables (div). The left and right sides of the occupied 50% of the free window. The center is fixed. Everything seems fine, but right down to jump off the table. [CODE="HTML"] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <style type="text/css"> …

Member Avatar for gloris
0
78
Member Avatar for gloris

Hi, how work with \ ? Now i get error where is \, how fix this code? This option is not me: instead of \ use \\ [CODE="C#"] string word = "Name\UserName"; string[] words = word.Split(''); foreach (string name in words) { Console.WriteLine(name); } [/CODE]

Member Avatar for gloris
0
87
Member Avatar for gloris

Hi, why i can put only one value in MySql db? When put first value, show this error: "Parameter "?city" has already been defined" Ant stop on this line: cmd.Parameters.Add(new MySqlParameter("?city", MySqlDbType.VarChar, 40)).Value = city; [CODE=C#] conn = new MySql.Data.MySqlClient.MySqlConnection(); cmd = new MySql.Data.MySqlClient.MySqlCommand(); string strConnection = "SERVER=localhost;" + "DATABASE=new;" …

Member Avatar for aubza
0
94
Member Avatar for gloris

Hi, What is the best way to find the process name and owner? Now i use WMI, but this version is too slow.

Member Avatar for woooee
0
61