Waze has no sound in Windows Phone running Windows 10

Go to Waze sound setting (Go to Setting then swap your finger to the left). Choose Sound, Choose Direction only instead of Include street name.

That was discovered by my son. Waze can talk now. Maybe you have some other ways to do it.

Posted in Community, Computers and Internet, Operating System | Tagged , , , , , | Leave a comment

The trend of C#, VB.NET, and F#

Below is the highlight of the long article for C#, VB.NET, and F#


C# is also one of the few big mainstream languages to figure on the most loved top 10 in the StackOverflow survey.

We will keep growing C# to meet the evolving needs of developers and remain a state of the art programming language.

We will innovate aggressively, while being very careful to stay within the spirit of the language. Given the diversity of the developer base, we will prefer language and performance improvements that benefit all or most developers, avoiding over-focusing on a given segment. We will continue to empower the broader ecosystem and grow its role in C#’s future, while maintaining strong stewardship of design decisions to ensure continued coherence.


Visual Basic is used by hundreds of thousands of people. Most are using WinForms to build business applications in Windows, and a few are building websites, overwhelmingly using ASP.NET Web Forms. A majority are also C# users. For many this may simply be because of language requirements of different projects they work on. However, outside of VB’s core scenarios many undoubtedly switch to C# even when VB is supported

We will keep Visual Basic straightforward and approachable. We will do everything necessary to keep it a first class citizen of the .NET ecosystem: When API shapes evolve as a result of new C# features, for instance, consuming those APIs should feel natural in VB. We will keep a focus on the cross-language tooling experience, recognizing that many VB developers also use C#. We will focus innovation on the core scenarios and domains where VB is popular.


F# is used by tens of thousands of people and shows great actual and potential growth.

We will enable and encourage strong community participation in F# by continuing to build the necessary infrastructure and tooling to complement community contributions. We will make F# the best-tooled functional language on the market, by improving the language and tooling experience, removing road blocks for contributions, and addressing pain points to narrow the experience gap with C# and VB. As new language features appear in C#, we will ensure that they also interoperate well with F#. F# will continue to target platforms that are important to its community.

The full article is here:


Posted in .Net, Community, Computers and Internet | Tagged , , , , , , , , | Leave a comment

The refactoring operation cannot be completed because it requires changes to generate code

The short blog shows you the workaround to the error “The refactoring operation cannot be completed because it requires changes to generate code”.

In one scenario, you will get this error is that you want to rename the namespace of VSTO (Visual Studio Tools for Office) project.

The error dialog looks like the one below.


The workaround I did was following.

        Go to Edit in Visual Studio

        Choose Find and Replace.

        Choose Replace in File.


        Rename all the occurrences of the namespace in the entire folder.


Posted in .Net, Community, Computers and Internet, Microsoft Office | Tagged , , , , | Leave a comment

Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Outlook.ContactItem

This short blog show you how to fix the error you might have when following a msdn article for Outlook Add-in.

If you are following this article How to: Programmatically Search for a Specific Contact  https://msdn.microsoft.com/en-us/library/ms269001.aspx

You might hit the error “Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Outlook.ContactItem” When you reach the following code.

foreach (Outlook.ContactItem foundContact in searchFolder)


What you need to do is to change the foreach loop like the code below.

foreach (Object foundContact in searchFolder)


    if (foundContact is Outlook.ContactItem)


        contactItem = (Outlook.ContactItem)foundContact;





That works for me.



Posted in .Net, Community, Computers and Internet, Microsoft Office | Tagged , , , , | Leave a comment

VSTO Add-In for Outlook

This article shows you how to create VSTO Add-in for Outlook.

There is an MSDN article out there but as usual most of the MSDN articles ask you to visualize the IDE development interface by yourself.

The first step is to download and install VSTO if you do not have a later version, https://www.visualstudio.com/vs/office-tools/.

1.      Choose File -> click on “Project… (menu item)”.


2.    Select Office/SharePoint -> VSTO Add-ins -> Outlook 2013 and 2016 VSTO Add-in.


3.      Name your project FirstOutlookAddins.

4.      In the ThisAddIn code file, declare a field named inspectors in the ThisAddIn class. The inspectors field maintains a reference to the collection of Inspector windows in the current Outlook instance. This reference prevents the garbage collector from freeing the memory that contains the event handler for the E:Microsoft.Office.Interop.Outlook.InspectorsEvents_Event.NewInspector event.

public partial class ThisAddIn


        Outlook.Inspectors inspectors;

5.      Replace the ThisAddIn_Startup method with the following code. This code attaches an event handler to the E:Microsoft.Office.Interop.Outlook.InspectorsEvents_Event.NewInspector event.

private void ThisAddIn_Startup(object sender, System.EventArgs e)


    inspectors = this.Application.Inspectors;

    inspectors.NewInspector +=

    new Microsoft.Office.Interop.Outlook.InspectorsEvents_NewInspectorEventHandler(Inspectors_NewInspector);


6.      In the ThisAddIn code file, add the following code to the ThisAddIn class. This code defines an event handler for the Microsoft.Office.Interop.Outlook.InspectorsEvents_Event.NewInspector event.

When the user creates a new mail message, this event handler adds text to the subject line and body of the message.

void Inspectors_NewInspector(Microsoft.Office.Interop.Outlook.Inspector Inspector)


    Outlook.MailItem mailItem = Inspector.CurrentItem as Outlook.MailItem;

    if (mailItem != null)


        if (mailItem.EntryID == null)


            mailItem.Subject = “This text was added by using code”;

            mailItem.Body = “This text was added by using code”;





Press F5 or click the Run button to test your project.

Posted in .Net, Community, Computers and Internet, Microsoft Office | Tagged , , , , , , | Leave a comment

Azure Machine Learning Terms Update

This blog post is to update some of the terms in Azure Machine Learning.

There is a very good hand on lab here but some of the terms you can no longer find it in the Azure ML Studio web site.

1. Reader: in https://github.com/Azure-Readiness/hol-azure-machine-learning/blob/master/003-lab-data-interact.md.


It is now call Import Data,


2. Project Columns: in https://github.com/Azure-Readiness/hol-azure-machine-learning/blob/master/004-lab-azureml-experiment.md.


It is now call Select Columns in Dataset.


3. Metadata Editor: in https://github.com/Azure-Readiness/hol-azure-machine-learning/blob/master/004-lab-azureml-experiment.md.


It is now call Edit Metadata.

Posted in .Net, Community, Computers and Internet | Tagged , , , , | Leave a comment

Turn off the Facebook birthday notification calendar in your Windows Phone

This short blog tells you where to turn off the facebook birthday notification in your Windows Phone.

You need to go to your Outlook calendar then go to Options to disable it. Make sure the account that you login is the same account that you are using in your Windows Phone.


Posted in .Net, Community, Computers and Internet | Tagged , , , , , | Leave a comment