Oct 25, 2012

Weird .NET Framework 3.5 Problem - No reference to System.Windows.Forms.DataVisualization

I was recently in a SQL server 2008 performance tuning training, and installed SQL Server 2008 R2 and a bunch of related tools. And when I go back to work use Visual Studio 2010 to work on my Windows Form projects, I find that the project cannot be compiled.

There are more than 300 errors and warnings and this makes it very difficult to locate the real problem. After some analysis on the error messages, I was thinking the problem maybe caused by .NET framework. Because when installing 2008 R2 I remember that .NET framework was also installed. Some of the error message also helps to prove my suspect:

Warning The primary reference "******" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "****" or retarget your application to a framework version which contains "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

I was thinking to reinstall .NET framework 3.5 SP1 but before doing that, I suddenly found that in Microsoft website, there is a separate item called Microsoft Chart Controls for Microsoft .NET Framework 3.5. And I gave it a try first.


Then the problem is solved. 

Please download here: http://www.microsoft.com/en-us/download/details.aspx?id=14422

I don't know why SQL Server 2008 will remove the char controls, but this is the fix works for me. I checked many posts in the web but they didn't mention this, I write this done to offer some help.

If you think this post is helpful to you, please kindly click the adds on this page. Thanks a lot!

Oct 24, 2012

WebEx Recorder Panel Disappear

WebEx recorder is a very good tool to record video, and it generates small size output file. When using WebEx recorder, I found a problem that sometimes the Recorder Panel would disappear and it's hard to find them out.


The solution is:

Change screen resolution and the recorder panel will appear again.



Jun 6, 2012

Remove Multiple/Duplicate Calendar Entries on Android

I am using ZTE Android 2.3 and one problem with my Calendar is that it has duplicate calendar entries, some items are even repeated 4 to 5 times, and this makes my Calendar hard to use. I found a way to solve this:

Settings > Applications > Manage applications > All > Calendar storage > Clear data... Then please try syncing again.

This works perfect for me!

[Update on 2014-03-05] For latest Android versions, for example 4.4, the path is a little different.
Settings > Apps > All > Calendar > Clear data..
But sorry I didn't have the problem in Android 4.4, I didn't test it. If you met the problem, you can try the path above.


If you find this article useful, please click the advertisement on this page to help. Thank you very much!

Mailbox Full! Clean Large Calendar in Outlook 2010

I often met a Outlook error that my mail box is full, then I will start to clean my email inbox. But I today I suddenly found that the root cause is that my calendar took too much space!

To view the "Mailbox Size", in Outlook 2010, you could do like this:
1, File -> Info -> Cleanup Tools, choose "Mailbox Cleanup..."
2, In the popup "Mailbox Cleanup" window, click "View Mailbox Size".


If you found your email box frequently go out of space, you might can take a look at the calendar space.

OK, the next question is how to clean the Calendar? Here is the way to do it in Outlook 2010

1, Click Calendar in Outlook, in the View tab, Click Change View menu item
2, Choose the List view

3, Add a column "Size", so you can sort on it. The step is:
1) Right click the header, Click "View Settings", then "Columns...",

2) In the popup dialog of "Show Columns",  select "All Appointment fields" in the drop down list.
3) In the list of "Available columns", go down to the end and choose "Size"

4, Now you can sort on Size column and delete the big appointment in Calendar!
My outlook lives a happy life ever...

Dear friends, if you found this article helpful, please click the advertisement on the side page to help! Thank you very much.

Jun 1, 2012

Adding a Landscape Page in Word

Usually word pages are in portrait layout, but we might need to add a landscape page among portrait pages to contain more contents. Please follow these steps:

1, Select the contents you want to make in the landscape page

2, Click the downright arrow in "Page layout" Ribbon to bring up Page Setup dialog

3, Choose Landscape, and most important "Selected Text"

4, Now it's good!