Tips

Showing posts with label Tips. Show all posts

Corporates some time needs to disable/hide few settings pages to block the users from changing the system settings. Windows 10 Creators Update provides the system admins to show/hide specific settings pages by tuning them in the Windows Group Policy Settings.

 

In this post, we will learn how to control the visibility of the pages. Before proceeding, make sure that you are an admin user.

Published by on under Tips | Windows

The light we generally see is a combination of different colors and among which the blue light has the maximum energy that can put more strain to eyes while working on a computer for long during the night. With the 'Windows 10 Creators Update', you can now control it.

 

In this blog post, we are going to see how we can configure it to lower the emission of blue light and ask Windows to show warmer colors to make it easier to sleep at night.

Published by on under Tips | Win10Tips

While working with Microsoft Office Interoperability, you may face the following exception that states: "COMException (0x80080005): Retrieving the COM class factory for component with CLSID failed due to the following error: 80080005".

 

This issue happens when Outlook is already running and you are trying to access it's mailbox from Visual Studio environment. Let's discuss more about the issue.

Published by on under Office | Outlook

Windows 10 Creators Update allows you to set custom colors to its background as well as its accent color. You can now modify it based on your mood, instead of just depending on the default color sets that comes with Windows 10.

 

In this post, we will discuss how to access the custom colors and assign them to Windows background and accent color.

Published by on under Tips | Win10Tips

As the big giant is planning to wave out the Windows 10 Creators Update in April 2017, most of the people are excited to get the updates as soon as it is available. But there are some people or corporates who does not want to install the update immediately.

 

This post details about how to delay installing the Creators Update at the beginning and temporarily push it to future for couple of months.

Published by on under Tips | Win10Tips

There could be various reasons when you would like to amend your last commit. One of them is improper commit message and/or wrong committer information. In any of the case, you may like to change the previous commit.

 

In this small post, we will learn how to amend your last Git commit message as well as the committer information (username and email). Continue reading to know more.

Published by on under Git | Git Basics

Microsoft has recently released Visual Studio 2017 and you might be already started working in it. If you are using NuGet Package Manager Console, you may face an issue which prevents you to press the keyboard 'Enter' key.

 

If you faced this issue, which has been already logged, here is a workaround to resolve it for the time being while Microsoft is working on the fixes.

Published by on under Tips | Visual Studio 2017

Microsoft released the final version of Visual Studio 2017 on 7th March 2017, which brought a set of new features and enhancements for the developers to build apps for any platform in any language. It comes in web installer only. No ISO/DVD images are available.

 

In case you need an offline installer, you can easily create that and customize it as per your need. Follow the steps mentioned below to create the installer.

Published by on under Tips | Visual Studio 2017

Recently we learnt how to read Microsoft Word and Microsoft Excel document contents (text only) using the interop APIs exposed by Microsoft. Now, what about reading the text content from PowerPoint slides? This can be achievable using another interop assembly file.

 

Today we will discuss how to extract the texts available in PPT files using 'Microsoft.Office.Interop.PowerPoint.dll'. Code has been shared for your easy reference.

Published by on under .Net | C#

There could be some situation when you tagged your code in local Git repository and pushed it to remote and later you decided to delete the tag. This is simple to delete the tag reference from local, but how to perform the same in remote?

 

Today we are going to see the bash command(s) by which you will be able to remove the tag information from Git. Let's see, how!

Published by on under Git | Git Basics

Recently, we learned how to read text contents of Microsoft Word document from a .NET application using the APIs exposed in 'Microsoft.Office.Interop.Word.dll'. There may be a business requirement to read contents of Excel sheets too.

 

Today we are going to learn how to read Microsoft Excel documents. The complete source code has been shared for your easy reference.

Published by on under .Net | C#

There could be some possible business needs for your .NET application to read the text contents from a Microsoft Word document. This can be simply done using the APIs exposed in the dll named 'Microsoft.Office.Interop.Word.dll'.

 

Let's have a quick look on how to do it using C#/.NET. Also find the complete source code shared here for your easy reference.

Published by on under .Net | CSharp

There are several instances when we need to make a comma separated text values from an excel column. There are different but pretty lengthy process that you can find, which will eat a no. of your valuable time to process the same.

 

So, what to do? Today we are going to learn a quick and easiest way to copy a column of data to a comma separated list. Continue reading to know more.

Published by on under Excel | Microsoft 365

It happened some time when a forced device driver update caused serious problems to Windows installation. This may happen when your device doesn’t support the driver updates that has been pushed and thus no simple way to block them.

 

With the Windows 10 creators update, Microsoft will allow you to include/exclude the driver updates during Windows update. Continue reading to know more.

Published by on under Tips | Win10Tips

You may already know that, Microsoft has aired the Windows 10 Insiders Preview Build 15002 for PC. If you are a Windows Insider in the fast ring, you may have already received the first update of year 2017. This build has a number of new features and improvements.

 

Among all these, Microsoft had added option to temporarily pause Windows 10 update. In this blog post, we are going to discuss on this topic and the way to pause/resume it.

Published by on under Tips | Win10Tips

Recently in a blog post, we discussed, how to detect whether an assembly is digitally signed using the C# programming language and System.Management.Automation.dll from Microsoft. That was one way to get the status of the digital signing.

 

Today we will learn another method to detect the same without using any additional dll references in our project. I hope that, it will much more interesting to learn.

Published by on under .Net | C#

Digital signatures are the public-key primitives of message authentication. In common words, hand written signatures are defined to put authenticity of a file. In digital word, it’s the digital signature binds a person/entity to the digital data.

 

In this blog post, we will learn how to detect whether an assembly (.dll or .exe) is digitally signed. We will use .NET/C# to identify the same. Continue reading to know more on this topic.

Published by on under .Net | C#

Continuing the series of blog posts on WPF ListView/GridView control, today we will learn how to set the background color (more precisely, ‘the Style’) of a WPF ListView/GridView control’s row based on some specific parameter passed as the data.

 

You may want to give your user a proper visual by providing a different style to that specific row. Let’s discuss with a simple example.

Published by on under Tips | Tutorial

In general case, the header/title of a WPF ListView/GridView columns are aligned in the center and hence in many cases you will need to align the column header/title to left or right (based as per your business requirement).

 

Today we will learn how to do this in the XAML itself by creating a proper style for the column header. Continue reading to know the trick.

Published by on under .Net | Tips

As we learnt, the 'ListView' control provides you the base to display a set of data items or records in a WPF application. In last blog post, we learnt how to group the records in WPF ListView/GridView controls and design the UI to group using the Expander control.

 

Today in this small blog post, we will learn how to sort the records easily. You can either choose to sort from XAML or code, but here we will discuss how to do it from code.

Published by on under .Net | Tips