Showing posts with label General. Show all posts
Showing posts with label General. Show all posts

Wednesday, May 9, 2012

Remote Desktop – Multiple monitors

This post is useful for those who:

  • Use Remote Desktop
  • Use Multiple monitors

If you are like me who remote’s into virtual machines or physical machines frequently, then here is a tip. When remotely logging  into machines, do you use multiple monitors ? Does the remote machine view scale across multiple monitors ? By default it does not. When you click Remote Desktop or MSTSC.exe, the below screen comes up without the option for multiple monitors.

remotedesktop1

But, once you click options and then click on Display tab, there is an option to enable multiple monitors for your remote session.

remotedesktop

Click the checkbox “Use all my monitors for the remote session” and you can use multiple monitors for current remote session. Hope this helps !

Friday, February 12, 2010

Outlook 2010 – Recall a sent message

Outlook 2010 has a nice feature called “Recall a sent message” . Using this feature, you will be able to either delete or replace the message in the recipients mailbox after the message has been sent (useful in cases where you forgot attachments or want to make changes immediately after the email is sent). But it only works if the message is unread. If the message has already been read, then you cannot recall it and you will get an email indicating that the recall has failed.
So, how do you recall the message ?
  • After an email is sent, go to the “Sent Items” folder
  • Click on the message you want to recall to OPEN it
  • Click on the file tab on the top left side
image 
  • Click on the “Resend or Recall” option in the center pane
image
  • Now you can either “Recall” or “Resend the message”
image
  • Select “Recall this Message” and the following prompt will show up
image
  • At this point, you can specify either to “delete the unread copies of the message” or “delete and do a replace with a new message”
  • By clicking the checkbox “Tell me if recall succeeds or fails for each recipient”, you will get an email back indicating the status of the recall
  • Below is an example of failed recall which indicates that the message has already been read.
image
  •   Clicking on the actions button on top menu bar will also open up recall options     
image

Thursday, December 24, 2009

vSphere Client on Windows 7

While installing vSphere client 4.0 on a Windows 7, I encountered the error, “The Microsoft Visual J# 2.0 Second Edition installer returned error code ‘4113’ "" “.
image
As indicated by the error message, the error can be resolved by uninstalling, “Microsoft Visual J# 2.0 Redistributable Package” from “Programs” in “Control Panel
image

Tuesday, August 4, 2009

Office 2010 technical preview

I have been using Office 2010 technical preview for a few days now and its been good so far. I have been primarily using Word and Outlook. Microsoft has introduced quite a few new features with this version. I tried to summarize few of them here, but there might be many more features which I am not aware of.

Outlook:
  • Conversations (similar to gmail threaded conversations)
  • Quick Steps, which groups frequently used actions and also enables one to create a customized action
  • Cleanup tool, which is used to remove any redundant messages in a thread
  • Many different types of views have been introduced. Email can be grouped by Date, Conversation, To and many more...
  • MailTips - To prevent common faux pas scenarios
Word:
  • Integrated screen capture tool (similar to snip tool in vista)
  • Better Photo editing capabilities
Outlook has been very stable, but the zoom tool does not function properly. Word cannot open/edit documents in SharePoint (this is really painful but heh, this is technical preview - so stop complaining). I guess that's all I have for today and will post later as I continue using this tool.

Friday, June 26, 2009

Windows 7, Configuring

Last month I took the Windows 7 Configuring beta exam (70-680). Well, the results are out and I did pass the exam.

Tip for anyone taking an exam : Always read carefully the "Skills measured" section on the official exam's site. The exam preparation will almost be done when you go through that stuff.

Here is link to the exam preparation site:

http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-680&locale=en-us

Also, if you need more resources, check out the links below:

http://www.microsoft.com/learning/en/us/training/windows.aspx
http://www.techexams.net/forums/mcts-mcitp-windows-2008-general/42480-71-680-resources.html

Thursday, April 16, 2009

IE 8 NTLM Authentication on Windows 2008

