Remote control of a W2K3 Console session

You can log on to a window 2003 server easily, and each time it will give you same session, called console session. If you log on to the same server remotely, it will start new session, it will not give you the same console session.

If you want to access same Console session remotely, same as original server session just use /console switch in mstsc command. For example if your server name is, myServer type the following command:

mstsc -v myServer /console

domain knowledge

Boy was telling the story to his IT friends and trying to explain the Importance of domain knowledge…. One day my mother was out and my dad was in charge of me and my brother who is four years older than I am. I was maybe 3 and half years old and had just recovered from an accident in which my arm had been broken among other injuries. Someone had given me a little ‘tea set’ as a get-well gift and it was one of my favorite toys. Daddy was in the living room engrossed in the evening news and my brother was playing nearby in the living room when I brought Daddy a little cup of ‘tea’, which was just water. After several cups of tea and lots of praise for such yummy tea, my Mom came home. My Dad made her wait in the living room to watch me bring him a cup of tea, because it was ‘just the cutest thing!!’ My Mom waited, and sure enough, here I come down the hall with a cup of tea for Daddy and she watches him drink it up, then she says to him, ‘Did it ever occur to you that the only place that baby can reach to get water is the toilet??’

….Mothers know!!

MORAL OF THE STORY:  Domain knowledge is very important!!! Else your supplier will trick you…… 😉

Published in: on July 29, 2009 at 9:30 pm  Leave a Comment  
Tags: ,

.Net and MySQL: Example of using MySQL and .Net: A simple example of useing Connector/Net 5.2 to connect with MySQL from .Net

Follow this process:

  1. Download Connector/Net 5.2.
  2. Unzip the binaries. You will find 3-4 dlls along with other files.
  3. Add reference to mysql.data.dll, in your project.
  4. You can connect to MySQL throw code, as described below:

String conString = “server=server_name; user id=user_name;

password=password; database=db_name; pooling=false;”;

String queryString = “select * from employee;”;

using (MySqlConnection mySqlConnection = new MySqlConnection(conString))

{

using (MySqlDataAdapter adapter = new MySqlDataAdapter(queryString, mySqlConnection))

{

DataTable dt = new DataTable();

adapter.Fill(dt);

dataGridView1.DataSource = dt;

}

}

Published in: on July 27, 2009 at 8:39 pm  Leave a Comment  
Tags: , , , , , ,

C# .Net and MySQL: how to connect MySQL from .Net ?

I was wondering how to connect MySQL with .Net then i got following solutions in net:

http://www.15seconds.com/issue/050407.htm

http://dev.mysql.com/tech-resources/articles/dotnet/index.html#ADO.NET

There might be several other articles describing several other ways to connect with MySQL from .Net but I found Connector/Net 5.2 from MySQL good.

MySQL Query Browser :: font difficult to read, distorted…bug???

Today, after restarting the system… i started MySQL Query Browser . But i got result set window showing me weired text. Though it was showing me query which i opened but font was distorted and giving me panic. I searched in net and found this solution, though it is not perfact, but it worked.

It seems a bug in tool.

Published in: on July 26, 2009 at 5:58 am  Leave a Comment  
Tags: , , ,

Hello world!

Hello World,

This is the place where i’ll be writing my experiance in computer science and tech industry. It will be all about my experiance in v

Published in: on July 26, 2009 at 5:48 am  Comments (1)