Monday 26 September 2011

.net System Properties (C#)

Hi,
Few computer properties to print  in C#(Existing functionalities),may be helpful
Computer Name:                                    Environment.MachineName;
Processor Architecture:                           Environment.OSVersion;
Operating System Version:Environment.   GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")


Hope its helpful,

Happy Coding



Monday 6 June 2011

Creating a wireless network using wireless router (Linksys)

Hi,
I  would like to share my experience of connecting a wireless router and adding creating a home wireless network.It easy just follow steps below:

  • Connect the Ethernet WAN Cable to Internet written port which is  yellow in color  with label.
  • Take a Ethernet cable standalone ,connect one end to port1 in router (blue color)  and other to the System(PC).
  • Then on the system (give power supply to the router).
  •  Then insert the router setup disk (CD) given with the router and follow the instructions.
  • Then add password and WEP2 Security and also give a network name.

Then try accessing router page with ipaddress http://192.168.1.1/

Configure  Automatically settings and save settings.

Now If you want to add a wi-fi enabled device ,then access or search for existing wireless network and
add SSID and Key known to you
This should  enable access network using your system also.
Finally if it shows error in accessing web page check your proxy settings in Mozilla browser uncheck all this should work fine.

Any Queries are welcome ;)










Wednesday 18 May 2011

Automate python script to run itself when some exception

Hi,
 Recently was goin through a python script where the script was closing with an exception when a client socketserver closes.I wanted my socketserver to be up and running continuously after a client closes also.So found out that can use "process"  module to do this say you are running "some.py " and u want the same script to start running after exception just two lines of code:

import process
child = subprocess.Popen("python some.py")


Happy coding