If you are using host headers to resolve the websites, then you might have seen the following issue with NTLM authenticated sites on IE 8. When you access the websites on a machine other than the one where it is hosted, you will be able to get to the sites.
Once you RDP onto the server and try to connect to the website, it will prompt for your windows credentials and will get an access denied message. This problem occurs because Windows includes a loopback check security feature that helps prevent reflection attacks on your computer(Probably some kind of security change has been made in IE8 related to this feature). Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.
Resolution: Disable the loopback check
  • Click Start, click Run, type regedit, and then click OK.
  • In Registry Editor, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  • Right-click Lsa, point to New, and then click DWORD Value.
  • Type DisableLoopbackCheck, and then press ENTER.
  • Right-click DisableLoopbackCheck, and then click Modify.
  • In the Value data box, type 1, and then click OK.
  • Quit Registry Editor, and then restart your computer.

Thursday, October 2, 2008

Computers are like bicycles for are mind

I was going through a book and saw the following phrase - "Computers are like bicycles for are mind". Initially confused, later intrigued and fascinated, I tried to google it and found the following youtube video....

The graph shown in the above video (probably taken decades back) is really interesting. Please do check it out when you get a chance.

Sunday, May 11, 2008

Very Simple AJAX Example

Below is a very very simple AJAX example. This is intended for AJAX starters and is not for people who already know about AJAX.

Overview
AJAX - Asynchronous Java and XML has been the buzzword for the last couple of years. Though it is being used for a very long time now, the term AJAX was coined recently. AJAX is an attempt to give the web user an interactive, quick and rich user experience while navigating through your web application. Normally while requesting pages, every request causes a roundtrip to the server causing the page to freeze and prevents the user from doing any kind of interaction with the page. AJAX moves away from this feature where the user can continue working with the page while requests to the server happen in the background. A very good example of this is Google Maps.

The communication with the server is accomplished using XmlHttpRequest object. This object is responsible for opening the connection to the server and sending the request. Once request is complete and data is recieved, the page elements can be modified/updated as needed.
In the below example, when you hover over the label, the sendRequest method gets called which is responsible for opening the connection and sending the request to the "AjaxResponse.html" page on the server. This page just outputs the text "Hello World". The client callback function (callBackFunction()) gets triggered everytime the request state changes and raises an alert once the callback is complete.


   1:  <html xmlns="http://www.w3.org/1999/xhtml">
   2:      <head>       
   3:          <title>Basic AJAX Example</title>  
   4:          <script type="text/javascript">                
   5:          var xmlHTTP = null;        
   6:          //This method gets called everytime the request state changes
   7:          function callBackFunction()
   8:          {   
   9:              //check to see if the status of the request has changed
  10:              //other states are 0 = created but not initialized (open method not yet called),
  11:              //                 1 = initialized (sent method not yet called), 
  12:              //                 2 = sent request (response text and response body not available), 
  13:              //                 3 = recieved request (response text and response body not available),
  14:              //                 4 = all data has been recieved (response text and response body available)
  15:                  if(xmlHTTP.readyState == 4)
  16:                  {
  17:                      //check to see if the status is ok
  18:                      if(xmlHTTP.status == 200)
  19:                      {
  20:                          alert('call back completed and data is recieved from the server');                    
  21:                      }
  22:                  }
  23:          }
  24:      
  25:          //This method creates the xmlHTTPRequest object and sends the request
  26:          function sendRequest()
  27:          {
  28:              //check the browser and instantiate the appropriate object -- IE 7, Mozilla
  29:                  if(window.XMLHttpRequest)
  30:                  {       
  31:                      xmlHTTP = new XMLHttpRequest();
  32:                  }
  33:              //Previous versions of IE like IE 5 and old browsers
  34:                  else if(window.ActiveXObject)
  35:                  {
  36:                      xmlHTTP = new ActiveXObject(Microsoft.XMLHTTP);                    
  37:                      //alernative 
  38:                      //xmlHTTP = new ActiveXObject(MSXML2.XMLHTTP);                                
  39:                  }
  40:                  else
  41:                  {
  42:                      alert('Browser not supported');
  43:                  }                      
  44:              //open a connection using a xmlHttpRequest object
  45:                  xmlHTTP.open("GET","AjaxResponse.html", true);
  46:              
  47:              //set the method to be called when the request status changes
  48:                  xmlHTTP.onreadystatechange  = callBackFunction;
  49:              
  50:              //send the request
  51:                  xmlHTTP.send(null);            
  52:          }
  53:      </script>    
  54:      </head>    
  55:      <body>
  56:              <label id="label1" onmouseover="sendRequest();">Hover over me</label>
  57:      </body>
  58:  </html>
