Thursday, January 22, 2009
Monday, January 19, 2009
Dirty Fox... heading the risky business apps list
Posted by
Chinmay
at
Monday, January 19, 2009
0
comments
Labels: News
VS2008SP1 on Win7
As you all know.. Win7 is out.. and my god it is.. faster beyond my expectations.. and definitely.. faster than my XPSP3(Oh I was so proud... about it :(). And just yesterday, I installed VS2008 SP1 on it nad it works like a charm.. not a single glitch in compiling my existing code and on top of that it looks better than Vista. It has got soft UI elements and somehow.. I felt really comfortable working with them when compared to Vista. Check out the sample running a demo WPF application.
Posted by
Chinmay
at
Monday, January 19, 2009
0
comments
Labels: Microsoft, Visual Studio 2008, Windows, Windows 7
Sunday, January 18, 2009
Microsoft .NET Framework 2.0 Service Pack 2
Please review the supported operating systems for this deployment package in the System Requirements section. The corresponding updates for Windows Vista and Microsoft Windows 2008 are deployed via the full .NET Framework 3.5 service pack 1.
Posted by
Chinmay
at
Sunday, January 18, 2009
0
comments
Labels: News
Saturday, January 17, 2009
CircuitCity short-circuited
I just came to know about this... very very sad :(
http://www.circuitcity.com/closed.html
Posted by
Chinmay
at
Saturday, January 17, 2009
0
comments
Labels: News
Wednesday, December 24, 2008
Opera... you too?
Posted by
Chinmay
at
Wednesday, December 24, 2008
0
comments
Google.. does it again...
Posted by
Chinmay
at
Wednesday, December 24, 2008
0
comments
Labels: Google
Wednesday, December 17, 2008
Killing a Process running on Remote Computer(The batch file way..)
This morning when I came to office, I had a set of tasks which needed to be completed ASAP. My current engagement requires me to work on customer server via RDP. Now RDP has an interesting behavior, in certain cases if the server has a limited resources, it will simply refuse to allow RDP access. And unfortunately, it happened to me today. One of my colleague ran a time-consuming, resource-hungry custom code over the weekend so we can work smoothly during the weekdays, however the application could not complete its work during the weekend and was still running and consuming whatever resources were available and in turn caused a DoS (Denial Of Service). I thought to use VBScript/WMI to kill the remote process as I had the name of the process to be killed and have had used it in past effectively. I started working with the script but, I felt it will take too much time to figure out the script that will help me so I decided to search on my favorite search engine for easier and faster options. Within a few minutes I got the pointers to use tasklist.exe and taskkill.exe. I killed the process manually and easily got my access restored. However at end of the day, spending some time one this and making a batch file will come handy as we run into this situation more often. So I spent few minutes in notepad and here is the batch file that I got. This batch file is not polished but should get the job done in time of needs. And as usual I don't take any responsibility of any kind if you use this script and get into some trouble. So use it at your own risk...
@ECHO OFF
@ECHO WARNING : This script will forcefully kill the process and will not ask for confirmation before killing the process.
SET MESSAGE=
SET SYSTEMNAME=
SET USERNAME=
SET PASSWORD=
SET PID=
SET /P MESSAGE=Press any key to continue...
SET /P SYSTEMNAME=Enter target computer name or IP :
SET /P USERNAME=Enter User Name (domain\username) :
SET /P PASSWORD=Enter Password :
@ECHO Please wait while we get the list of processes...
TASKLIST.EXE /S %SYSTEMNAME% /U %USERNAME% /P %PASSWORD%
SET /P PID=Enter PID(Process ID) of the process you want to kill :
TASKKILL.EXE /F /S %SYSTEMNAME% /U %USERNAME% /P %PASSWORD% /PID %PID%
SET /P MESSAGE=Press any key to continue...
Posted by
Chinmay
at
Wednesday, December 17, 2008
0
comments
Generic Serializer-Deserializer
Around one and half year back, I was handling an interesting situation. There were few different systems sending in XML messages, and my component had to accept the message, interpret it and take appropriate actions.
It was easy till I came to know about XML message and its elements and alternate messages. The possibilities were unlimited, and it sounded stupid to hand code/hard code XML elements. Rather than that the solution was designed so that we converted XML -> XSD -> CS. After few changes made here and there to fine tune the CS files with XML, we faced another challenge, we had to serialize/deserialize incoming/outgoing messages. After few minutes of R&D I could pull out this. I've listed the method signature and minor code implementation. It is so simple that you can easily get it working in few minutes.
public static string Serialize<T>(
T data
)
{
//Create the Serializer
XmlSerializer xmlSerializer = new XmlSerializer(typeof(T));
//Use the serializer we have just created and serialize the object.
}
the same goes with the Deserializer
public static T Deserialize<T>(
string serializedData
)
{
//check whether the incoming data is not a null string
if (string.IsNullOrEmpty(serializedData))
return default(T); //This can be controversial, so handle with care and as per your requirements, in certain cases you can return null as well, kindly let me know if you have anything that can improvise this code
//create a serializer
XmlSerializer xmlSerializer = new XmlSerializer(typeof(T));
//Use the deserializer we have just created and deserialize the object.
}
I must thank my friend Sidhartha http://IamJunk.spaces.live.com, as he helped me a lot to enhance the code. I've not published the whole code, in case you need it, drop me an email/comment. I will be more than happy to help you out.
Posted by
Chinmay
at
Wednesday, December 17, 2008
0
comments
Labels: .Net
All In One Entity for CRM 4.0
Sometimes back I was doing a research on a script(It is coming soon.. just wait and watch...) and that script required me to try all the CRM datatypes one by one on the form. And trust me, it was a pretty boring job to create the element on a CRM form and then check compatibility of that script with it. Anyway, I thought I can help out my friends out there just in case they face the similar situation. So here is a SkyDrive link :
https://cid-b6a90e5b5092759c.skydrive.live.com/self.aspx/BlogStore/AllInOneEntity.zip
If you find that I've missed out something, kindly drop me a note. Thanks in advance.
Posted by
Chinmay
at
Wednesday, December 17, 2008
0
comments
Friday, November 21, 2008
Google Launches Themes for Gmail
Posted by
Chinmay
at
Friday, November 21, 2008
0
comments
Wednesday, November 19, 2008
Download Yahoo! messenger 9 setup from Yahoo!
I wanted to install Y!'s new messenger.. version 9... (oh it is beautiful I must say.. check out the screenshot..) on one of the Virtual PC... and I didn't want to connect to Internet for the sake of installing Y!.. so .. after looking here and there.. somewhere... I found that Y! keeps its installation images under http://download.yimg.com/ycs/msg/dl/msgr9/, This path doesn't have directory browsing enabled so you will not find anything there... however if you want to do an offline installation .. all you have to do is.. to click here
Posted by
Chinmay
at
Wednesday, November 19, 2008
0
comments
Tuesday, November 18, 2008
You have seen Notepad... XmlPad.. and now... LINQpad..
Posted by
Chinmay
at
Tuesday, November 18, 2008
0
comments
Wednesday, November 12, 2008
Voice or Video Chat? Sign in to Gmail
Gmail's official blog has this announcement shouting it loud that Gmail now has Voice and Video chat(http://gmailblog.blogspot.com/2008/11/say-hello-to-gmail-voice-and-video-chat.html).
So instead of a flash application, this one is a .Net Clickonce application(PLEASE CORRECT ME, IF I AM WRONG). I detest running any application on my laptop/desktop that comes from Google so I didn't allow it to run. But when it was being downloaded, the dialogbox was the famous.. clickonce installer dialogbox. anyways..sooner or later some one from my circle will install it and I will come to know what it is all about.
Google has been pretty quick when it comes to rolling out features to its userbase lately, as a result you can see the voice and video option in menu in the screenshot below.
Posted by
Chinmay
at
Wednesday, November 12, 2008
0
comments
Don't be shocked if you see something like this instead of this blog
I've been getting messages from friends that they are not able to access my blog. Instead of my blog they are getting some biblecollegeonline shit. I am trying to figure it out what is wrong but as of now I am helpless. It looks like DNS Cache Poisoning or something else.. I apologize for any inconvenience caused and all I can ask is to bear with it while blogger staff is working on it.
Posted by
Chinmay
at
Wednesday, November 12, 2008
0
comments
Tuesday, November 11, 2008
Windows 7 for Developers
Posted by
Chinmay
at
Tuesday, November 11, 2008
0
comments
Recorded sessions of PDC 2008 available for download
Posted by
Chinmay
at
Tuesday, November 11, 2008
0
comments
Microsoft Virtual TechDays is back!
You will be asked for your live id and also once you are logged in you can download recorded sessions and presentations... go ahead... Enjoy!!!
Posted by
Chinmay
at
Tuesday, November 11, 2008
0
comments
Labels: Microsoft
Sunday, November 09, 2008
Visual Studio 2010 and .Net Framework 4.0
Posted by
Chinmay
at
Sunday, November 09, 2008
0
comments
Tuesday, November 04, 2008
Microsoft Announces DreamSpark India
As described by Microsoft, Microsoft DreamSpark™ is a program that provides no-cost access to Microsoft designer and development tools for verified students around the world, to support and advance their learning and skills through technical design, technology, math, science and engineering activities. This program equips tomorrow's developers with the professional tools to inspire and create today.
I suggest to go through the site once, and if you read this on or before 5th November, 2008 02.00 PM IST then you might like to watch the live broadcast of Bill Gates speech from New Delhi, India. Click Here to register.
There is a lot more to DreamSpark but we will check it out ... laterz... till then.. bbye...
Posted by
Chinmay
at
Tuesday, November 04, 2008
0
comments
Labels: Microsoft
