Click here to Skip to main content
15,890,506 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 Title

Windows 

22 May 2016 by OriginalGriff
Have a look in the install log and see if there is anything obvious there: Download Microsoft Visual Studio and .NET Framework Log Collection Tool from Official Microsoft Download Center[^] will put a CAB file into your Temp folder containing teh install-so-far info. It may be of use.If it...
22 May 2016 by wardakhan
First, I downloaded VS 2015 on windows 8(not IOS file) thrice I installed VS while installing I got an error packages missing or damage. I clicked to download from the internet, but nothing happened. Then I installed windows 8.1 and downloaded VS 2015- community(IOS file) and I got same errors...
10 May 2011 by GAMerritt
Tomasz Nowak's "Undocumented Windows NT" original .chm file about ntdll.dll
23 Aug 2005 by Its Piyush Gupta
In the Vista world, application type selection is based on security requirement and deployment method but not on user interface requirements. This article describes various application types supported by Avalon sub-system of the Vista operating system.
5 Sep 2001 by Marat Bedretdinov
Shell interfaces in use. IShellFolder, IEnumIDList, etc.
29 May 2003 by Nicolas Bonamy
Simulate the Class Wizard in VS.NET 2003
4 Feb 2003 by Nicolas Bonamy
Two simple ways to add "Do not ask again" Message Boxes to your application.
26 Jul 2013 by ChopzModz
Hello, I am having a really big problem that is bugging me, and it seems like it only needs a simple change, but I don't know what! I am using Visual Studio 2010.Here is my code:private void checkBox1_CheckedChanged(object sender, EventArgs e){ if(checkBox1.Checked) { ...
26 Jul 2013 by Thomas Daniels
You should add a bracket { after the else keyword. You should also add another bracket at the end of your method:private void checkBox1_CheckedChanged(object sender, EventArgs e){ if(checkBox1.Checked) { FlashingName = true; timer1.Enabled = true; ...
26 Jul 2013 by OriginalGriff
Yes. It's missing!Your method must start, and end with a "}", but I suspect from the indentation, that what you've actually done is forgotten the opening bracket of the else condition:private void checkBox1_CheckedChanged(object sender, EventArgs e){ if(checkBox1.Checked) { ...
27 Jul 2013 by ChopzModz
Basically, I looked further up in my code and where there were different "}", you just have to add more at the bottom of your code, but in line with them. Hope this makes sense :)private void checkBox1_CheckedChanged(object sender, EventArgs e) { if...
4 Nov 2005 by eug_acc (Eugene Akimov)
A photo images gallery browsing template - CatalogView style.
24 Jun 2009 by kcs2c
This demo allows you to verify that you have a valid key and can format a request..
12 Nov 2007 by Lou Franco
Atalasoft leverages their DotImage toolkit to manipulate color channels for the purpose of image enhancement, in this case satellite images. The article is a tutorial on image enhancement and it includes all source code and test images.
5 May 2015 by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
10 Dec 2010 by 5883
Hi, i don't know how to describe this clearly.We have an windows application under win7, it has some "UAC" (user access control) functionality. After we install our whole SW package, reboot the pc.The 1st time to run this application, it givesThe Just-in-Time Error error dialog appears...
18 Jun 2008 by Igor Krupitsky
A script that lets you run many XMLA files against a SSAS 2005 database.
16 Dec 2003 by Todd.Harvey
Imitate Windows Paint.exe using C# and CsGL
25 Jan 2013 by jeongjin yi
if ((dwLastErrorCode = PfCreateInterface( 1, PF_ACTION_FORWARD, PF_ACTION_FORWARD, FALSE, TRUE, &hInterface )) != NO_ERROR) { return ; (
6 Nov 2009 by hxhl95
Escalating a process to system critical status using a Win32 kernel function
16 Apr 2001 by Igor Sukhov
The ATL and MFC versions of the class that implements a dialog for selecting users(computers) within the Windows Network.
7 May 2013 by m33707
I use "SetWindowPos " in Win7 by ActiveX, but it does not work well, IE is dead,it can work well in XP,Who can help me? (I am a chinese, so English is...)::SetWindowPos(ieHandle,HWND_TOPMOST, 0, 0, cxScreen, cyScreen, SWP_NOMOVE|SWP_NOSIZE);the problem is the param of "HWND_TOPMOST"...
27 Mar 2007 by vishalkmehta
This article demonstrates how to leverage the power of images and inheritance to achieve a "skinned" look for your Windows applications.
19 Sep 2006 by tanvon malik
This article shows you ways to run Control Panel applets from VC++, even those that don't have a cpl extension file.
20 Nov 2012 by ascentit solutions
I am using a class library in my windows service. I have added the dll as well as used using derective, but still it is giving me error "The type or namespace name 'SSCommuniLib' could not be found (are you missing a using directive or an assembly reference?)"I removed and added the dll...
20 Nov 2012 by Sergey Alexandrovich Kryukov
You are not adding anything with using directive. You totally misunderstood its purpose. It is only used to change the naming of the types in the code of some namespace. It is not related to assemblies at all, it is only related to namespaces; for example, naming of the types in the code can be...
5 Oct 2005 by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
30 Mar 2013 by tarun00197
I developed an dotnet windows application(exam aaplication).. iam getting an problem while making set up file.I developed the application in VS 2010 with targeting .NET framework 3.5.. .. My appication running fine in my system..(Windows 7 Home Premium) 64 bit operating system...When i...
30 Mar 2013 by Maciej Los
Try to compile program for any cpu type: http://msdn.microsoft.com/en-us/library/vstudio/5b4eyb0k%28v=vs.100%29.aspx[^]. By default on Win 64bit, Visual Studio uses 64 bit.
16 Oct 2006 by azharkhan
This article provides the steps to solve the "Unrecognized Tag" problem for an Atlas control.
30 Oct 2010 by GenJerDan
Not having a system readily available to test this on, what happens if I create an app that uses "wmp.dll", but wmp.dll is not on the system? (Like the "N" versions of Windows)? My app uses an embedded Media Player for video preview. Can easily I catch the error, or "pre-detect" the...
30 Oct 2010 by Nish Nishant
Depending on how a DLL is accessed, you may get an error on startup or you may get an error on the first attempt to access it. In your case, you seem to be using COM interop via C#, so you'll most likely not get an error per se, although you'll obviously not see the ActiveX control in your UI....
15 Jun 2003 by Oscar Bowyer
14 May 2007 by TyronM
A way to modify Zip archives without extracting them completely.
7 May 2010 by into_the_wild
I installed a Cygwin system on my windows XP platform, following is what I get when use './configure':$ sh ./configureloading cache ./config.cachechecking for a BSD compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking whether make sets...
22 Apr 2010 by Michel Godfroid
You are probably missing required bits of Cygwin. Why are you using ./configure directly? The GUI download normally takes care of all that for you. And yes, the bit you are missing is most probably the GCC compiler. You should select it in your Cygwin installer.
22 Apr 2010 by CPallini
I doubt Cygwin will use the Microsoft compiler.You probably should download the gcc compiler (the Cygwin setup will do it for you). :)
22 Apr 2010 by into_the_wild
I have downloaded a gcc zip file, then unzip it under the same directory of the cygwin files.Restart the configure command again but still failed,the error information is as follow:$ ./configureloading cache ./config.cachechecking for a BSD compatible install... /usr/bin/install...
23 Apr 2010 by Tony Richards
Use the cygwin setup program again to add the GCC package. It should set up your $PATH variable for you. This is far safer than just downloading the archive.
7 Jan 2001 by Mumtaz Zaheer
This article is all about how to create a context menu shell extension. 'Copy To' & 'Move To' will be added to the files/folder context menu.
8 Jan 2013 by Member 7857575
Recently, I get a problem in one of my Win32 applications. The application calls CreateEvent with a unique string, to determain whether another instance of the application is already running. Then the application exits if the call’s GetLastError() == ERROR_ALREADY_EXISTS. It works as expected...
9 Jan 2013 by H.Brydon
A very thorough treatment of the whole subject can be found here[^] in an article by Jeff Prosise (who I have a great deal of respect for). The article is a bit old but the answers are still relevant.If you are using VS2008 or greater, you can apparently go to the project properties and...
19 May 2002 by Dan Elebash
Modified version of Frank Fang's code ported to VB and made CCW.
18 Jun 2021 by FullStackVale
Issue: IN windows form Application, Application is deployed on three server, on two server same users are able to access the feature of application. But when users try to access same feature in the application remaining one out of three server ...
28 May 2002 by Wooseok Seo
This macro will help you when you want to quickly move between function headers in your code.
26 Jan 2011 by OrlandoCurioso
Customize an internal designer by encapsulation in a custom component designer
9 Oct 2013 by Glen Childs
Hello, I am trying to read in a text file (Words.txt) and then select a word out from the "Words.txt" file. However I am now receiving a 'minValue' cannot be greater than maxValue error.Can anyone help me with what I may have done wrong? My WordListHelper class:public class...
9 Oct 2013 by lukeer
Looks like _wordList.Count equals zero.Are you sure that _wordlist is filled with all the data needed when you call GetWord()?
9 Oct 2013 by phil.o
It seems _wordList is empty, so _wordList.Count - 1 = -1First of all since _wordList is declared at your class level you should not prefix its use with type in the ProjectFile() method: private async void ProjectFile() { var _Folder =...
24 Jun 2013 by ashriv
I did these two things and Issue resolved -1. Enable 32-bit application settings set as True.for this , right click on Application Pool -> Advance Setting -> Enable 32 bit Application -> TRUE2. Assign this Application Pool to my project Virtual directory.There are some other...
6 Jan 2014 by Member 10336592
1) Right click on your project in VS2005 or VS2008 or VS2010.2) 2) Click on Properties3) 3) Click on Web tab4) 4) Under Servers, click on the radio button Use Visual Studio Development Server 5) Check Auto Assign Port radio button5) 6) Uncheck NTLM Authentication...
6 Jul 2005 by SathishVJ
Find all possible locations of an executable.
12 Apr 2007 by Trenton Moss
Issues of online trust have evolved as web 2.0 is becoming more widespread - find out what implications this has for your website.
17 Apr 2012 by Mehmet Mutlu
Details of my solution algorithms, implemented programs, and the results I have concluded.
20 Feb 2006 by creativesri
This article briefs you about sending mail using SMTP in HTML Format, which takes the default SMTP settings from web.config file
5 Apr 2010 by Chris Meech
Just something else to look at. I've had similar issues where the space character being embedded in one of the folder names caused problems. Generally the highlighted files end up being tokenized by a space character and so an embedded one causes one filename to be split across two arguments.
10 Sep 2013 by Saurabh Raoot
Hi, I have two different Win32 consol applications. Both these applications has multiple threads. I want to send message from thead_1 of application_1 to thread_1 of applcation_2. Can I do this ?? If yes .. then what all I need to do ??I have used message queue beween threads of same...
10 Sep 2013 by User 59241
What you seek to do is called inter process communication (IPC). It is more complex than communicating between threads within a process. There are many mechanisms to achieve this.An overview is given...
3 Oct 2007 by User 2739121
16 Apr 2019 by OriginalGriff
Deleting doesn't seem to be working: so I'll post this here to remove it from the "unanswered" queue and delete it later when the DB is feeling less "fragile"... This is the same question as you posted yesterday: Power shell commands returning the improper user name format[^] Please do not...
1 Feb 2013 by Yvar Birx
Syntax highlighting has never been so easy!
23 May 2012 by Sergeant Kolja
This is an alternative for "Memory leak detection for WinCE".
27 Aug 2021 by OriginalGriff
Quote: BUT I DONT KNOW HOW AND I DONT NEED TO LEARN IT I JUST NEED A SIMPLE CODE WHY YOU GUYS CANT HELP ME EVERYONE ON EVERY PLACE SAY IT AGAIN AND DOSENT HELP Well ... probably because you haven't tried, and don't want to learn: you just want...
4 Aug 2013 by xXTariqoO
Hello,i started to learn about driver programmingi want to make my driver do a thing every 2000 ms for exampleand in c++ i will be like thiswhile(true){Sleep(2000);//(2 Seconds)DoSomething();}the question is :how to do like it in c driverit must be like...
4 Aug 2013 by User 59241
The principle is exactly the same as creating delays in user mode. Sleep() has very limited value and you can use Google to find out why. Ultimately you need waitable timers.(1) Create a kernel timer via...
25 May 2014 by zaki al
Also you can use KeDelayExcutionThreadThird parameter of this function is in 100 nano seconds(0.01 micro seconds)http://msdn.microsoft.com/en-us/library/windows/hardware/ff551986%28v=vs.85%29.aspx[^]
20 Feb 2014 by Zoltán Zörgő
Implementing custom RoleProvider for both AD and local machine for use with Forms Authentication
11 Jan 2024 by 95gtspeedemon
*SOLVED* 2.3.4 & 2.4.7 code AI will not install the code ai service in a win 10 VM on unraid. heres what i did: install .net 7 & see if code ai works. copy regedit key for code ai service if its missing from services list. (taken from another...
11 Jan 2024 by OriginalGriff
Answered only to remove from unanswered queue.
25 Mar 2013 by theitmueller
Bit difficult to describe.A form with a panel (DOCK BOTTOM) and a TableLayoutPanel (DOCK FILL).TableLayoutPanel has 2 rows, 1 column each with a user-written control.Sizing the form in the development environment works fine.If I start the application, create an instance of the form...
25 Mar 2013 by OriginalGriff
I tried to do exactly the same, and I can't duplicate your problem.A form, with a panel, Dock bottom, and a TableLayoutPanal Dock fill and various ways to maximise teh form on startup - the panels appear as I expect. The TLP fills the screen, with a smaller panel overlaying in at the...
4 Oct 2007 by tahouri
This program simply generates a batch file that you can extract your .00x files
14 Jan 2014 by Cindy Potvin
Many options of the .LESS CSS parser can be set directly from the Web.config file, but many of them are not clearly described. Here is my attempt to document them.
28 Nov 2012 by s.dewang
Hello, When i add CrstalReport1.rpt item to my Windows Application, it becomes .mht file How to use rpt in this application on Visual Studio 2010. Please let me know step by step how to overcome this problem ?Thanks & RegardsDewang Sharma
28 Nov 2012 by Yasir Farooq
You download and installhttp://www.businessobjects.com/jump/xi/crvs2010/default.asp[^]and it also provide in your .mht
16 Sep 2003 by KRISHNA PRASAD.N
This paper provides a technical overview of .NET and COM interoperability.
8 Mar 2004 by Vladimir Afanasyev
Device configuration using C# (Part 1)
9 Mar 2004 by Vladimir Afanasyev
Device configuration using C# (Part 2) . How to enumerate devices.
10 Mar 2004 by Vladimir Afanasyev
Device configuration using C# (Part 3). Device resources - IRQ, DMA, etc.
15 Nov 2003 by Prakash Kumar Singh
This article explains and demonstrates various ways to implement localization in your .NET application.
11 Oct 2007 by aSarafian
An article that tries to clear up the concept of serialization.
27 Jun 2010 by sund7wells
We have set of applications developed in .Net Framework 2.0 (both Windows and Web Applications) running in Windows 2003 Server. Now management decided to upgrade it to Windows 2008 Server. Any changes required in Application side?. If not, those applications work with full potential of windows...
28 Jun 2010 by Syed Saqib Ali Tipu
Unless and until you're into using new technologies and you perfer choosing technologies on the basis of trends rather than the domain of the project, you need no change. There are many new changes that you will prefer adapting in the future, but just because they are there doesn't mean what...
2 Aug 2011 by obhasha07
Hi, I'm creating a function where it edits an HTML file, loads it into a web browser control and then print the HTML document. The web browser loads the HTML file but doesn't print it. It's all in one function. I even tried using ShowPrintDialog method. But it does nothing!!! Not even an error...
22 Mar 2007 by Sacha Barber
An article which shows how to achieve some of the common XAML concepts.
17 May 2017 by Marco Bertschi
Starting with Windows 8, .NET 3.5 comes more or less tightly coupled to the OS, as a Windows Feature.