Again, this is a very simple example and you should be able to find more advanced and complicated examples on the web. The page elements can be modified using javascript to insert the response text on the calling page.
 

Thursday, January 24, 2008

After 6 months with my IPhone

How does one feel after spending 6 months with his IPhone ? Does he feel really excited to own such an exquisite gadget or does he feel bad for spending approx 500 bucks for a phone which got reduced to 300 after a couple of weeks ? To find out more read on....
- points
  • Bad Speakers ...sometimes it really gets on my nerve. When talking on the fone while driving or listening to music you need really good speakers and this is something IPhone doesn't have.
  • Battery life...I need to charge it every night or my fone is dead the next morning.
  • Browser crash...Quite often the browser crashes or responds too slowly.
  • No video camera.
  • Cannot create custom apps without hacking it.....Creating our own apps would have been a great feature if available.
+ points
  • Now having mentioned the - points, the + points would be a long one starting with an excellent design making you will love it instantly. You cannot stop showing it your friends, co-workers and to others...
  • Google Maps.
  • Watching youtube videos without switching on your laptop.
  • Browsing internet and accessing your email from anywhere and anytime .
  • Google has been really good in developing applications customized to iphone and these really help using it.
  • Tracking your voicemail and sms from a particular caller....This is quite different from other phones.
I have not mentioned anything about the ipod features in an IPhone because this in not something I use everyday. I use my iphone as a music player probably a couple of times a week but mostly it ends up being my fone.
It has been very good to me even though I dropped and abused it a couple of times. I cannot imagine waking up one day and not finding my IPhone next to me. It greets me with an alarm every morning, gets me the latest news, shows my calender, gets my email and all this happens without you getting out from your bed. Don't you think this is enough to own an IPhone ?

Later,
Prashanth

Wednesday, January 23, 2008

AIM 6.5 on Vista with UAC turned off

Today, one of the users complained about wireless not working, the Network Sharing center taking ever to load and Remote Desktop not working. I checked the services and most of them were not started. I tried to start the Network List service but it was throwing an error:

"Insufficient system resources exist to complete the requested service"

I tried googling and the following came up:

http://forums.microsoft.com/technet/showpost.aspx?postid=2326150&siteid=17&sb=0&d=1&at=7&ft=11&tf=0&pageid=0

The posts were explaining exactly what I was facing. AIM 6.5 was causing a problem, but the user had installed AIM long time back and the problem started occuring recently. I uninstalled AIM, but it had no effect. The following steps solved the issue:
  • After uninstalling AIM, I turned on UAC
  • Restarted the system
  • Installed AIM and it started to work
You have to install AIM again to get the wireless and the rest of the stuff to work. Just uninstalling AIM and turning on UAC will NOT fix the problem.

Tuesday, January 22, 2008

MacBook Air

Check out the Macbook Air Ad here:



Also, check out the parody to the above one:

Saturday, January 12, 2008

Phili code camp 2008.1

I just got back from Code camp and it was great. I started to blog using my IPhone and somewhere in middle, I lost interest to blog and therefore after the third session, you will not find anything except the session titles. I will update them later sometime. Also, please bear with me for the formatting of the text as it was done from an IPhone and right now I am really tired to make any changes....

Session 1:
Test driven development for T-SQL code
Write your test first and then the code.
Write the function that returns data.
Check that the function returns expected data.
How to deal with constraints?
Instead of directly dealing with the table with constraints, create a view that deals with a dummy table without any constraints. Create a procedure to change the table name. But obviously the production view cannot point to a dummy view.This is one of the disadvantages of using a dummy table. Also this would work only for unit testing and not integration testing.ETL would not work in this case either.Always execute your tests after code changes.
Naming: ut_testcasename
use suite of tests

