How to set folder permission using C# code?

Not every system has the right folder permission set to all user account and hence, sometime we need special access to specific folder during installation or while executing the application. It is not possible to manually set it up by browsing the folder and hence an automation is mandatory.

 

If you are looking for a way to set the right permission to specific folder(s) using C# code, this post will help you. Continue reading to learn more about it and grab the code.



#VisualStudio 2015 Tips - How to organize "usings" across solution?

Whenever you create a new code file in Visual Studio, it adds a default set of using namespaces automatically to faster the development process in common name resolution. Not all of them are mandatory to use and can be remove at later point of time or before code check-in.

 

Visual Studio 2015 provides us an easy way to organize the using namespaces within the active code file, project and/or solution. You will really love this new feature. Continue reading to learn more about it.


#VisualStudio 2015 Tips - How to work with the Window Layout?

Apart from the other cool new features, the giant company also added a feature in Microsoft Visual Studio named “Layout Management”. This is a nice feature for people working in multiple devices with Visual Studio 2015. Using this you will be able to save and sync your IDE layout across devices.

 

Today in this post, we are going to discuss on this and will learn how to save and sync the Window Layout. Continue reading and let us know, how this can benefit you.


#VisualStudio 2015 Tips - How to show output window while building?

For some people, it is sometime irritating when the "Output" window automatically opens up in the screen when building a project or solution in Visual Studio. For some people, it's the reverse case and they want to check the entire log while the build is running or the console application is running in debug mode.

 

In Visual Studio, you can control this behavior and ask the IDE whether to open it into view or not. It’s not specific to Visual Studio 2015 and is available since VS 2013. Let's see how to enable/disable it.


#VisualStudio 2015 Tips - How to switch between fullscreen IDE mode?

It happens many time (during coding or code review process), when we need a bigger space in our favorite Visual Studio IDE to check/read the code completely. Closing all the other docked windows/panel, toolbars and then adding them one by one is really very difficult and time consuming.

 

Visual Studio 2015 provides us an easy way to switch between a full screen and normal mode. This way, you don’t have to do extra work to create a bigger space. Continue reading to learn more on this topic.


#VisualStudio 2015 Tips - How to enable/disable the Quick Launch?

If you are working in Visual Studio 2015 IDE, you might have noticed the “Quick Launch” search bar, which allows you to quickly navigate to common menus and settings. This is a handy tool that you will need while searching for some options or feature within the popular IDE.

 

Today this post will cover how to enable/disable this “Quick Launch” bar. Continue reading to know this quick tips & tricks on Visual Studio 2015. Pass it on to your friends/colleagues.


How to delete an entire Registry sub key tree using C#?

Registry is the heart of Windows Operating System and all/most of the apps and games associates various values/data into the registry, which can be accessed at different point of time. Playing with Windows registry is very dangerous and hence general people should avoid or take special care while working with it.

 

In case you are a developer, you want to read/write/delete entries to/fro Windows Registry. This post will cover details and code snippets to delete an entire key tree from it. Continue reading to learn how to do it.


How to get the Process Description of an external process using C#?

Sometime we need to find out details of running process which is external to your current process, might be a third party one. If you are currently looking for some code to find out details of a process, this post will definitely help you. Here we will learn, how to get the process description using C#.

 

Continue reading to learn about it. Also, sample code has been shared for you to understand it better. If you have specific query, drop a line in the comment section.


Microsoft started pushing #Windows10 as Recommended Update

Microsoft now stepped one step forward to push Windows 10 to a major set of devices who are still using Windows 7 or Windows 8.x by marking the OS as “Recommended Update”. It’s still your decision whether to opt-in or opt-out. If you opt-in, you will of course get it as free.

 

It is still a right time to upgrade to Windows 10, but not mandatory. To know more about it and the upgrade process, continue reading this post.


#UWP Tips: Building a Toast Notification with buttons (Part 2)

I hope you read my previous post on “Building a Toast Notification with text for apps targeting Universal Windows Platform”. There we learned how to create a very basic toast notification. Continuing the series of posts, today we will learn how to add buttons within the notification.

 

Let’s begin with building toast notification with text and buttons. Stay tuned to learn creating more complex notifications in next blog posts of this series.

 
© 2008-2016 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top