Click here to Skip to main content
15,885,757 members
Everything / Operating Systems / Win10

Win10

Win10

Great Reads

by Juan G. Carmona
Advanced logging in modern .NET applications. A Sunday-morning-proof-of-concept.
by Petrov Vladimir
Former NeHe OpenGL Lessons adapted to MSVS-15 pro MFC in INICODE and the samples of the Joystick implementation
by Ratish Philip
The next version of the useful WPF controls is here
by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)

Latest Articles

by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
by Allegra Angelo
This tip intends to discuss how to rename multiple files in VB.NET.
by Southmountain
How to install and register .OCX components for legacy application
by Southmountain
How to smoothly build Diligent Engine on Windows 10 with Visual Studio 2019

All Articles

Sort by Score

Win10 

29 Dec 2018 by Juan G. Carmona
Advanced logging in modern .NET applications. A Sunday-morning-proof-of-concept.
10 May 2017 by Petrov Vladimir
Former NeHe OpenGL Lessons adapted to MSVS-15 pro MFC in INICODE and the samples of the Joystick implementation
15 Mar 2016 by Ratish Philip
The next version of the useful WPF controls is here
8 May 2019 by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
5 Dec 2019 by Petrov Vladimir
Compact and simply Vector Formula of the Intersection Point of Two Line Segments
15 Feb 2018 by Igor Ladnik
Basic infrastructure for massive continuous data acquisition and processing using ZooKeeper-Kafka and Redis
25 Feb 2018 by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
26 Jun 2018 by CMalcheski
A Full DirectX Sample Application Created in Pure Assembly Language
12 Mar 2018 by Igor Ladnik
Algorithm and code to create sorted page out of several large volatile unsorted data sets.
11 Feb 2016 by Martin Gmuca
A brief introduction to Windows 10 IoT development
19 Dec 2016 by Petrov Vladimir
Joystick Win32 and MFC Projects Templates ready to use
23 Jan 2020 by Steffen Ploetz
Another fully functional ownerdraw menu with minimal effort - this time based on Win32, with icons instead of bitmaps, with accelerators and tested for ReactOS and WinNT 4.0 to Windows 10
8 Jun 2017 by David A. Gray
Historically, ETW has been portrayed as having a very steep learning curve, along the lines of the effort required to summit Everest. Realizing its potential value, I set about to reduce the effort to that required to summit Pike's Peak.
24 Aug 2017 by Daniel Vaughan
Using steganography to conceal text within a document or watermark a code file, using a whitespace encoder. Hide text in plain sight!
20 Nov 2017 by Petrov Vladimir
The alternative Quadrics in OpenGL MFC for your Own design and Universal Polyhedron Procedure.
11 Mar 2018 by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
2 Aug 2016 by Evgeny Pereguda
Simple article about using of Desktop Duplication API for capture desktop screen WITH image of cursor
26 May 2017 by John Trinder
Comprehensive Multi-Slider(-Range) that can add, delete and move arrows (thumbs)
4 Feb 2019 by Igor Ladnik
Compact infrastructure for custom hosting of .NET Core component in unmanaged C/C++ code with reciprocal methods calls between the parts running in Windows and Linux. Section Threads and Processes
3 Mar 2024 by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
29 Nov 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 7 Saving journal entries in the file system
27 Jun 2016 by Ben Aldhouse
How I stopped worrying and learned to love Direct2D.
12 Jun 2017 by LukeCodes
This is a simple macro script to search and retrieve individual cells in an Excel document.
28 Feb 2017 by OriginalGriff
The Nexus 7, the Amazon Fire 7 inch, and the Chuwi Hi12. A personal review.
27 Nov 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 4 Adding Windows Controls (Building the DailyJournal app)
26 Sep 2019 by William Costa Rodrigues
This article explains an easy method to download and update your WinForms application
28 Nov 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 6 Programmatically Adding Tabs (Pivot) for Multiple entries in DailyJournal (includes CommandBar and Menu concepts)
16 May 2016 by Sibeesh Passion
One or more network protocols are missing on this computer
5 Aug 2016 by Petrov Vladimir
Texture Mapping in OpenGL from any Image File in any format using Class CImage(just call the File Name).
20 Aug 2016 by OriginalGriff
Fast startup in Win10 seems to conflict with some apps, on some machines: I've seen it affect Chrome and Live Mail for example, as well as making shutdown a very long process on some laptops. But it's not obvious where the control for this is, hence this tip.
16 Jul 2020 by Christ Kennedy
Combine your own sprites with any MP4 you choose using this Animation Editor
8 Jun 2021 by Derell Licht
Find logon time on Windows 10
22 Jan 2017 by Daniel Vaughan
Implementing synchronous and asynchronous form validation for XAML based apps.
29 Oct 2015 by BC3Tech
Pull-to-refresh on a Windows 10 UWP
28 Nov 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 5 Adding Tabs (Pivot) For Multiple Journal Entries
12 Dec 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 12 Working with the ListView - Setting up ListView style via XAML, using data binding and anonymous types in C#.
10 Feb 2020 by Steffen Ploetz
YES, you can - use native DLLs in your Azure Functions via P/Invoke ([DllImport]) as you already know it from .NET Framework, and safe the code you have developed and maintained for decades with much effort and patience.
18 May 2022 by Southmountain
How to install and register .OCX components for legacy application
11 Feb 2016 by Martin Gmuca
Quick guide to develop first app for Windows 10 IoT core
13 Apr 2016 by Steve Grundy
This article describes using the Windows MIDI API functions in a managed environment.
12 Apr 2016 by Jalapeno Bob
A VB.NET version of Ray Koopa's 21 Mar 2016 article, Getting All "Special Folders" in .NET
8 Dec 2016 by rerhart585
Using SQLite, leverage the create_aggregate(), and SQL's Between Operator to create a Normal Probability Distribution Histogram, or what is more commonly referred to as a Bell Curve.
7 Dec 2017 by raddevus
Get Started in UWP (moving away from WinForm) Chapter 11 LoadFileFromStorage - When changes from this chapter are complete you'll have an app which saves all entries and loads them from files.
29 Mar 2019 by Daniel Vaughan
Create a dynamic settings screen for your UWP app. Add a setting with a single line of code.
12 Nov 2016 by NguDeveloper
Angular2 + Webpack web application using VS Code step by step
24 Jan 2019 by Christ Kennedy
Draw multiple sprites of different appearances with a single instance of classSprite
5 May 2020 by Marcus Müller
Use Windows 10 build-in tools to configure VPNs for automatic reconnection after a connection is lost
23 Jun 2021 by Southmountain
How to smoothly build Diligent Engine on Windows 10 with Visual Studio 2019
29 Jan 2018 by Shao Voon Wong
Fixing Inconsistent Stroke Width of Chinese Characters
11 Oct 2015 by Member 11246861
Wifi communication between RaspberryPi2 and Laptop ASUS: fonts English, Russian.
2 Feb 2016 by Sergey Alexandrovich Kryukov
Perhaps you are missing the whole idea of reflection. And the type cast. Also you need to understand that in OOP there are compile-time and runtime types.What is type cast? In case of reference type, including a boxed type, you don't change the object itself at all. Normally, you up-cast it;...
18 Mar 2016 by Zohaib Sibte Hassan
Getting started on using LevelDB for your UWP application
8 Mar 2016 by OriginalGriff
You can only set executables as "run as Admin", so you need to create a new shortcut, and point it at the EXE file. Add the path to the solution as a parameter to teh exe, and set the "start in" folder to the solution folder.Then you can set the "Advanced" option to "run as Admin".So for...
12 Aug 2017 by Member 13358397
1. Search for definitions of _WIN32_WINNT in the current project files, if there are some of them, erase them. 2. Add StdAfx (header and source) files in the project. 3. In StdAfx.h define the following macros: #define _WIN32_WINNT 0x0A00 #define _ATL_APARTMENT_THREADED #define...
4 Apr 2019 by Richard Deeming
The most likely cause is that your HDD is formatted with NTFS, whereas your USB stick is formatted with FAT. The MSKB article[^] doesn't seem to exist any more, but according to this StackOverflow answer[^]: Quote: File time stamps on FAT drives are rounded to the nearest two seconds (even...
31 Jul 2019 by k5054
The default java installation for ubuntu is openjdk, not the version from Oracle. This means that java -version shows $ java -version openjdk version "11.0.3" 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1) OpenJDK 64-Bit Server VM (build...
29 Sep 2019 by OriginalGriff
That's complicated, because Windows isn't set up to do that for you - apps should accept a command line argument, but once they are running you can't add to or otherwise change that collection. So your app has to be "aware": when it starts, it checks for and existing instance (which is pretty...
24 Apr 2020 by OriginalGriff
Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead. When you concatenate strings, you cause...
24 Apr 2020 by MadMyche
Besides the SQL Injection vulnerability above... I don't believe that the OleDB class supports named parameters in the query; they each should be replaced with a ? (question mark) and then they need to be added in order. I hodgepodged your code...
10 May 2020 by Maciej Los
Take a look at MSDN documentation: _setmode | Microsoft Docs[^] // crt_setmodeunicode.c // This program uses _setmode to change // stdout to Unicode. Cyrillic and Ideographic // characters will appear on the console //(if your console font...
14 Jul 2020 by Patrice T
Quote: Why is my output not correct when utlizing cout
2 Jul 2021 by RickZeeland
You probably need the full path, e.g. C:\Windows\System32\shutdown.exe
21 Feb 2024 by OriginalGriff
Check your build type: if you are running a 32 bit system (Win 10 or 11) and building for a 64 bit EXE file, it won't work. Then check it running it under the debugger rather than executing an EXE directly: that'll tell you if it works at all,...
5 Nov 2015 by Suvendu Shekhar Giri
You can do this by setting ApplicationView.PreferredLaunchWindowingMode to ApplicationViewWindowingMode.FullScreenReference:How to maximise a Windows 10 Universal Application's window to full screen when running on a desktop?[^]Hope, it helps :)
21 Jan 2016 by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 1)
10 Apr 2016 by Andrea@Favero
I need to write an application on Windows 10 desktop, to test and develop some embedded products with BLE. I know that BLE is more mature on iOS and Android (and even on Windows Phone), but we are used to Windows Desktop applications, developed in Visual Studio 2015, in c#.I already...
10 Apr 2016 by Andrea@Favero
Update: I found the way to include the Windows 10 runtime.Add a reference to C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmdThanks the same :-)
13 Apr 2016 by Member 11246861
Within LAN, laptop gets signals from microcomputer and microcontroller using TCP/IP and SPI
6 May 2016 by Simon Jackson
A break down on the different modes of Xbox One development and clear direction of what is possible with the new UWP Retail unlock mode. Enable all devs to sideload and develop on the Xbox One UWP Platform
19 May 2016 by Richard MacCutchan
See Launch the Windows Store app[^].
28 May 2016 by Patrice T
Your question is just abuse. From the question, one can see you have not even Googled.Your main effort is asking the question.At least use Google or Bing and if the first try don't work, try to formulate the request differently a couple times.
28 May 2016 by PIEBALDconsult
Getting the answer yourself is a lot easier than posting a question here:f:\>help copyCopies one or more files to another location.COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]] source ...
24 Jun 2016 by Santhakumar M
Understand the Universal Windows platform, prerequisites. setting up the environment, and so on 
14 Jul 2016 by OriginalGriff
Try:Dim var1 as String="123456789"Dim var2 as String = var1.Substring(3, 3)
18 Jul 2016 by aamir_shaheen
helo, I am trying to add some images in flip view in windows10 app (VB.NET). the code works successfully but it does not show the image in flipview but only caption on the top left corner on flipview,what I am missing. code is here Dim napathme As String =...
7 Sep 2016 by Garth J Lancaster
you're doing a lot of console.readline(s) there ... are you sure you need that many ? how about something like (using one variable to hold the answer, instead of one for yes and no)Dim answer As StringConsole.WriteLine("Hello, Would you like to know why programming is valuable? Yes or...
5 Jan 2017 by Jochen Arndt
Initial device detection is performed by USB hubs. When a device is connected to a downstream port of a hub, it changes the data line level which is detected by the hub, stored, and signaled to the host. The host then communicates with the hub to perform further initialisation of the device....
8 Jan 2017 by Nuwan Karunarathna
This a foldable content control for UWP platform.
22 Feb 2017 by Graeme_Grant
Here is a resource that will help you: Top 10 DOS Batch tips [^] - see tip 9This Command Reference[^] will come in handy too. :)
26 Jun 2017 by Jochen Arndt
You will probably never get a valid handle from GetBLEHandle. Your code in main() does not check the return value and the function itself is not working as expected: if (!SetupDiGetDeviceInterfaceDetail(hDI, &did, NULL, 0, &size, 0)) { int err = GetLastError(); if (err == ERROR_NO_MORE_ITEMS)...
11 Jul 2017 by KarstenK
As the error message is yelling you not only need Silverlight, but the Silverlight Developer runtime also known as Silverlight SDK (Software Development Kit). Consider using other software libraries because Silverlight is somehow deprecated, so it is a dead end lane.
4 Sep 2017 by OriginalGriff
The simplest solution is this: don't use the Registry. That's a much better idea than you think: use of the Registry is more restricted than it was, and becoming more restricted with time, not easier. So what works now, may not work in future, as you have noticed with Win 7 / Win 10. And that is...
25 Sep 2017 by Jochen Arndt
Quote: The question is: ¿does intel E5 has coprocessor? Yes. All x86 based CPUs have a build-in x87 FPU and vector units (SSE, AVX). Quote: Can I use a compiler directive to run it faster? Yes, but it depends on the compiler and if you can accept reduced error handling and not being strict IEEE...
14 Feb 2018 by OriginalGriff
Not really. An HTML file is a page description, and a CSV file is a comma (and newline) separated list of values - there isn't any real overlap between the two formats so converting a generic HTML file to a list in any format isn't really going to work. It's like trying to convert a wedding...
8 Mar 2018 by Richard MacCutchan
See c# - How to call a function from DLL in UWP? - Stack Overflow[^].
16 Mar 2018 by User 13204940
You're going to need to look into Windows DLLs to find the handle of the .exe which acts as a unique identifier, then set the parent of that to the panel's handle. That way, the .exe is effectively embedded in the form. You'll be needing the SetParent function in user32.dll to do this. Also it...
15 Apr 2018 by Petrov Vladimir
Word Bookmark Editor for Word Reports easy handling
13 May 2018 by OriginalGriff
You don't really have to worry - or at least that's been my experience with Win10 on a touch tablet. It just works! Touches are quatred to mouse clicks, long touches to mouse right clicks. Drag and drop works - though it can be fiddly with Windows Explorer - and the soft keyboard can be brought...
27 Jun 2018 by John Whitmire
Well, well. Changing the anchoring of those buttons from bottom-right to top-right (which I could do because the form is not allowed to grow vertically) causes the buttons to stay in their rightful place in both Windows versions. Other related data: * The one button on the other form is...
8 Aug 2018 by Joel Ivory Johnson
Using a the OBD II Port and a Windows IoT Device (DragonBoard 410c or Raspberry Pi) to push real time engine data to the Azure Cloud for Analysis
26 Aug 2018 by Michael Haephrati
The following code[^] works with Microsoft Edge. It is not in c++ but you can learn from it how to do it. import win32inet cookie_string = cookie if cookie.find('xpires') == -1: expires = datetime.utcnow() + timedelta(days=30) expires_string = expires.strftime("%a, %d %b %Y %H:%M:%S...
26 Oct 2018 by OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send. So now...
3 Feb 2019 by RickZeeland
Here is a simple example using XElement: string TestXml = @" first_one second_one third_one fourth_one fifth_one sixth_one "; XElement x =...
3 Feb 2019 by Maciej Los
Please, refer MSDN documentation: XmlDocument Class (System.Xml) | Microsoft Docs[^], especially Find nodes[^] and Edit nodes. You might be interested in Select Nodes Using XPath Navigation[^] [EDIT] According to the OP requirements (posted in solution 3): Quote: I Want to keep the xml file...
16 Mar 2019 by RickZeeland
Some code from Pastebin does not look like a very reliable source to me, instead see answers here: .net - How to detect if my application is running in a virtual machine? - Stack Overflow[^]
1 Oct 2019 by OriginalGriff
Just to make your life simpler ... I created a class to make it all rather easier: Double clicking a file in explorer and adding it to your app while it's running.[^] It does exactly what I said to do in the original answer.
31 Oct 2019 by CHill60
You posted this question back in July and were given several solutions to try Can't start window service w/ error 1053[^]
18 Feb 2020 by Dave Kreskowiak
Windows doesn't support doing this. Supporting such would be a massive security risk. The process is owned by and has a copy of the security token from the account that launched it. UserB will never have the same instance that UserA started. The...