Friday, December 18, 2009

Re-Enable Visual Studio packages

 

I learnt it accidently, some times few packages fail to load when visual studio is started, studio sets skip flags to these packages (e.g., Team Explorer, Testing etc., packages), these packages fail to show up even after they are re-installed and repaired.

FIX : Run visual studio from command-line with a special command line switch which removes all such skip package flags and try’s to reload all the packages once again.

Command : devenv /ResetSkipPkgs

--Kiran Bheemarti

Wednesday, August 12, 2009

Google Contacts create/edit groups

 

As we all start using Google Voice, it has become even more important to arrange our google contacts into appropriate groups, so that we customize the phone ring (forward) feature in the Goolge voice control panel. But there is no easy way to bulk add/edit/delete contacts to groups or create groups out of the bunch of selected contacts. May be this feature will be added to Google Contacts control panel in future.

Meanwhile there is a easy solution and here are the steps.

1. Add the groups you want and assign at least one contact per group

2. Export your contacts to a csv file

3. Open the file in Microsoft Excel or any editor you like, there will be a group field, add comma separate groups to contacts easily in the editor, reason I said to add one contact at least each group was, that way the group will show up in the file and you can copy paste or follow the format

4. Now save the file and import it back to your google contacts, let the contacts be merged.

You will have your groups created easily this way.

--Kiran Bheemarti

Google Chrome still missing google toolbar, but a solution finally

 

Google’s new browser google chrome is still missing google toolbar, I rely a lot on the bookmarks feature of the google toolbar, I am surprised why google chrome is missing the toolbar still.

There is finally a solution though to get around the Bookmarks problem, you have to switch to the DEV Channel of Chrome first for that. Check the instruction in the following link below to get onto DEV channel

http://dev.chromium.org/getting-involved/dev-channel

Once you switch to the DEV channel, we will get the latest and greatest chrome builds from their DEV channel and one of the features of the latest build is import of bookmarks from google bookmarks.

 

GoogleChromeDevChannel 

Go to Tools->Import, you have to first be logged into a google account on a different tab before you can see the Google Toolbar option.

--Kiran Bheemarti

Sunday, April 5, 2009

HttpHandler create and debug

Recently was working on creating a HttpHandler for PDF to handle differently the way PDF are rendered on our site, I got frustrated by the fact that the breakpoint in the Handler was hitting if path = "*" and not if I change it to path = "*.pdf". After googling around frustrated I found the answer and answer made me realize how dumbly I was hitting F5 again and again and expecting for breakpoint to hit, while the control was not even with aspnet_isapi. PDF are not by default handled by aspnet_iaspi then of course breakpoint wont be hit.

Finally after finding out that one should add a PDF custom handler in the Inetmgr under the Mappings, I found that IIS5.1 wont let me add, OK button was disabled no matter what.

Here are the two articles that helped me through this frustration.

1. How to Build a HttpHandler : http://blogs.msdn.com/nikhiln/archive/2008/05/22/httphandler-to-authorize-file-downloads-c-code-sample.aspx

In the above article Nikhil mentioned to add just PDF without dot, but that did not work for me, the OK button got enabled only after I placed a Dot (Apparently there are lot of bugs around this window in Inetmgr)

2. How to add Mappings in Inetmgr. http://forums.devarticles.com/web-server-configuration-51/iis-problem-unable-to-add-application-extension-mapping-2527.html

 

--Kiran Bheemarti

Friday, March 20, 2009

Got my IPhone finally....Playing with it currently

 

If I search my blog, I blogged about IPhone 3G, June last year, I could not get it back then, for my contract was not over, finally got it now, playing with Add-on's in Apple Store, found few very interesting add-on's, especially Google Pack which is free.

Kiran Bheemarti

Reflector Add-in

 

Have two dll's same name version yet acting differently? Want to open them in Reflector and do a code diff, Reflector Diff is really awesome in this. Recent we had a similar problem with two dll's same name version sitting in ASPNET Temporary Files and we wanted to do a diff, my friend found this and it works awesome.

http://dotnet.org.za/codingsanity/archive/2005/07/27/40364.aspx

Regards

Kiran Bheemarti

Sunday, March 15, 2009

Import Google bookmarks into Chrome.....

 

One thing I miss the most using Google Chrome is Google toolbar, its a different discussion why Google has not yet thrown out there, Google toolbar for Chrome.

I use Google bookmarks pretty heavily for I can bookmark once access from all my computers, but lately I started using Chrome more and more, and I am finding myself switching between Firefox, IE and Chrome, for Chrome misses Google toolbar and thus misses all my Google bookmarks.

So I decided to import those bookmarks and here are steps. (FYI. Chrome does not have a import from Google directly so we do it indirectly)

1. Go to Google Bookmarks, Manage Bookmarks (Hit Bookmarks in toolbar and hit Manage Bookmarks), In Manage Bookmarks you have towards the end, Export option, Hit Export Bookmarks and Save your bookmarks as Html Page.

2. Go to Firefox Bookmarks, hit Manage Bookmarks, in the Manage Bookmarks window, you will have Import and Backup option, Hit it and import the Html Page you just saved in Step 1 with your Google bookmarks. Now you have all your Google bookmarks in your firefox bookmarks.

3. Now Go to Tools->Import Bookmarks & settings in Chrome and select Firefox in the browsers and import firefox bookmarks.

This is not a great solution, as its not realtime automatic sync between Google and chrome, but it works for me for now, I will wait with this until Google throws Toolbar for Chrome or I find a better Sync technique.

Kiran Bheemarti