Wednesday, June 17, 2009

Will The Real GAC Folder Structure Please Show Up?

Just in case the above mentioned blogpost is gone, here is the command to 'mount' GAC as a drive.
subst x: "c:\windows\assembly\gac"
It solves the universal problem for the developers who wants to dissemble .net assemblies which are registered in GAC. Enjoy!!!

Tuesday, June 16, 2009

Disable Page Close Confirmation in CRM 4.0

If you have worked with CRM, then you must have observed an annoying popup message whenever you try to close a form once you have made any changes to it. In certain cases, you might like to avoid showing that dialogue. In one of the recent engagements, I had to change some values on the form when it loads but then users started complaining that even if they don't change anything they are presented with the dialogue box asking to save the record. And then what I had to put a crmForm.Save(); statement after I've changed the values[That's lame I know...]. However, I stumbled upon on this unsupported and undocumented function that helps you get rid of that irritating popup. Use it wisely and you will be good to go :

crmForm.detachCloseAlert()