How to change your Microsoft Office 2010 or Visio 2010 product key?

If you need to change your Microsoft Office 2010 or Visio 2010 product key to resolve activation issues or other reasons, then you can do so very easily. You may also find How To Use Microsoft Office 2010 for 180 days Free without Activating? useful.

Previously we have shown “How To Change Windows Product Key After Install“, so if you need to change your Windows 7 or Vista key, you can head over to that post for reference.

How to change the product key of Microsoft Office?

Now, coming back to today’s topic on How to Change Product Key of Microsoft Office 2013, Office 2010 & Visio 2010, just follow the simple steps below.

  • Click on the button to open the Start Menu. Now, click on the Control Paneland then click on Programs (Uninstall a program), and finally click on Program and Features.
    (Windows XP users: Start > Control Panel > Add or Remove Programs.)
  • From the list of installed programs, find Microsoft Office Professional Plus 2010 (or your installed version of Office 2010 or Office 2013) or Microsoft Office Visio Professional 2010 (or your installed version of Visio 2010), which ever’s key you want to change, select it and then click on Change.

change product key office 2010

  • From the newly opened dialog box, select the Enter a Product Key option, and then click Continue.
  • Type your new product key and check the option that says Attempt to automatically activate my product online to automatically activate your Office 2013 or Office 2010 suite. Now click on Continue and then on Install Now.
    NoteYour computer must be connected to the Internet if you want to reactivate Office 2013 or Office 2010 online.You can also activate Office 2013 or Office 2010 later by running any Office 2010 app, and then clicking on the File tab > Help.

This method lets you change product key of the following Office 2013 and Office 2010 editions and products:

  • Upcoming Microsoft Office 2013
  • Microsoft Office Professional Plus 2010
  • Microsoft Office Home and Business 2010
  • Microsoft Office Home and Student 2010
  • Microsoft Office Visio Professional 2010
  • Microsoft Office Professional Academic 2010

Courtesy: http://www.mytechguide.org

Advertisements
Posted in How To, Office Tips | Tagged , , , , , , , , , , | 1 Comment

Setting Service Recovery Options for your WCF Service

Daemoniq supports for setting up service recovery options via the app.config file. This is enabled by adding a recoveryOptions element inside the service definition. The attributes exposed by this element allows users to set recovery options at the same level of abstraction as the Recovery tab of the Service Properties window of the services.msc applet.

The sample configuration file below illustrates this feature.

<!--?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
Daemoniq.Configuration.DaemoniqConfigurationSection, Daemoniq” />
    <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
  </configSections>
  <castle>
    <components>
      <component id="Dummy1"
                 service="Daemoniq.Framework.IServiceInstance, Daemoniq"
                 type="Daemoniq.Samples.DummyService, Daemoniq.Samples">
      </component>
    </components>
  </castle>
  <daemoniq>
    <services>
      <service
        serviceName="Dummy1"
        displayName="Dummy Service 1"
        description="This is a dummy service"
        serviceStartMode="Automatic">
        <recoveryOptions firstFailureAction="RestartTheService"
                         secondFailureAction="RunAProgram"
                         subsequentFailureAction="RestartTheComputer"
                         daysToResetFailAcount="2"
                         minutesToRestartService="5"
                         rebootMessage="This computer is going to reboot =D..."
                         commandToLaunchOnFailure="C:\Program Files\OmgWtfBbq.exe" />
      </service>
    </services>
  </daemoniq>
</configuration>

Note: acceptable values for firstFailureActionsecondFailureAction and subsequentFailureAction are TakeNoAction,RestartTheServiceRunAProgram and RestartTheComputer.

Courtesy: https://code.google.com

 

Posted in Development, Dotnet, Strategy, Technology | Tagged , , , | Leave a comment

How to bring back the Quick Launch toolbar to the Windows 8 Desktop?

The Windows 8 Desktop did away with the very useful Quick Launch toolbar available in previous versions of Windows. It’s easy to bring back, though — just follow these directions.

1. In the Windows 8 Desktop, launch Windows Explorer, click the View tab on the toolbar, and check the box next to “Hidden items.” That will display folders and files that are normally hidden from view.

Adding a toolbar to the Windows 8 Desktop

2. Right-click the taskbar and select Toolbars–>New Toolbar.

Adding a toolbar to the Windows 8 Desktop

3. From the screen that appears, navigate to User\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch and select it. (You’ll need to substitute your account name for “User”.) That will place a Quick Launch toolbar on the far right of the taskbar. It also includes the “Show Desktop” button that is missing from the Windows 8 Desktop.If you want to move the Quick Launch toolbar to the left, right-click the taskbar, uncheck “Lock the Taskbar” and drag to the right. Lock it when you have it where you want.

Add Quick Launch toolbar to the Windows 8 Desktop

4. You can now use the Quick Launch toolbar by clicking the double-headed arrow. It works just like previous versions of Windows.

Courtesy: http://blogs.computerworld.com

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

How to create shortcut of a file/folder in Windows 8 as a Tiles?

To create a shortcut to a file in Windows 8’s new Tiles, simply go to Windows Explorer, right-click your file, and click Pin to Start.

enter image description here

To create a shortcut to a folder  in Windows 8’s new Tiles, simply go to Windows Explorer, right-click your file, and click Pin to Start.

  1. Right click on the Desktop, and select New->Shortcut. enter image description here
  2. In the Create Shortcut Window that pops up, Browse and select the file whose shortcut you want to create. enter image description here
  3. Finally right click on the created shortcut and select Pin to Startenter image description here
Posted in How To, Windows 8 Tips | Tagged , , , | Leave a comment

