tagged [windows]
PresentationFramework Aero, Aero2 or AeroLite
PresentationFramework Aero, Aero2 or AeroLite I want to write a quick WPF application but am finding that it looks totally different on Windows 7 compared to Windows 10. All the paddings and margins a...
- Modified
- 27 Oct at 21:27
Changing Theme in Windows 10 UWP App Programmatically
Changing Theme in Windows 10 UWP App Programmatically I was able to change theme using `this.RequestedTheme = ElementTheme.Dark;` But what I need is the whole application level, since this one only ch...
- Modified
- 1 Jan at 09:5
How to convert System.IO.Stream into an Image?
How to convert System.IO.Stream into an Image? How can I convert a `Stream` of an image (which I retrieved using the `Album.GetArt` method from the `MediaLibrary`) into a usable `Image` in my applicat...
- Modified
- 8 Aug at 19:15
Device Unique id in Windows Phone 8.1
Device Unique id in Windows Phone 8.1 How to get the device unique id in Windows Phone 8.1? The old way of using `DeviceExtendedProperties.GetValue("DeviceUniqueId")` does not work for Windows Univers...
- Modified
- 4 Aug at 08:6
Get the current thread id on Windows 8 with C#
Get the current thread id on Windows 8 with C# System.Threading.Thread (with .CurrentThread.ThreadId etc) has been removed from WinRT. Is it possible to get a current thread id (for debugging and logg...
- Modified
- 24 Dec at 01:24
Maximum filename length in NTFS (Windows XP and Windows Vista)?
Maximum filename length in NTFS (Windows XP and Windows Vista)? I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by ...
- Modified
- 19 Oct at 09:0
ADB Driver and Windows 8.1
ADB Driver and Windows 8.1 I waste a lot of time trying to successfully install the ADB driver for my tablet in Windows 8.1. So here I will post what I did, in case anyone has the same problem.
- Modified
- 23 Feb at 18:36
How to add a "open git-bash here..." context menu to the windows explorer?
How to add a "open git-bash here..." context menu to the windows explorer? How to add a context (aka right click) menu to the windows explorer that, when clicked, opens the git-bash console in the cur...
- Modified
- 20 Nov at 15:42
Tree view of a directory/folder in Windows?
Tree view of a directory/folder in Windows? In Linux/KDE, I can see a directory as a tree. How can I do it in Windows 7? Consider I do NOT mean "Windows Explorer". This just shows the directories, I a...
- Modified
- 18 Nov at 16:22
Progress bar with HttpClient
Progress bar with HttpClient i have a file downloader function: ``` HttpClientHandler aHandler = new HttpClientHandler(); aHandler.ClientCertificateOptions = ClientCertificateOption.Automatic; ...
- Modified
- 18 Dec at 15:9
How to check the internet connection availability in windows phone 8 application
How to check the internet connection availability in windows phone 8 application I'm developing . In this application, I have to connect to the server to get the data. Please tell me how to do this in...
- Modified
- 26 Sep at 09:24
(Windows) How to lock all applications (explorer, task manager etc.) and make only the browser active?
(Windows) How to lock all applications (explorer, task manager etc.) and make only the browser active? I'm trying to run only the browser in the system - locking access to everything else. Only the su...
- Modified
- 17 Apr at 13:38
Metro Tile Notifications in C#
Metro Tile Notifications in C# I'm trying to put together a simple Windows 8 metro style app in c# with tile notifications but I can't seem to get them working. What I can't quite figure out yet is wh...
- Modified
- 11 Nov at 19:27
How do I free my port 80 on localhost Windows?
How do I free my port 80 on localhost Windows? I installed XAMPP 1.6.8 and for some reason it didn't work. Later realized port 80 is not free or not listening. How can I release it or make it free? Th...
- Modified
- 30 Dec at 04:27
Can a Windows service stop itself?
Can a Windows service stop itself? I have a Windows service whose startup type is automatic, but I want to do some checks when the service starts, and have the service stop automatically if these chec...
- Modified
- 2 Aug at 02:59
How to post data using HttpClient?
How to post data using HttpClient? I have got [this](http://www.nuget.org/packages/Microsoft.Net.Http) HttpClient from Nuget. When I want to get data I do it this way: But the problem is that I don't ...
- Modified
- 20 Jun at 09:12
Starting a windows application from a windows service
Starting a windows application from a windows service I am trying to start a windows application from a windows Service using the below code In windows 7 I receive a popup that says, "A program runnin...
- Modified
- 9 Dec at 13:28
Checking if a DateTime is before DateTime.Now
Checking if a DateTime is before DateTime.Now How can I check using some form of `if` statement if a certain `DateTime`, (say in this case called dateAndTime1) is before the current date and time, whi...
- Modified
- 29 Jul at 20:35
How to check if file exists in a Windows Store App?
How to check if file exists in a Windows Store App? Is there any other way of checking whether a file exists in a Windows Store app?
- Modified
- 14 Jan at 08:22
Easier way to debug a Windows service
Easier way to debug a Windows service Is there an easier way to step through the code than to start the service through the Windows Service Control Manager and then attaching the debugger to the threa...
- Modified
- 9 Dec at 07:25
Launching an application (.EXE) from C#?
Launching an application (.EXE) from C#? How can I launch an application using C#? Requirements: Must work on [Windows XP](http://en.wikipedia.org/wiki/Windows_XP) and [Windows Vista](http://en.wikipe...
- Modified
- 22 Sep at 22:4
Tray icon does not disappear on killing process
Tray icon does not disappear on killing process I have a window service for my application. When i stops that by killing process with task manager, the tray icon does not disappear. Is it a window bug...
- Modified
- 29 Nov at 16:52
Is there a way to convert a System.IO.Stream to a Windows.Storage.Streams.IRandomAccessStream?
Is there a way to convert a System.IO.Stream to a Windows.Storage.Streams.IRandomAccessStream? In Windows 8; I would like to pass the contents of a MemoryStream to a class that accepts a parameter of ...
How to get the installation directory?
How to get the installation directory? The MSI stores the installation directory for the future uninstall tasks. Using the `INSTALLPROPERTY_INSTALLLOCATION` property (that is `"InstallLocation"`) work...
- Modified
- 1 Nov at 18:32
Windows 7 and Vista UAC - Programmatically requesting elevation in C#
Windows 7 and Vista UAC - Programmatically requesting elevation in C# I have a program that only requires elevation to Admin on very rare occasions so I do not want to set-up my manifest to require pe...
- Modified
- 15 Apr at 18:56