Click here to Skip to main content
15,885,546 members
Everything / Desktop Programming / System

System

system

Great Reads

by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
by Elias Bachaalany
Format of the partition table accompanied with a GUI demonstration tool
by Dixin Yan
A one-stop tutorial of all mainstream technologies for JavaScript modules.
by Maxim Kartavenkov
The series of articles covers most aspects of logging and tracing mechanisms which can be embedded into your application. It discusses simple ways of tracing and also new tracing technologies which were involved in Windows 10.

Latest Articles

by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
by Maxim Kartavenkov
This is a guide on how to configure your application, service or driver to handle appearing the new devices or device removal avoiding reboot request.
by Maxim Kartavenkov
Discussion of how to organize saving application trace helper information.
by zidane168
Use SQL triggers to keep track of the changes made to your data

All Articles

Sort by Score

System 

2 Mar 2024 by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
2 Nov 2012 by Elias Bachaalany
Format of the partition table accompanied with a GUI demonstration tool
23 Apr 2013 by Ian A Davidson
I am sorry that I only saw this question today. I have a several years' experience with FileSystemWatcher (and with the Win32 API functions when using C++ before C#).These are the main areas to look out for:1) As you said, make sure the code that handles notifications is as quick as...
16 Apr 2020 by Dixin Yan
A one-stop tutorial of all mainstream technologies for JavaScript modules.
18 May 2023 by Maxim Kartavenkov
The series of articles covers most aspects of logging and tracing mechanisms which can be embedded into your application. It discusses simple ways of tracing and also new tracing technologies which were involved in Windows 10.
21 Nov 2014 by Tomaz Koritnik
TmStorage is a structureless virtual file system from which complex storages or databases can be built.
13 Oct 2023 by Maxim Kartavenkov
This is a guide on how to configure your application, service or driver to handle appearing the new devices or device removal avoiding reboot request.
12 Jun 2012 by Sergey Alexandrovich Kryukov
Of course you can fix it, and this is exactly what you need: forget (reset) a password, normally, an admin password.I hope you don't set up a password on access to the BIOS/EFI setup UI where you can change a boot sequence and boot from the CD/DVD or a USB drive (flash). If you have a...
4 Jul 2013 by H.Brydon
In fact it is not that daunting a task. Really, an operating system is the code that takes over from the boot loader. As others here have hinted at, you won't get much success on conventional machines that you buy in a computer store. On the other hand, that is pretty much what you do with...
15 Jun 2023 by Maxim Kartavenkov
Discussion of simple ways of tracing and also new tracing technologies involved in Windows 10
5 Jul 2023 by Maxim Kartavenkov
Continue discussion of the simple kernel drivers tracing mechanisms by using output information into the handles of the files pipes and console passed to the driver from the host application.
2 Feb 2012 by Espen Harlinn
Have a look at my answer to Query regarding Design Pattern[^]The Pattern-Oriented Software Architecture series is an invaluable source of information about how to build a distributed system and the other pieces requied to build a working solution.Most of waht you'll find there has been...
9 Mar 2011 by OriginalGriff
Use the Sql Create Table[^] statement: SqlCommand com = new SqlCommand("CREATE TABLE MyTableName(" + "iD int NOT NULL, " + "name nchar(10) NOT NULL)", con); com.ExecuteNonQuery();
14 Dec 2012 by Sergey Alexandrovich Kryukov
Because the creators of OS designed it this way. There is no another reason. Why not?And you did not tag you OS, platform, language — nothing, so the whole talk is pretty much pointless. But in this, case, please don't ask this question again about some particular platform — the...
14 Dec 2012 by OriginalGriff
AS SA says - because that is the way the OS was designed.But think about it: Where else should it be?You can't put it at the right hand edge, or the bottom because it will be hard (if not impossible) to see.Putting it at the top or left of the screen doesn't help anyone much, because...
3 Mar 2013 by Michael Haephrati
Yes. You can make your own OS. It will just take a lot of resources and time. You didn't specify what is the purpose for making your own OS? The purpose could be for studying, or for commercial purposes (which would be next to impossible, taking into consideration many aspects such as supporting...
7 Jun 2013 by csanuragjain
Captures, searches, and manages all your screenshots in one place.
26 Nov 2014 by SergVoloshyn
Main program for testing modem or GSM phones by AT commands, use only standard classes and libraries.
11 Feb 2015 by WoodyMou
Session 1: Setup SoftEther L2TP server on Amazon AWS Ubuntu
20 Jan 2022 by Luc Pattyn
I tested this C# code snippet on Win 10: NotifyIcon ni = new NotifyIcon(); ni.Icon = SystemIcons.Exclamation; ni.Visible = true; ni.ShowBalloonTip(1000, "title", "text", ToolTipIcon.Error); It shows a permanent notifyicon in the taskbar and a...
4 Jun 2011 by Christian Graus
Probably C or C++. That's as much of an answer as you can expect to such a broad question in a forum reply.
16 Jun 2011 by Espen Harlinn
Here is a couple of links you might find interesting:the Fiasco µ-kernel[^]L4 microkernel family[^]Fiasco is an implmentation of the L4 architecture. It's fairly small, with lot's of interesting features.Get hold of a couple of Andrew S. Tanenbaums' books[^] - compared to most...
2 Feb 2012 by Sergey Alexandrovich Kryukov
I don't know who are "we", but the chances to develop a distributed system strongly depend on the skills of those people.Look here: http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=development+of+distributed+systems+windows[^].You will find good amount of...
8 Oct 2012 by djdynamix
A little workaround to enable a VB.NET application to read and alter the WPC settings for any user.
27 Feb 2013 by Tarek Elqusi
Using the MainWindowTitle property to close a running program by killing the associated process.
14 Dec 2012 by Sergey Alexandrovich Kryukov
One note in addition and correction to the interesting explanation by OriginalGriff (Solution 2):Most artists dealing with painting, drawing and especially photography will tell you that the viewer pays most attention for the "sweet points" located at the distance approximately of 1/3 of two...
2 Mar 2013 by Tom Clement
Uh, how about go to university and study computer science for a number of years. :) Seriously, these are not trivial tasks. There are thousands of books written on these subjects.
9 Apr 2013 by Sergey Alexandrovich Kryukov
This is not really a "solution", but something you should better be aware of; please see these CodeProject articles:FileSystemWatcher - Pure Chaos (Part 1 of 2)[^],FileSystemWatcher - Pure Chaos (Part 2 of 2)[^].—SA
15 Apr 2013 by Matthew Faithfull
The HelenOS documentation should explain how to do this. If you want another example which has entirely Windows hosted development and a includes an OS Bootloader for x86 based machines then I would take a look at the SanOS[^] project which is a fantastic small OS example.
24 Nov 2014 by Sergey Alexandrovich Kryukov
On Linux, as on all other Unix-like OS, windowed sub-system with messaging is based on X Window: http://en.wikipedia.org/wiki/X_Window_System[^].Now, a particular system may of may not include X Window System, as well as other sub-systems based on it. Unix and Linux is not anything fixed....
18 Aug 2023 by Maxim Kartavenkov
Discussion of how to organize saving application trace helper information.
4 Jun 2011 by Valery Possoz
hello,you can start by reading this:Building your own operating system[^]Cosmos - C# Open Source Managed Operating System[^]or try google...Valery.
4 Jun 2011 by Abhinav S
Doing a search on the internet will give you a number of links.I found this[^] interesting for a start.But remember, there is tons more to do.
4 Jun 2011 by CPallini
Such an argument deserves more than a university course, here we can only give you some pointers (this is an hint on the development language).For instance you may consider the articles series of 0x3c0: "Beginning Operating System Development"[^].As about the code, you know, Linux is open...
16 Jun 2011 by Kim Togo
Check out OSDev.org[^] or look at Linux[^]
25 Jul 2011 by «_Superman_»
What do you mean by default value?The value that was before your program was run?You cannot know it.You will need to run a program that starts with Windows and record it.I think you must use GetTempPath as Madhu said.Here is what it returns according to the documentation -The...
27 Aug 2011 by unangel
I have two mouse, with global hook, I can get the mouse event of the two mouses.But I cannot find out the source of the event.It is not included in the MouseHookStruct.Does any have a clue for solving such problem?Thank a lot.
25 Mar 2012 by #realJSOP
For Vista and later, the image is located in C:\Users\UserName\AppData\Local\Temp\[UserName].bmp
18 Jul 2012 by Christian Graus
A course is content. Yes, you can get a CMS and configure it to make the content that it manages, course information. This is a programming site and this is not a programming question.
7 Sep 2012 by OriginalGriff
Those aren't questions we can answer: they are your design features.1) how can i develop the mailing system?In the same way you would develop any other project: specify, design, document, code, test, repeat.2) the mail is stored in the database(MSsql etc) or simple stored as a text...
31 Dec 2012 by Richard MacCutchan
See here[^].
3 Jan 2013 by YvesDaoust
I'd like to be able to copy unencrypted files from a disk to an external storage (whatever kind), and then back. I would like that when copying to external storage, the files transparently get encrypted, and when copying from external storage, they get decrypted. This way, I'll see no change on...
19 Jan 2013 by Abhinav S
Start with concepts mentioned here -http://www.osnews.com/story/2691[^]http://himmele.blogspot.in/2011/07/build-your-own-operating-system.html[^]http://www.techrepublic.com/blog/european-technology/build-your-own-os-using-the-raspberry-pi/1167[^]
20 Jan 2013 by Andreas Gieriet
You talk about a file system, not an OS. The file system is just a part of an OS (please note that an OS does not necessarily need to have a file system - see many embedded system OS).Implementing a file system is kind of useless (you have no benefit in re-inventing your own or...
12 Feb 2013 by Richard MacCutchan
See here[^] for app.config. I expect you can find the section on manifest files.
26 Oct 2017 by Sairam Kannan
Hello All,Following is my scenario:I will get xml file in my source folder and i have to pick them up and process create new xml file and place it in destination folder. I have a window service in my application in which i have included file system watcher concept for performing above...
2 Jul 2013 by Espen Harlinn
To get started it might be useful to have a look at a fairly simple OS, like: FreeDos[^]Best regardsEspen Harlinn
21 Jul 2013 by Dave Kreskowiak
First, Explorer.exe is one of those process that you DO NOT SCREW WITH.The command line to launch it is "explorer.exe", not "CMD /C explorer.exe /F".The /F switch is not valid in Explorer. It, or any other invalid switch, will force Explorer to open a single window opened to MyDocuments...
24 Oct 2013 by phil.o
SQL Server Sizing Resources[^]Server Sizing Guide[^]Those should at least point you where to start.
17 Jan 2014 by Peter Leow
Yes, it is. Read more: use-case-diagrams[^]
5 Feb 2014 by Richard MacCutchan
See http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#gc()[^]. However it is still the virtual machine's decision as to whether it runs immediately or queues the request. In general you should not be concerned about it.
23 Feb 2014 by Peter Leow
Check these out:1. .NET Framework System Requirements[^]2. SQL Server 2008 hardware and software requirements[^]3. Toad for Oracle 12.1[^]
11 Jun 2014 by Sen Jacob
This is an alternative for "A Task Scheduler Library for .NET Applications"
24 Sep 2015 by Richard MacCutchan
Sorry, we do not do your homework. If you had bothered to Google the word Homework, you probably would have found out before posting the above.
10 Feb 2016 by Jochen Arndt
The system() function already invokes the command processor cmd so that there is no need to execute it again if you not want to let the user enter commands or set specific options.With Windows command prompts, using ';' to separate commands is not supported. Use '&' or '&&' instead where the...
10 Oct 2016 by Ashley Davis
A look at version control from the game developers perspective
7 Apr 2018 by OriginalGriff
Let's answer these in reverse. Quote: Why do I have to type the sentence which is at least 30 charachers? To make you think about what you are asking, and to prompt you to give a reasonable amount of information. The better the info, the better your question. The better your question, the better...
18 Jul 2018 by OriginalGriff
This is not a development subject: you are trying to delete a file or folder that is protected - and from it's name you are trying to remove the Windows/System folder - and you cannot do that without admin privileges. Not to mention that deleting anything under the Windows directory is a bad...
27 Jan 2019 by Patrice T
Quote: How do I write a program to load on boot The way you ask the question, suggest that you don't really know how "boot" works. On a PC, there is many boots at different levels. - First, a PC boots on BIOS: you can't add an external program on it. - then BIOS goes to MBR (Master Boot...
2 May 2021 by raddevus
7 step outline will help you communicate quickly and clearly to team about System Creation / Code Changes
13 Sep 2021 by Richard MacCutchan
If "terminal" is the name of an executable program, then yes, a system call should work. However, your question could do with more clarity.
5 Oct 2021 by André Marcos (Advisor), Renan Cardoso
Developing a solution to help user and personal trainer, to control and to track personal activities in a gym supported by a simple and integrated app with PHP ecosystem and React Native and Postgre database.
5 Apr 2022 by Richard MacCutchan
sort(1) - Linux manual page[^]
5 May 2022 by CPallini
You have to write the script. That said, for your script you need to know how to: Detect an empty variable Check if the file exists Use the wc Linux command Google is awaiting for you...
18 Oct 2022 by OriginalGriff
First off, get rid of the label and goto statements: use a loop such as a while or do ... while instead. And then forget that goto even exists for a few years until you understand when it is appropriate to use one! Second, read the question...
19 Jan 2010 by Buzzby
If you want to see if any hooks have been set via SetWindowsHook() what's the best way to do it?From Keyboard Spy: implementation and counter measures[^] there is a useful routine, but is it optimal?It has the EnumModules() routine, but I was wondering if anyone has come up with a more...
19 Jan 2010 by «_Superman_»
You can install a debug hook with WH_DEBUG. The debug hook routine is called before any other hook routine is called with the information about the hook to be called.
24 Jan 2010 by Abhishek Sur
:laugh: :laugh: Actually if you have ever used Team Foundation Server / Visual Source Safe / SVN etc you would have gotten this answer yourself.Actually while we develop a project in team, each individual accesses a central codebase. Now if i need to change a particular file, I would...
24 Jan 2010 by Jimmanuel
Alright, you have my apologies, that was a bit dick-ish. As Abhishek Sur said, what he was asking about is what source control utilities you are familiar with.
24 Jan 2010 by Amgad Fahmi
Thnx for your answer and i already worked with source safe and svn (by the way svn doesnt work in same way like source safe do, by default in svn 2 developers can modify the same file in same time )and i know how they are working but i am sure this is not what he meant.i was googling about...
24 Jan 2010 by #realJSOP
They're asking you what experience you have with check-in/check-out systems. If you don't know what that is, then you have no experience with it.Like jimanuel said - tell them you don't know what it is, and see if they keep interviewing you.
24 Jan 2010 by Amgad Fahmi
Thnx John and really your knowledge forces me to respect what you said , but i mentioned before that i already had the interview and i just want to know the answer , is there something wrong when u hear about something you don't know you try to figure out what is it ? i think this one of the...
4 Feb 2010 by Dibyasingh Majhi
How can I create shared memory if there is no interprocess communication between two processes?
4 Feb 2010 by Richard MacCutchan
I am not sure that I fully understand your question but this[^] may be the solution to your problem.
14 Mar 2010 by Nicholas Butler
The best way of removing a virus is to reinstall your operating system.Nick
17 Mar 2010 by nuri44_
i have two files .and i have two process for two files .then contains of files are writen one by one(row).for example:files1:abc deffiles2:xyz./combine "what are you doing" files1.txt files2.txt program image:what are you doing abcxyzdefhow i make...
17 Mar 2010 by Richard MacCutchan
Read the command line arguments one by oneif the argument refers to a fileread next line of filesend line to output streamrepeat until end of fileif not file, echo to output stream
22 Mar 2010 by Member 3420509
In case of terminal server os my service(running in system contex) wants to get the desktop foler path of all logged on user, how can i do this?
22 Mar 2010 by Philip.F
Environment.Ge...
7 Apr 2010 by neilt1071
I need to execute a function in my service when the computer shuts down or restarts. On_Stop doesn't work, because that only seems to function if the service is shut down manually.I have looked at SystemEvents.SessionEnding, but that only seems to work within the context of a Windows form. I...
26 Mar 2010 by R. Giskard Reventlov
See here: Detect Shutdown from .NET[^]. This should get you started.
1 Apr 2010 by djoo7
:~Hello to codeproject members.I have xp & win 7 os.I wants to unmount the partition of one of OSwhich is not running,& alternate to it.So the one can not access the drives of other OS.please help me out.
8 Apr 2010 by neilt1071
Finally found a good example.http://msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.aspx[^]Services do not have message loops, unless they are allowed to interact with the desktop. If the message loop is not provided by a hidden form, as in this example, the service must be...
29 Apr 2010 by Shanay
i need ur help in this regard how to understand the details of DPB if we wanna define our own DPB as u did? where is the source code of BootSectorUtility.exe plz upload as well?if we wanna execute c++executable file after boot loader how we can?kindly send the detail plzzzzzzzzzzzzz
29 Apr 2010 by Saurabh.Garg
You should post this question in the forum at the bottom of the article.-Saurabh
29 Apr 2010 by Sandeep Mewara
It looks like you want to ask this question to an author related to his/her article.I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum.Please post the same at the...
21 May 2010 by Ramesh_Patel_
I am developing site for online advertisements where sellers and buyers can come and sell/buy advertisements.Just want to develop detailed statistics like click counts, from which page clicks are coming, from which position (top, right, left ...) click are coming etc. I seen that most of the...
21 May 2010 by Christian Graus
This has to be the easiest part of your task. Each user of the ads puts a different value in the query string, like refid=codeproject for example. Then the ad site reads it off the URL.
5 Jun 2010 by Mikiyas Abebe
Hello,My Compaq labtop (evo n610c Modle JO7M040.00) couldn't boot. It starts to boot and restart again and again the cd rom is not working to repair with the xp cd. Is their any option I can fix it? Please I need helpThank u in advance
6 Jun 2010 by #realJSOP
Try this:Try getting into the BIOS and set the laptop boot order to boot from the DVD drive first, hard drive second. After you've done that, try booting your rescue DVD so you can "repair" your Windows installation.
20 Jun 2010 by bickelk_90
I'm writing a program right now which requires a full system restart before certain functionality can be used. I have looked on Google and so far the best way that I have found to detect a system restart/or lack of, is to use the Registry key RunOnce to add another key as an indication, but this...
21 Jun 2010 by TheyCallMeMrJames
For what you're looking for you won't be able to find a single-gun solution.You'll need to leverage RunOnce and System Boot Time to be effective here (and I'm not sure a dubious user wouldn't be able to bypass these anyways).System boot time is not reset on logon. If you're using the...
1 Jul 2010 by Ersan Ercek
I solved the problem however rather than removing the question, I prefer to explain how, in order to help you aferwards.Despite the lots of incompatibilty posts in several forums,It is necessary to reinstall MDAC. However XP.SP3 does not make it easier for you. You need to :Start-Run...
1 Jul 2010 by Ersan Ercek
Dear All,I have a problem. I downloaded the .net project(web) from clients server in order to modify. it is vs2003 asp.net by the way.The software is supposed to extract some data from excel file.however when the code comes the following exception is thrown.The .Net Data OLE DB...
14 Jul 2010 by AshwinAtri
After installing an application many registry keys are getting created. Upon using the application it changes the values of these keys.Now, how do i track these changes ? Practically there are many keys and manually not possible..,Please can anybody guide me how to track registry changes...
14 Jul 2010 by Nuri Ismail
You can export the registry to a text file before the task is performed, then export it to another text file after the task is performed and compare the two files. There are free file comparison tools: here[^] you can find one of them. Also if you want to monitor the registry activity during the...
2 Sep 2010 by lgatcodeproject
This is a question about system programming concepts. I need to get clarified about how the compilers work, there are different compilers available for a language say c++, to write a compiler what concepts should be one aware of? I know its a most generalized question, one cannot provide a...
2 Sep 2010 by lgatcodeproject
How is the number system applied in computers? Computers works only in binaries, high (1) low(0), so where does the hex,oct, dec code system fit in. And when these conversions to binary needed?Regards,LG
2 Sep 2010 by LittleYellowBird
Hi,This is a very basic computing question. There are many explainations of this on the internet. Rather than trying to explain it here I suggest you use Google to find the information that you need.It sounds like a good beginners programming book would be an excellent idea for you as...
2 Sep 2010 by CPallini
See, for instance, http://en.wikipedia.org/wiki/Computer_numbering_format[^]. :)