WCF – Annoying Error

The target assembly contains no service types. You may need to adjust the Code Access Security policy of this assembly.”

Did you ever encounter this dialog box when dealing with WCF services?

“The target assembly contains no service types.  You may need to adjust the Code Access Security policy of this assembly.”

It might happen when you run application at debug time. It is highly annoying and time consuming (it pauses application for more than one minute without any apparent reason). But what does it mean and why does it happen?

When you create a project from a WCF project templates Visual Studio knows that this project is a WCF service and thus it offers two debug time helpers: WCF Service Host and WCF Client. These two guys are intended to help you with running and testing WCF services without writing any code – they just appear at debug time. So far so good. But why the annoying dialog?

The dialog in question means that you have a project, created using one of the WCF project templates, with an interface marked with ServiceContract attribute and in the same project you don’t have a class that implements this interface (perhaps you implemented that interface in another project). So, the WCF Service Host can’t find a suitable class to host the service and it complains through that dreaded dialog box. Note that WCF Service Host is pretty dumb and it is incapable of searching through other projects in same solution. OK, the solution is to stop running WCF Service Host or even better, instruct it which class implements the interface in question. Well, AFAIK the later is impossible while the former can be done through project file modification using notepad. Here is how:

Delete this line from your project file:

 

{3D9AD99F-2412-4246-B90B-4EAA41C64699};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}

 

And you won’t see WCF Service Host or dreaded dialog anymore.

The question is, why didn’t Microsoft think of these scenarios before?

BTW, if you just want to stop WCF Client from runing then delete this command line argument: /client:”WcfTestClient.exe”, created by WCF project template.

With thanks to: http://cs.rthand.com/blogs/blog_with_righthand

 

Posted in Development, Dotnet, How To, Technology | Tagged , , , , , , , | Leave a comment

Anonymous types in Dot Net Framework

With the feature of the object initializer and the var datatype, we can create
anonymous datatypes easily in C#.
For example, we can define a variable as follows:
var a = new { Name = “name1”, Address = “address1” };
At compile time, the compiler will actually create an anonymous type, as follows:
class __Anonymous1
{
private string name;
private string address;
public string Name {
get{
return name;
}
set {
name=value
}
}
public string Address {
get{
return address;
}
set{
address=value;
}
}
}
The name of the anonymous type is automatically generated by the compiler and
cannot be referenced in the program text.
If two variables that are defined by anonymous types have the same members
with the same datatypes in their initializers, these two variables have the same
anonymous types. For example, if there is another variable defined as follows:
var b = new { Name = “name2”, Address = “address2” };
Then we can assign a to b as in the following example:
b = a;

Courtesy: Book WCF 4.5 multi layer services development with entity framework

Posted in Definitions, Dotnet, How To, Technology | Tagged , , , , | Leave a comment

Resource Links for 70-513 WCF Certification Exam

Today I am sitting for the beta version (71-513) of the Microsoft certification exam 70-513 : Windows Communication Foundation Development with Microsoft .NET Framework 4. The new MSDN library format is more streamlined and readable, and provides a wealth of information that can be used as a study guide for 70-513. I’ve collected a series of links tied to the skills measured on the exam.

Creating Services (20%)

Hosting and Configuring Services (18%)

  • Create and configure endpoints.This objective may include but is not limited to: default and standard bindings; custom bindings created from standard binding elements; standard endpoints; transports including HTTP, TCP, named pipes, UDP, MSMQ code-based service configuration; message encodingThis objective does not include: creating a custom binding element; creating new standard endpoints, loading configuration from a location other than the default application configuration file, security, transaction, reliable sessions
  • Configure Behaviors.This objective may include but is not limited to: applying service, endpoint, and operation behaviors in configuration and codeThis objective does not include: creating a custom behavior; creating and using dispatch behaviors,loading configuration from a location other than the default application configuration file
  • Implement self hosting.This objective may include but is not limited to: configuring and instantiating a service hostThis objective does not include: implementing a custom service host
  • Implement Web server hosting.This objective may include but is not limited to: configuring IIS/WAS for WCF; deploying to IIS/WAS; file-less configuration; specifying a ServiceHostThis objective does not include: Windows Application Server

Consuming Services (19%)

  • Implement service Discovery.This objective may include but is not limited to: configuring target scope; monitoring service announcements

Securing Services (17%)

  • Configure secure Bindings.This objective may include but is not limited to: transport, message, mixed mode
  • Configure message security.This objective may include but is not limited to: specifying protection levels on different message parts
  • Implement Authentication.This objective may include but is not limited to: Microsoft ASP.NET Membership Provider, Custom Provider, Windows Integrated Security, certificates (X.509), Federated Authentication endpoint identity; configuring client credentials; Custom ValidatorThis objective does not include: Geneva Framework
  • Implement Authorization.This objective may include but is not limited to: role based, claim based; configuring role providers for endpoints; principal permission attributeThis objective does not include: rights-management authorization such as Active Directory Rights Management Services (AD RMS)
  • Implement Impersonation.This objective may include but is not limited to: configuration and code; configuring WCF-specific Internet Information Services (IIS) impersonation properties; configuring impersonation options; operation-based and service-based
  • Implement security auditing.This objective may include but is not limited to: using serviceSecurityAudit behavior, service auditing, audit log

Managing the Service Instance Life Cycle (13%)

Monitoring and Troubleshooting Distributed Systems (14%)

Courtesy: http://www.jamesjfoster.com

Posted in Development, Dotnet, How To, Strategy, Technology, Tools | Tagged , , , , , , , , , , | Leave a comment