Session 2:
Visual studio 2005 tools and add ins
vs express does not support add ins
command monitor
csproj files are really msbuild files
msbuild sidekick, a third party tool helps with msbuild
Enterprise library helps with basic application blocks
VSTO - visual ribbon and other add INS from vstudio
Resharper - grays out things not being used, helps with error detection and intellisense.It needs to be licensed.
T4 tool helps with color coding the template, use the *tt *t4 extensions.
Zenocode postbuild: .net obfuscator
Reflector: decompiler
Project line counter: specific projects,exlude designer autogenerated code.
Smart paster: paste as string or paste as comments or paste as region
Visual local history: slick tool for version historyFilecompare: Beyond compare
Enlarging tool tips: Tools --> Options --> Font & Colors -->Editor tool tip

Session 3:Sharepoint backup and restore
Session 4:
Exception handling
Session 5:
AJAX and Silverlight

Session 6:
AJAX and Sharepoint

Sunday, January 6, 2008

Taare Zameen Par (Indian Hindi movie)

This is one of the best Indian movies ever made. No wonder Aamir Khan is called "The Perfectionist".
Its a story of a young dyslexic kid (Ishaan), portrayed beautifully by Darsheel Safary. The story unfolds with Ishaan being hunted by the dancing letters (as called by Ishaan for his difficulties with decoding words). He lives in his own world inspite of the rigorous wordly competition and hence lags behind in studies and gets taunted both at home and school. Despite his pleas, his parents move him to a boarding school and eventually he looses interest in his best expertise, Painting. The way the director handled the emotions of Ishaan is worthy a praise and you will be able to recognize the character. You will laugh with him, sail through his canvas and also cry with him (not once but many times). Nikumbh (played by Aamir himself) is the new art teacher at the boarding school and it doesn't take him too much time to recognize Ishaan's problems. Being a dyslexic himself, he tries to explain to Ishaan's parents about their son's problem and also his great painting talent. He also goes the extra mile of helping Ishaan to overcome his problems in a very creative way. I will stop here without going further, as you should watch it to know the ending.

As I walked out of the theater, I could see fathers hugging their sons with affection. Most of them were wiping their tears while walking towards their cars.....

Links:
http://www.taarezameenpar.com/

Tuesday, January 1, 2008

Happy new year

Wish you all a very happy and prosperous new year !

Tuesday, December 25, 2007

Happy Christmas

Wish you all a very happy Christmas and hope you enjoy it with your family and friends.

Thursday, December 6, 2007

I am back !

Its been long since I posted anything. I was on vacation for nearly a month and recently have been tied up with work. Probably, I will start posting something really soon.

Tuesday, October 9, 2007

REMIX 2007 at Boston

I just returned back home after attending REMIX for two days and it was absolutely wonderful. I got to meet some of the most Geeky people and also gotto see some Geeky stuff. I have a lot of good things to write about it, but this is not the right time. I am really dead tired especially after the awful air traffic at Philadelphia.

If you cannot wait till my posts, you can check out the videos at:

Thursday, September 20, 2007

Code Camp

Last week I was at Phili Code camp and it was great to be there. There were some really good sessions on Advanced asp.net, Http handlers, and Test driven development. I attended 4 sessions and though it was a code camp, only the first two sessions had something related to code and the rest were more kind of presentations. Other than that I have been pretty busy with my schedule without much time for my own projects. Hopefully, I will post something interesting soon.

Friday, August 3, 2007

Bourne Ultimatum - First day

I watched the last part of the bourne series today and as the name says, it is really ultimate. In this movie, Jason bourne tries to understand his origin and during the process completely knows about himself in the end. Julia styles is good in her role and so is Joan Allen. The action packed sequences are worth watching a second time. From the beginning to the end, its packed with action giving very little scope for dramatic sequences. Do watch the movie if you like action movie and you won't walk out of the movie hall disappointed. Overall, its an amazing end to the trilogy.

Thursday, July 19, 2007

Origin of the IPhone

The first prototype of IPhone was released in as early as 1984. Check this article to know more.