Click here to Skip to main content
15,891,703 members
Everything / Operating Systems / Windows

Windows

Windows

Great Reads

by Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Martin Mitáš
How to support scrolling within your controls.

Latest Articles

by Bert O Neill
This article explains how to install and configure AWS LocalStack on a Windows machine for SQS (Simple Queue Service).
by Ștefan-Mihai MOGA
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
by GabrieleTronchin
A simple stored procedure to add at your database to keep it reactive
by GabrieleTronchin
Automatic creation of non clustered indexes using system SQL entities

All Articles

Sort by Updated

Windows 

N 4 May 2024 by JimmyJay888
dll for this endeavor came from GitHub - ela-compil/BACnet: BACnet protocol library for .NET :satellite:[^] Trying to get BACnet client to start, but having troubles. Add-Type -Path "C:\myDlls\BACNet\net40\BACnet.dll" ...
U 27 Apr 2024 by Graeme_Grant
I asked Google C# capture mouse[^] and found this: Capture or Detect mouse click on or outside Windows Form using C#.NET[^] UPDATE Let us change the Google Search: c# movemouse[^] - there are 126,000+ results. The first result has a couple of...
U 26 Apr 2024 by G Schulz
I have an HookMouseCallback(int nCode, IntPtr wParam, IntPtr lParam) How do I use these out params in UINT SendInput( [in] UINT cInputs, [in] LPINPUT pInputs, [in] int cbSize ); I am also planning on doing this for keystrokes,...
N 25 Apr 2024 by Pete O'Hanlon
This is too close to providing code that aids in writing key logging software. Over the years, we have had many requests to provide code to people that can be used maliciously. Now, you might have benign intentions, and if it were just you and me...
U 25 Apr 2024 by G Schulz
I am trying to make a simple macro thing, I want it to record messages such as the mouse inputs, but also things like page select. I plan on saving these into a list or array, and then just looping over them and sending to the computer. I am...
N 25 Apr 2024 by Graeme_Grant
Best place to ask these questions is in the dedicated forum: CodeProject.AI Discussions[^]
N 25 Apr 2024 by Member 14616716
On a windows workstation, I want to be able to run the code project ai exe installer as silent? Does the exe support a command line silent install? I would also like to be able during silent install, to install object, lpr and face rec. Is...
15 Apr 2024 by Jan Ringos
WM_KEYDOWN doesn't work for PowerPoint Viewer, not reliably. Send WM_COMMAND with wParam = 0x000106EF (for next slide) or 0x000106EE (for previous slide).
5 Apr 2024 by Bert O Neill
This article explains how to install and configure AWS LocalStack on a Windows machine for SQS (Simple Queue Service).
5 Apr 2024 by Pete O'Hanlon
If you're using Windows 11, you can use ssh-keygen from the terminal, or in WSL, something like ssh-keygen -t ed25519 -C "me@email.com". Obviously you would have to choose what type of key you wanted to create here.
5 Apr 2024 by johntk22
I have tried many time to generate SSH key (public and private key) on Windows from command prompt but do not able to generate. What I have tried: Restart the PC many times, but not work on single time.
30 Mar 2024 by Ștefan-Mihai MOGA
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
30 Mar 2024 by GabrieleTronchin
A simple stored procedure to add at your database to keep it reactive
30 Mar 2024 by GabrieleTronchin
Automatic creation of non clustered indexes using system SQL entities
26 Mar 2024 by Dave Kreskowiak
Open the machines Event Log Viewer and look in the Application event log for any error messages concerning your service. Without more information and what your code does at startup, and your code, it's impossible for anyone to tell you what's...
25 Mar 2024 by krish88
I have windows service (developed in c# visual studio 2013 & .net framework 4.5.1). Windows service is working fine when we install and it run without any issue. My problem is when I restart my PC windows service is getting stopped but I want...
25 Mar 2024 by OriginalGriff
Without your service (and probably your actual PC) we can't really tell what is going on - so I'd start by adding logging to the service and reinstall - that way, you should at least be able to tell if the system is trying to start it, and if it...
23 Mar 2024 by Uwe_Sieber
Shows how to use IOCTL_USB_HUB_CYCLE_PORT to restart a USB port under Windows
19 Mar 2024 by steveb
Your function declared as taking 3 arguments. But you call it passing only 2 arguments. Hence you get an error during compilation. 3rd argument is not optional as declared.
19 Mar 2024 by samtoad
I have a question that may tax you, but it may also embarrass me at the same time, but here goes. Let's have some programming examples with which to work with first: Declaration of a "C" routine int RetIntDayNum(char * datestrg, int *...
19 Mar 2024 by CPallini
I could not believe that. So I tried the following piece of code #include int RetIntDayNum(char * datestrg, int * intdaynum, int * iostat); int main() { char foo[] = "foo"; int daynum = 42; int iostat = 10; ...
18 Mar 2024 by merano99
First of all, a distinction must be made between the declaration in the implementation and the call of a function. The following line is not a declaration but an assignment: iretv = RetIntDayNum(cdatestring, &idaynum, &iostat); VS2019 usually...
18 Mar 2024 by OriginalGriff
It depends on the compiler: most will give you an error "too few arguments to function" when you try to call it with two parameters. Other than that, it will probably blow up when you try to use iostat within the function as it's value will be...
17 Mar 2024 by Jovibor
Library for parsing internal structures of PE32/PE32+ binary files.
14 Mar 2024 by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
13 Mar 2024 by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
11 Mar 2024 by Andre Oosthuizen
you can make use of the 'SystemTimeToTzSpecificLocalTime' function to achieve what you are trying - MS Learn | SystemTimeToTzSpecificLocalTime function (timezoneapi.h)[^] Your code will look like - #include #include void...
10 Mar 2024 by Pete O'Hanlon
I'm making an assumption here that you are talking about converting the two SYSTEMTIME structures in the DYNAMIC_TIME_ZONE_INFORMATION object. To accomplish this, I believe that you are going to start by converting the SYSTEMTIME structure to a...
10 Mar 2024 by samtoad
n using the GetDynamicTimeZoneInformation(&dtzi) function, and within the 'dtzi' structure, it tells you whether you're in the Daylight Savings time or not and when they will start, via these two dates. The return value of this function also...
8 Mar 2024 by Andre Oosthuizen
Quote: Found few projects that seem like they could do that, but am horrible at reading other people code If you cannot read other peoples code that contains a solution you are on a downward spiral as nobody is going to supply a 'copy and...
8 Mar 2024 by Member 12251575
Title says it all, I want to create taskbar application that would work in windows 10 and 11, preferably in C++, but I can also do C# and C if that's what it takes to make on. Visually it would be just bunch of text in taskbar that would update...
5 Mar 2024 by PJ Arends
An MFC CWnd derived grid of user definable tiles
3 Mar 2024 by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
1 Mar 2024 by gabriel4sonic
Shows how to use OpenGL in a .NET WPF application by directly incorporating an OpenGL window as a child of the main WPF window, making it behave more like a control
23 Feb 2024 by Martin Henke (1971)
Edit Metadata for folders by using desktop.ini features
20 Feb 2024 by Ștefan-Mihai MOGA
A look at the URLDownloadToFile function and architecture of IntelliLink