Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: WinDev
Showing posts with label WinDev. Show all posts
Showing posts with label WinDev. Show all posts

Microsoft releases Windows 10 SDK for Fall Creators Update

With the release of Windows 10 Fall Creators Update, on 17th October 2017, Microsoft also released the SDK for the developers to build and publish apps. It contains the latest headers, libraries, metadata and tools to build applications targeting Windows 10 Fall Creators Update.

 

If you didn't yet grab that, download it now and start building new apps or updating your existing ones with the new features.



Extracting text with iTextSharp throws an InvalidCastException

If you are using 'iTextSharp' library to read/write PDF files in your application and faced an InvalidCastException with the message "Unable to cast object of type 'iTextSharp.text.pdf.PdfLiteral' to type 'iTextSharp.text.pdf.PdfString'", this post will help you to know the root cause of the issue. Continue reading to learn more about it.


Solution: An error occurred while validating. HRESULT = '8000000A'

If you face the error message “An error occurred while validating. HRESULT = '8000000A'” while building Visual Studio setup project from command line in Visual Studio 2012 or above IDE environment, the reason is because the new IDEs do not support build outside the own process.

 

But there is a tweak which will help you to enable the same and you will now be allowed to build the MSI setup project from the command line itself.


#Windows 10 Mobile Preview Build 14356 is now available with a set of improvements and fixes

Dona Sarkar, who has recently taken care the department of Windows Insiders Program after Gabe Aul moved to a new department, in a blog post announced the availability of new insider build 14356 for fast ring users of Windows 10 Mobile.

 

This build focuses more on the fixes on the issues reported to Microsoft along with some new enhancements to Cortana. Find more to know all these changes and the known issues.


My slides on building #UWP apps using C# and XAML

Last Sunday (29th May 2016), we have organized an event in Kolkata, clubbed with topics on different technologies. This includes topics like C# 7.0 Concepts, Azure PowerShell, UWP (Universal Windows Platform), HoloLens with Unity 3D and IoT (Internet of Things).

 

I have given a session on building UWP apps using C# and XAML. Here I am sharing my slides for you to refer. Those who missed to join the event, check it out.


#VisualStudio 2015 Tips - How to execute code in Interactive window?

Visual Studio 2015 Update 2, released during //BUILD/2016 developer conference, provides an easy way to execute code directly on the Interactive Window inside the Visual Studio IDE. Along with that, the interactive window is now also capable of color highlighting.

 

Today in this blog post, we will learn how to execute code directly in the interactive window, in just a single click. Continue reading and let us know, how much you like this enhanced feature.



Windows 10 Mobile Insider Preview build 14283 is now available

Gabe Aul, the Corporate Vice President of Microsoft Engineering Systems team, announced the availability of Windows 10 Mobile Insider Preview build: 14283 for the fast ring Windows Insiders. Though this build is now limited to few devices, but will later expand to other devices.

 

This build focuses some new improvements and fixes. As it is an insider build, it also has some known issues. Continue reading the post to know what has been changed, along with the issues currently present.


How to ZIP/Unzip files using .NET/C# (without 3rd party libraries)?

If you are building a custom installer of your own, you might want to compress the files inside a ZIP and extract them on need basis. You can easily do this by using some 3rd party libraries, among which some are free and some are paid versions. Why to use additional libraries if the .NET framework provides you the set of APIs?

 

You might be aware of this, but if you are unaware of it, let me tell you that, it was present since .NET 2.0. Let’s explore it in today’s quick blog tips & tricks. Continue reading and share the link in your network.


#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.


#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.



#UWP Tips: Building a simple Toast Notification with text (Part 1)

If you are a developer and building apps or games for Windows 10, targetting Universal Windows Platform (aka. UWP), you might want to show toast notifications to the user of your app/game. You might also want to provide some additional content like textbox, button etc. to get specific inputs.

 

As part of this tutorial series, we are going to learn how to show custom toast notifications. Today let’s begin with building simple toast notification with text. Stay tuned to learn complex notifications in next blog posts.


#UWP Tips: How to create Hosted Web Apps for #Windows 10?

Windows 10 SDK provides an easy to implement project template by which you can quickly create an app for Universal Windows Platform which you can use to run a hosted web app. You don’t have to create the whole app, if the site is already running. Just change few values in manifest file and your app will be running.

 

In this post, we will learn how to create a hosted web app targeting Windows 10 (without writing any code). Share your feedback and/or ask your queries, if any.


How to get the Device Information in #UWP apps?

If you are building apps/game for Universal Windows Platform, you might want to retrieve the device information where the app/game is currently running. You might use this information to log details about any exception and/or to do specific action based on device details.

 

In this post, we will learn how to fetch the device information in UWP apps. Continue to read about the APIs exposed by Microsoft SDK. Don’t forget to read my other posts too and share your feedback.


How to get the Battery Information in #UWP apps?

How many times we are in such a condition when our battery is going to die and we have to do some important calls or something else? If we poll for it, the count will be high. If you are a developer and building apps targeting Universal Windows Platform (aka. UWP), you might want to integrate the battery APIs already exposed.

 

This post will cover about the API today and we will learn how more about the API with proper demonstration. Continue to read more on this topic and don’t forget to check other posts on the same topic.

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