Skip to main content

Posts

MDI Maximization issue

If you get the following behavior where your MDI child window maximizes itself behind the ToolBar and Menu and shows an icon with a space as shown below, then m ake sure that your MDI Parent window has the MainMenuStrip property set to your menu strip. This is only required for MDI Parent windows See attachment.

The 6th edition of the Mobile Developer guide to the galaxy is out

Excellent Guide.

How to turn off the annoying adobe updater

Mainly for peole who only installed adobe reader, this becomes an annoying intrusive behavior. Who cares about the updated version of Adobe. 1- Run Adobe Reader 2- Invoke the "Edit" > "Preferences" menu 3- Select the Updater node at the bottom. 4- Select the "Do not download or install updates automatically" 5- Press OK. Done!!!!!!!!!!!! Phew

Powerpoint crashes on Bootcamp running on MAC

If you are using Windows on a MAC using Bootcamp, you will not be able to use Microsoft's powerpoint. Whenevr you type anything into powerpoint it will crash.The fix is easy: 1- In control Panel, invoke "Regions and Languages", and select Keyboards and Languages Tab. 2- Press the "Change Keyboards" button. 3- Press the Add Button 4- Scroll down to English and check the "US" checkbox. 5- Press OK, Press OK again. You are all set. Now you an use powerpoint fine. Enjoy your MAC.

Android will remain the No. 2 mobile operating system in the world

Gartner (NYSE: IT) has predicted that Android will remain the No. 2 mobile operating system in the world behind not Apple, but Nokia's (NYSE: NOK) Symbian OS. Android will capture 29.6 percent of the market, compared to 30.2 for Symbian and 14.9 percent for iOS, Gartner predicted. http://www.gartner.com/it/page.jsp?id=1434613

Verizon's first 4G-LTE phone

Verizon's first 4G-LTE phone, an Android smartphone called "Thunderbolt," will reportedly make its first official public appearance at CES next week. It is expected to have a 4.3-inch touchscreen with WXGA resolution -- 1,280 by 800 pixels. If true, this could be the highest resolution screen on a smartphone. The iPad resolution is only XGA = 1024-by-768 http://www.droid-life.com/2010/12/29/verizon-focusing-on-4g-lte-android-devices-not-the-iphone-at-ces/

SystemEvents issues

SystemEvents is a class that allows users to receive events that are system-wide. These events range from system time changing (due to daylight savings or time sync or manual time changes) to SessionEnding to LowBattery, to FontsInstalled events, etc. There are many issues with this class 1- It does not work in a Windows Service, unless the service interacts with the desktop (which is an XP feature only). Vista and Windows 7 has an awkward support to say the least for services that interact with the windows desktop. As far as I'm concerned, it is not supported. 2- If you call any SystemEvent.XYZ += OnXYZ;, this ends up creating a hidden window. So what's the problem? if you have any WCF objects that register themselves (using WCF's ServiceHost) in the same thread as the one that called SystemEvents, then all subsequent calls to the WCF services will be serialized on that thread. Most likely that thread is the main UI thread for your application. This results in nasty de...

WCF Dos and Don'ts

Do not inherit interfaces from other interfaces. Interfaces are contracts. Contracts must be explicit, otherwise the flexibility and maintainability of your design would run into issues. An interface is a pure contract definition and should remain explicit and pure. Consider the following example: [ServiceContract] public interface IMyService1 { [OperationContract] void Test1(); } [ServiceContract] public interface IMyService2 : IMyService1 { [OperationContract] void Test2(); } [ServiceBehavior(…)] class MyService : IMyService2, IMyService1 { #region IMyService2 Members public void Test2() { } #endregion #region IMyService1 Members public void Test1() { } #endregion } What happens when you Publish your Service and open its communication channels. If you do the following: ServiceHost serviceHost = new ServiceHost(typeof(MyService, …) ServiceEndpoint ep = serviceHost.AddServiceEndpoint(typeof(IMyService1), typeof(IMyService2)); You will get...

Free: Great Password Manager

We all have so many user names and passwords. be it work related, Banking, college, 401K, Home, Wireless access admin passwords, yada yada yada and it keeps changing all the time. This is a feeware tool that does it all. User friendly and very secure. Love it.