Click here to Skip to main content
15,887,267 members
Everything / WinRT

WinRT

WinRT

Great Reads

by Bernardo Castilho
The article presents an ICollectionView class that supports filtering and sorting.
by Graham Odds
Toob is a Windows 8 London Underground travel information app.
by ljw1004
How to use UPnP on Windows 8
by Joel Ivory Johnson
In this article I take a look at setting up a system for HoloLens development, the compatibility of the applications with other UWP platforms, and introduce Unity for making a 3D application

Latest Articles

by Michael Chourdakis
Easily migrate to WinUI3 from plain Win32 while keeping all Win32 features intact
by Michael Chourdakis
A set of tools to create a new VCXPROJ file automatically
by Michael Chourdakis
How to use the WinUI3 controls in a plain Win32 application without packaging
by Giuseppe Pischedda
Introduction to C++/WinRT

All Articles

Sort by Updated

WinRT 

1 Feb 2024 by Michael Chourdakis
Easily migrate to WinUI3 from plain Win32 while keeping all Win32 features intact
20 Jan 2024 by Michael Chourdakis
A set of tools to create a new VCXPROJ file automatically
6 May 2023 by Michael Chourdakis
How to use the WinUI3 controls in a plain Win32 application without packaging
12 Jan 2022 by Giuseppe Pischedda
Introduction to C++/WinRT
15 Dec 2021 by Priyanka S Jigalur
I'm trying to write the C++ code in order to transfer a text file from Desktop to phone via Bluetooth given the device paired. Windows::Devices::Enumeration::DeviceInformationCollection services{ co_await...
24 Jul 2020 by twhall
[Full disclosure: I've posted a similar question (same subject line) on "another developer forum" and received an answer there that isn't wholly satisfactory. I'm slightly rephrasing the question here in the hopes of maybe getting something...
3 Aug 2019 by Member 13674745
HEIF is not so new container format that allows the compression of multiple images, their colour profiles and thumbnails. Microsoft has recently added support to Windows 10 with HEIF Image Extensions that only decodes the master image in the container. Other C++ libraries exist online like ...
9 Mar 2017 by Graeme_Grant
A documented journey looking for the fastest solution for generating valid Anagrams for the Weekly Code Project Challenge...
8 Nov 2016 by Paulo Zemek
This article presents the PropertyPathObserver class, which allows for faster bindings and more.
7 Oct 2016 by Member 12782061
i have a Question how to get any unique id or Mac address from my Raspberry pi ?Am using Windows Universal Application Platform Vb.net (Visual Basic ) anyone can help ?What I have tried: Dim deviceinfo = New EasClientDeviceInformationDebug.WriteLine(deviceinfo.id)but...
7 Oct 2016 by Dave Kreskowiak
A MAC address is not a unique identifier. The specification for MAC addresses just says that the id must be unique on the segment the network adapter is connected to. It is not a globally unique id.The best way to go about something like this is to assign a unique id to the device from your...
17 Aug 2016 by rjrohit2303
I am getting below error when trying to download a file from ftp.System.Exception was caught HResult=-2147012893 Message=Exception from HRESULT: 0x80072EE3 Source=mscorlib StackTrace: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at...
17 Aug 2016 by Jochen Arndt
Error code 0x80072EE3 is ERROR_INTERNET_EXTENDED_ERROR.This error occurs when receiving an error response from the server.You can try to pass the HRESULT to BackgroundTransferError.GetStatus | getStatus Method (Windows)[^] to get the server error code.See then the List of FTP server...
20 Jul 2016 by Joel Ivory Johnson
Windows IoT on Raspberry Pi doesn't yet have native support for a hardware real time clock. I've created a solution for getting Windows IoT to initialize its clock from RTC at bootup so that other solutions don't need to be modified to read from the RTC directly.
16 Jun 2016 by Joel Ivory Johnson
In this article I take a look at setting up a system for HoloLens development, the compatibility of the applications with other UWP platforms, and introduce Unity for making a 3D application
11 May 2016 by Sriram Mani
In my UWP application originally developed for Win8.1, I have a Page BottomAppBar control in all pages which holds an Appbar button and a command bar. There is a link in the command bar inside BottomAppBar to open a full sized content dialog screen as shown in the below screenshot. In Windows...
28 Mar 2016 by Member 11823120
My custom control is deriving from itemscontrol but it will not work.when use below code works fine.public new string DisplayMemberPath { get { return (string)GetValue(DisplayMemberPathProperty); } set { SetValue(DisplayMemberPathProperty, value); } } ...
26 Mar 2016 by Member 12416797
Hi guys, i'm trying to develop call reorder app for windows 10 using UWP platform. But i stucked on audio capture. Tell me plz using what technology i can figure it out.What I have tried:I read about Naudio, but it semms that it doesn't work well with UWP. Also i tryed to use...
26 Mar 2016 by Sergey Alexandrovich Kryukov
Please see my article Practical Sound Recorder with Sound Activation[^].It is not a UWP but is in WPF, but it doesn't matter, because its audio part is tiny, clearly written in a separate file and class and can be used anywhere where you can use legacy Windows API. Actually, this part of API...
26 Mar 2016 by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
24 Mar 2016 by Sumit Samediya
In this article, we will learn how to consume Webservice in Windows Universal App
24 Mar 2016 by Pedro Luis Gil Mora
I got this code on my app which tries to get contact thumbnail. But I don't know how to render that thumbnail.Windows.ApplicationModel.Contacts.ContactManager.requestStoreAsync() .then(function (cs) { cs.findContactsAsync(strSearch).then(function (list) { //Hope...
24 Mar 2016 by Pedro Luis Gil Mora
Windows.ApplicationModel.Conta...
20 Mar 2016 by Sumit Samediya
In this article we will learn how to use existing sqlite database in WP 8.1 apps.
18 Mar 2016 by Zohaib Sibte Hassan
Getting started on using LevelDB for your UWP application
13 Mar 2016 by Gregory Morse
Code methods for capturing and automating multilingual and imaging aspects for sound store deployments
6 Mar 2016 by Afzaal Ahmad Zeeshan
What Windows runtime can teach .NET developers
27 Feb 2016 by Gregory Morse
Deriving VirtualizingPanel and OrientedVirtualizingPanel is not possible in WinRT but using some calculation strategies, an efficient emulation is possible
25 Feb 2016 by Gregory Morse
WebView navigateToLocalStreamUri can be used from WinJS/JavaScript with some more advanced coding techniques to wrap a necessary interface
24 Feb 2016 by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 2)
10 Feb 2016 by Kouji Matsui
This library is simple and is a substitution of System.String.Format.
6 Feb 2016 by Ajit Hegde
I don't know what the problem was. But I found out that if you call ScrollIntoView from an event it will work.So I created Layout_Updated event. Called the ScrollIntoView from that event.
5 Feb 2016 by Ajit Hegde
I have 4 subjects. Each subject has 500 questions. Once program loads settings it will give you an option to choose subject. Once user selects a subject it will load the list of questions. If question is solved then it is shown as green. I am trying to scroll to unsolved questions...
23 Jan 2016 by Afzaal Ahmad Zeeshan
C# 6 has been available for a long time, by now! Many developers have written many guides to "list" the features. I have written this post to explain those features, and to explain whether they are actually new or are they just sugar coating to the compiler.
21 Jan 2016 by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 1)
19 Jan 2016 by Leisvan Cordero
Adobe Illustrator script for UWP Assets
11 Jan 2016 by hans.hinnekint
How to serialize and encrypt an Object using C#
26 Dec 2015 by Gregory Morse
Custom Media Sink for use with Media Foundation Topologies and WinRT/WRL MediaCapture
26 Dec 2015 by Afzaal Ahmad Zeeshan
In this post, you will learn how to perform text-to-speech actions in Windows Runtime for Windows Store applications, also how to store the speech stream in a waveform file format on your machine.
23 Dec 2015 by Pedro Luis Gil Mora
I've found the solution by myself . I hope this can help someonestmt.stepAsync().then(function(r) { if (r) { var obj = {}, i = -1; while (++i
22 Dec 2015 by Pedro Luis Gil Mora
Hi everybody. I've been working with SQLiteWinRT library and there's no way I can't implement (the far I know) the equivalence of async operation working in bucles for javascript.Here is an example: await db.OpenAsync(SQLiteWinRT.SqliteOpenMode.OpenRead);var stmt = await...
2 Dec 2015 by David Catuhe
Thanks to Chakra (the JavaScript engine used by Microsoft Edge), it is now possible to host one of the fastest JavaScript engines (and also the one with the highest support of ECMAScript 6) inside any Universal Windows Platform application.
1 Dec 2015 by Kornfeld Eliyahu Peter
This page describes are the namespaces (split by areas/subjects) of Windows Runtime API: https://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx[^]If you go in you will find this, and that may help...
1 Dec 2015 by Ankush Jamdagani
Hell there! I am new to winrt and i was planning on developing a winrt app for a simple media player that would play audio/video, create playlist and have media library.As i was thinking i would make a playlost class and serialize it when a playlist is saved. This playlist class would be...
4 Nov 2015 by Mehdi Gholam
WPF and WinRT are 2 different things (WinRT is the umbrella name for "Universal Apps" which can be run on windows and mobile devices).Generally WPF has more functionality at the moment.
4 Nov 2015 by Rahul s menon
Iam try to do new application in WPF or WinRt, in Which Language is better to development?Please mention yours suggestions?
20 Oct 2015 by sandy.L
Using data services like spatial data service, NAVTEQ data source, REST is it possible to get the nearby locations from the current locations in India.(using windows phone 8.1)I want to particularly display the nearby locations in map control.Help me..
18 Oct 2015 by sandy.L
In windows phone 8.1 how to get the nearby places such as restaurants, hotels, etc with map control from current location. It is done with the help of LaunchUriAsync query. But when we use this query it redirects to phone map. How to implement nearby location with MapControl. In silverlight...
9 Oct 2015 by Irina Pykhova, Greg Lutz
This article describes the implementation of an extended GridView control that enables drag and drop with grouping and variable sized items.
6 Oct 2015 by James M Croft
This post covers getting your Windows apps connected to a Microsoft Band for an indefinite period of time.
29 Sep 2015 by Krunal Rohit
Well, It is not possible to get a list of available WiFi networks via any of the public APIs, and not possible at all with the current WP API's to do what you want.-KR
29 Sep 2015 by sandeep.kr.kr
Is there any way to get all WiFi access points and their respective RSSI values within the range of windows 8.1 mobile device using .NET? It is simply working in windows 10 using Windows.Devices.WiFi.
21 Sep 2015 by rjrohit2303
Hi, I am working on an windows8 application, in which I have a grid to show list of items. Each row has a textbox to take some input, when I enter any value on one of the textbox in a row and then scroll down then other rows (scrolling up from bottom) automatically has this same value set in...
11 Sep 2015 by Member 10978232
I'm making a windows 8.1 Universal app, I have a gridview in it, that will show images, and will be scrollable horizontally.In windows store app I can scroll it with mouse wheel, no problems.But I need right and left arrow keys to do the same what a mousewheel does. (note:if a gridviewItem...
28 Aug 2015 by Daniel Vaughan
When submitting a UWP or WinRT app to the Windows Store, you must increase the Version number of the package or the submission will fail. It can be a chore to manually update the version number.
27 Aug 2015 by dtoth2
Hi, I need to ask for a passcode every time the app was suspended (and resumed), so I have to show a corresponding page, and after the user enters the pin proceed the app resuming to the page which was shown before suspending. How can I get the page to which I have to proceed? The App.Resume...
25 Aug 2015 by Afzaal Ahmad Zeeshan
In this article I will explain Windows.Media.Capture namespace's MediaCapture element and how it can be used in Windows Runtime to create applications that make use of camera, for capturing photos and videos. Plus, the article shows how to capture the list of photos or videos that are recorded for p
12 Jul 2015 by Sergey Alexandrovich Kryukov
In addition to DirectX, you can consider:http://www.ogre3d.org[^],http://unity3d.com[^].—SA
12 Jul 2015 by Kornfeld Eliyahu Peter
WinRT does support 3D via DirectX, just like WPF...http://video.ch9.ms/sessions/build/2012/3-112.pptx[^]
30 Jun 2015 by Darshan VC
I want to change the hostname(NetBios) by code in C++/C#. The operating system is windowsRT 8.1I searched a lot but did not find any api for the same.SetComputerName will not work on WinRT
25 Jun 2015 by Richard MacCutchan
Take a look at https://msdn.microsoft.com/en-us/library/ee663286(v=vs.85).aspx[^].
24 Jun 2015 by Vineeth.B
Hi,Does anyone know how to get list of devices(IP addresses) which are connected to PC/tablet using WinRT?I want to know which devices are connected to my PC through LAN or WiFi.Thanks in advance....
22 Jun 2015 by Fiyaz Hasan
Building an outlook calendar app for windows phone using Live SDK
11 Jun 2015 by Lance Contreras
Create an easily resusable IconBlock (TextBlock that display's an icon)
1 May 2015 by Intel
This article covers design considerations for tablet apps, including UI design, session length, accommodating user differences, and localization.
13 Apr 2015 by Ziya1995
I need 3d graphics support in WinRT app development to create simple 3d models like in WPF.I see only 2d shapes.What types in the WinRT reference can do it?
2 Apr 2015 by anandblitz
Check the below link and see if it helps.https://www.leadtools.com/blog/multimedia-imaging/how-to-combine-video-audio-separate-sources/
2 Apr 2015 by Shreesh Uniyal
I am working on a windows 8 app and I have to merge a video file that can be in .mp4 or any other format and an audio file that is.mp3 file and in output I need a .mp4 video file.How can we Implement it in Windows 8 using c# or is there any dll file we can use.
23 Mar 2015 by Sacha Barber
Showcase of how to use a sort of Attached Behaviours for ViewModels, and how to build BIG XAML apps
10 Mar 2015 by Sushg
Did you find any solution for this problem? I had similar issue with Microsoft Advertisement dll and I managed to fix it with these steps - 1. Build in Debug mode and deploy to the device. Deployed successfully.2. Now clean the solution, build in Release mode and deploy to device.I...
3 Mar 2015 by Apoorv Kumar Upadhyay
I have created a user control . The user control has an image control inside. Presently I am using WriteableBitmapEx and cropping the background image and displaying inside the user control .The actual requirement is to zoom in the pixels where ever the user control moves without compromising...
22 Feb 2015 by Kunal Chowdhury «IN»
How to create Schedule Task in Universal Windows apps?
19 Feb 2015 by Juan(10897453)
In my windows phone app I am including Microsoft Media Player Framework (MMPPF) to include MediaPlayer and WebVTT functionality. I am referencing the DLL's and winmd files that were built from the MMPPF universal project as appose to referencing the installed MMPPF extension in Visual Studio. On...
21 Jan 2015 by Ziya1995
The next link provides API reference required to make apps to publish on Google Play Store.http://developer.android.com/reference/packages.html[^]
20 Jan 2015 by Ziya1995
I found Windows API reference for Windows Runtime apps:https://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx[^]Windows API reference is different from WinRT, because WinRT is limited for Store apps.Now i am searching the same thing for Android Play Store.I...
1 Jan 2015 by Jitendra.Jadav
Windows Store app is not creating downloader.CreateDwonloading() last 2 days it is not working earlier it was working fine, but suddenly last 2 days I am facing this issue does any one know what is wrong with..or any solution for that.??My code is //Create instance of...
28 Dec 2014 by Member 11171377
Hello,For two days i trying to convert the following code to analogue in WinRT, but I can't. The WinRT does not have DrawingImage, so I tried to proceed by analogy with the Path or Polyline, but I failed.I would be very grateful forYour help.
17 Dec 2014 by Afzaal Ahmad Zeeshan
Since the IsFullWindow property has to put all other controls to the background, there is no way for you to do this. But yes, there is a way to do this, because many other Media players such as VLC media player makes a use of such technique, to show the subtitles on screen in the Full Window...
17 Dec 2014 by Ste Moore
Hi,I'm creating a simple movie/music player Windows Store app in Visual Studio 2013 using VB.net and XAML.I am using a MediaElement and when it is set as IsFullWindow = True, all my controls are hidden behind it.Is there a way that I can show a TextBlock in front of the MediaElement...
16 Dec 2014 by Kinna-10626331
My solution has been to create WPF project, copy the old .cs files in that new project , and add on it a reference to System.Windows.Forms , in order to still using the old funcionality which validates Windows forms. Then create same methods but passing this time...
15 Dec 2014 by Kinna-10626331
Hi ,I have 2 projects in C#: a WPF app and a old empty c# project. In the last one I have a method that validates Forms public void SetParentUserConrtol(Form parent, uint id) { // Set the data _parentUserControl = parentUserControl; _parentID = id; //...
4 Dec 2014 by The_Inventor
Usually through Windows Update Service. If you already have the file, then it needs to be in the correct directory, either a ..\system for old 16 bit stuff, or in ..\system32 for 32bit level stuff, or in ..\SysWOW64 for 64 bit stuff. Then once it is in the proper location then you need to...
3 Dec 2014 by Member 10977987
Hello, I have on my pc windows 8.1 and VCCORLIB120_APP.DLL version - VCLibs.120.00_12.0.20812.1. How I do update libs to new version VCLibs.120.00_12.0.21005.1?
23 Nov 2014 by Mathew Soji
Please have a look to the below links as a starting...
23 Nov 2014 by Darshana Dinushal
I am currently developing a simple html5 photo editing app.This application save edited images and then i don't know how to share this image to Facebook , twitter etc
19 Nov 2014 by Omrd
Hi All,I am developing a desktop wpf application which connects windows 8 tablet with BLE device over Bluetooth. Win8 metro app supports apis for Bluetooth via Windows.Devices.Bluetooth.Rfcomm namespace as given in the link...
16 Nov 2014 by B. Clay Shannon
I want to conditionally disable/enable buttons on the bottom app bar, but there doesn't seem to be an "Opened" or "Opening" event or the like.How can I respond to the opening of the appbar so I can disable/enable these buttons based on the app's current state?
6 Nov 2014 by praveen_kundurthy
This paper presents four guidelines that can help guide software developers as they design applications that encourage touch interaction and deliver a memorable user experience on Intel® processor-based pAIOs.
30 Oct 2014 by Dominic Burford
In your original version can you not just select the required column(s) using LINQ. Change the name of the column to the appropriate one.var setnames = (from a in psets select a.SetName).ToList();return setnames;
30 Oct 2014 by B. Clay Shannon
I have this code in my WinRT app:internal static List GetPhotosets(){ List psets = new List(); using (var db = new SQLite.SQLiteConnection(App.DBPath)) { // Does SQLite support "DISTINCT"? string sql =...