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

System 

10 Jun 2014 by Sen Jacob
A simple task scheduler utility by which you can schedule a task to run at any time or interval
11 Jun 2014 by Sen Jacob
This is an alternative for "A Task Scheduler Library for .NET Applications"
11 Oct 2013 by ASP.NET Community
Adapter PatternThe gang of four definition is "Convert the interface of a class into another interface clients expect. Adpater lets the classes
10 Oct 2012 by kosay85
Hi AllI have questionI use file system watcher to get message if new file create (for example I need to monitor path " C:\ " but I need to find what is the file or process create this file?in other words if virus create auto run.inf file I need system file watcher give me message when auto...
10 Oct 2012 by Kuthuparakkal
Go ahead with WMI and subscribe for events, you can have some idea on this from the article below:Directory Monitor Service controls SSIS Package Execution[^]
11 Oct 2013 by ASP.NET Community
If you have more than one version of AJAX Tool Kit in your System , there might be problem while  developing an AJAX based pages , Error
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.
22 Aug 2012 by tallest299
Hi, Everyone. Now I need help How can we scan android system to get information about CPU, RAM, PROCESS running of Android device. and Can I make a graph to describe them.Give me if you any document or tips.Thank you!
29 Mar 2012 by subhendu_m
can i apply a event system wide.actually i want to apply the function activatekeyboardlayout() on the whole system.don't have any idea of it in windows programming.language used is: Visual C++
29 Mar 2012 by Sergey Alexandrovich Kryukov
I don't really know if you can get the effect equivalent to ActivateKeyboardLayout for the whole systems (I don't think you can), but you certainly cannot achieve it by calling this function, because the layout is set per thread, and there is no parameter of the call which would let you specify...
30 Apr 2012 by Ghost_x
im reading operating system concepts book by Abraham. I was wondering where are the directories stored? physical or logical adress! explain a bit please.
30 Apr 2012 by Richard MacCutchan
Both. When referencing files and directories on a system, the user level (or higher kernel level) code will address them with logical addresses. However, the actual disk driver will address them by converting the logical addresses to physical in order to read or write specific areas of the disk.
14 Mar 2010 by Nicholas Butler
The best way of removing a virus is to reinstall your operating system.Nick
28 Feb 2012 by Abdul2011
Hi Teams,I new to coding and i am looking for a code that can save my time in taking complete asset of office system ranging to 100 PC.I know i get third tools on pay able basis but i am missing some thing it.I am looking for a complete PC audit(System info,System Changes,Patch...
31 May 2016 by DataBytzAI
How to ensure there is sufficient disk-space for SQL backup before you run a backup!
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.
2 Sep 2010 by dmihailescu
What is the start-up and system performance overhead for .Net, Mono, Java versus C++ and Forms, WPF, Swing versus MFC
20 Jul 2013 by hamed1991
hello friends.i have a windows form and want to when a program start, Explorer.exe disable and when user click on specific button, explorer.exe starts and show taskbar and start menu correctly.here is my problem: when my program starts working, explorer.exe disable correctly and there is no...
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...
11 Feb 2013 by Sangameshwaran S
Could some one please clearly explain about the all configuration file purpose. I am beginner to C# and little confused about the system.config and codebase method.1. System.Configuration2. App.exe.config -> Codebase method to load assembly during runtime.3. Manifest file
12 Feb 2013 by Richard MacCutchan
See here[^] for app.config. I expect you can find the section on manifest files.
10 Sep 2015 by Member 11974091
How do I return values from datarow to datatable: "Filtre.ImportRow" return null ?using System;using System.Collections.Generic;using System.Data;using System.Data.Entity;using System.Data.SqlClient;using System.Linq;using System.Web;using System.Web.Mvc;using...
10 Sep 2015 by Enemali William
foreach (var dataRow in dr) { filtre.ImportRow(dataRow); }Of what use is your foreach statement since you are just returning a row ? Are you trying to get the columns in the row because dr is already a datarow. You can use this to just add the retrieved row...
11 Oct 2013 by ASP.NET Community
The AJAX Control Toolkit has a CalenderExtender extender control that pops up a calendar whenever the user clicks on the target control, or a popup
15 Mar 2011 by lapiman
Hello,My goal is to hook specific IRPs (like IRP_MJ_WRITE) with filter driver. I got a list of file names (saved in file) for which dirver should return IRP with STATUS_ACCESS_DENIED. How can I call an application from driver to find out if the file is in the list or not? The application...
16 Mar 2011 by Kurt Degiorgio
No, This is always a bad IDEA, for a alot of reasons that i wont go into here, the way to accompish something like this is to queue IRPS from the user mode application and complete them when the data becomes available.(i suggest you use DeviceIoControl for greater flexibility) in you...
17 Jan 2014 by User 9174741
Hi friends !!While I am designing some system using UMLI had to add an > relation to a UseCase which has > relation with another UseCaseI want to do something like this diagram :http://postimg.org/image/5v7wbqhrp/[^]so I want to know, is this legal in UML ??
17 Jan 2014 by Peter Leow
Yes, it is. Read more: use-case-diagrams[^]
10 Jun 2021 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
31 Dec 2012 by tusharkaushik
whAT IS CENTRALISED OPERATING SYSTEM (DETAILS).
31 Dec 2012 by Richard MacCutchan
See here[^].
8 Oct 2012 by djdynamix
A little workaround to enable a VB.NET application to read and alter the WPC settings for any user.
26 Nov 2014 by SergVoloshyn
Main program for testing modem or GSM phones by AT commands, use only standard classes and libraries.
21 Jun 2021 by 15160877
A.java is in C directory and B.java is in D directory. I am trying to load B.class in runtime using the following code: import java.io.*; import java.lang.reflect.Method; import java.util.*; import java.net.*; class A {...
17 Jun 2021 by Richard MacCutchan
You already asked this question at Why it is not working[^]. And we explained why you cannot do it.
11 Jul 2012 by Member 8664110
I want to implement RAID1 on my system of motherboard DH67CL. I have Set the Chipset SATA Mode to RAID. After saving I have to enter to configuration utility by pressing cntl +i. But it is not appearing in the screen. I have goggled for this. I got one solution to enable this option. But, it's...
3 Nov 2013 by Maazatron
Hello everyoneIam trying to copy data from one .csv file to another .txt file in java. The csv file is like this101, Helen Scott, 2003, Beginner, 1, 1, 2, 2, 3,102, James Jackson, 2004, Amature, 2, 2, 3, 3, 4,103, Tim Moore, 2005, Novice, 3, 4, 3, 3, 4,104, Tom...
3 Nov 2013 by Xiao Ling
you stored string in parts and stored int in scores. How can you copy string to int?System.arraycopy(parts, 4, scores, 0, scoreLength);
2 May 2021 by raddevus
7 step outline will help you communicate quickly and clearly to team about System Creation / Code Changes
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...
3 Jan 2013 by H.Brydon
If you are using NTFS on your 'backup' file system, you just enable encryption on it, and ordinary copy operations in either direction will do the encryption/decryption for you.
26 Jun 2011 by Harmanjeet Singh
we do dump analysis on windows XP using "Dr Watson"we can do dump analysis on windows Vista using "Problems, Reports & Solutions"How to do the same on Windows 7?
4 Feb 2012 by Jawahar Suresh Babu
The article describes how to customize default System Menu in WPF
13 Oct 2017 by Member 13464012
I Don't know what is the problem With that code really! Dim XID As String XID = FormSuppliers.txtcode.Text DataSetSuppliers.Clear() SQLSuppliers = "SELECT * FROM Suppliers WHERE SN = '" & XID & "'" If Conn.State = ConnectionState.Closed Then...
13 Oct 2017 by OriginalGriff
Don't do it like that! 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. Use Parametrized queries instead. When you concatenate strings, you cause problems because SQL receives...
24 May 2012 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
24 May 2012 by Sergey Alexandrovich Kryukov
Please see my comment to this inappropriate post.Anyway, I want to add some useful information. The "methodology" cannot be useful for software development, at least not directly. What can be useful is called "method". Here is why: the term "methodology" is composed of two words: "method"...
30 Sep 2018 by Lokesh Zende
Hi, I recently switched to a new company where my manager wants me to develop entirely new cloud based project in MVC. I have never worked on a project from the start and I think this is a good opportunity for me to lead. However, I think the requirements of the clients are bit confusing. Here...
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...
7 May 2011 by mhmd_frs7
hi everybody i am intending to develop a POS software using c#, can any of who have experience in designing and developing POS software to give some useful advices if there is any book and articles and technique to help in that or an example of the the system design so i can start designing...
7 May 2011 by thatraja
Probably you must search more with right keywordsPoint of sale[^]Design and development of Point Of Sale [ POS ][^]Refer some open source[^] applications
7 May 2023 by Minh Danh Nguyen (ToughDev)
Developing vintage 68K Macintosh apps with CodeLite IDE, Retro68 and pce-macplus emulator
2 Feb 2012 by Jignesh J patel
how can we develop distributed system in windows? pls help...
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...
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...
2 Feb 2012 by Rajesh Anuhya
Here is the good link for books free download, search here http://flazx.us/[^]Thanks--RA
7 Aug 2011 by KUGANESWARA
How E-Commerce Transaction system works?
7 Aug 2011 by Christian Graus
It usually works because a programmer wrote code to tell it what to do.
7 Aug 2011 by Ger Hayden
They are all differant. Essentially the system whether web enabled or not must reflect the users chosen business practice. Non web enabled may have to mimic some particularly unique features. e.g. most retail business will have their own method of 'marking up' prices from wholesale to retail....
5 May 2011 by Sandeep Mewara
It does not work like this here.I am sorry but there is no quick question here. This sounds like your college project/assignment, you should put some effort. We expect you to put some time in trying the issue that you are facing and then some time in formulating the question while posting...
5 Feb 2014 by Shah Parth P
How to ensure whether or not the garbage collector is called in java when we are using System.gc() ?
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.
3 Dec 2020 by Gaurang Majithiya
About "Execution of scripts is disabled on this system" error that people get when they run any PowerShell command for the first time
13 Nov 2012 by Ed Gepulle
i received this error when populating the dropdownlist. any suggestion pls?System.Web.UI.WebControls.DropDownListthe scenario is, a user is sending information from a c# page and will send it to the email provided.heres the code:protected void btnSubmit_Click(object sender,...
15 Nov 2012 by Ed Gepulle
Thanks for your reply. I got the solution for this, i missed to include .text with the other controls. cheers!
13 Jul 2020 by vishalkumar_86
We Have created the the eventwatcher functionality which is track the window open event its works when open the any first file with same application but when i open it the second file then that time it will not fire. for e.g. i have two excel...
21 Mar 2010 by hswear3
VB.NET program provides information about your hardware and operating system
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.
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...
15 Mar 2015 by Member 11410794
data compression pro#include#include#include#includevoid fsize(FILE *fp);void fcal(FILE *fp);void fa_z(FILE *fp);char r;long char c;void main(){ FILE *fp; clrscr(); fp=fopen("file name.txt","r"); ...
15 Mar 2015 by manchanx
1) replace your if-else-cascade in void fa_z(FILE *fp) with a switch-statement.2) replace the switch-statement in void fa_z(FILE *fp) with an array or dictionary* and no case-distinction at all.3) sort the result of void fa_z(FILE *fp) by frequency.4) build a huffman-tree from the...
15 Mar 2015 by George Jonsson
You can start with replacing the while loop in void fa_z(FILE *fp) withint index = 0;while ((c = fgetc(fp)) != EOF){ if (c >= 'a' && c
31 Mar 2018 by Dirk Bahle
Lessons Learned on Software Design with WPF
14 Nov 2010 by gurvinder119
How can I implement file system in my kernel? not linux kernel. we are developing our own kernel and need help in implementing file system fat, ntfs or ext.
29 Oct 2010 by Sauro Viti
Currently all the distro include support for ext, ext2, ext3 and ext4 file systems.What do you precisely mean? Can't you use existing solutions or derive your work from them?
15 Nov 2010 by Kozlov_Sergey
You can start form this: the base of your file system can be file with captions of other files, other files can be stored in one big file like an archive file. There is something like that in windows "storages" (for example doc files). Own file system can be used to store game data and also any...
17 Nov 2010 by LloydA111
Well there are plenty of OS development sites I know that are worth a look, here are a couple:http://www.osdever.net/papers/[^] (Scroll down till you see the "Filesystems" section.)http://wiki.osdev.org/Main_Page[^] (A good site for all sorts of OS dev stuff, perhaps you should ask your...
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...
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
22 Apr 2013 by Sairam Kannan
Hi All,After couple of days i was able to find a solution by replicating the same scenario in my development enviroment just the way it was on my test environment. I requested the team member of external system to FTP sample file i post from my archive test files to my polling folder.I...
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...
11 Nov 2015 by eqxvip
Hi!I had the same problem and reading your solution I realized why. In our code we where listening to CREATED event filtering on XML files as you. This event is always triggered, but since most SFTP software supports continuation on errors the files are created using a temp extension like...
23 Nov 2022 by Rick Developer
We have new PCs that have Windows 10 or Windows Server 2019 installed. Cards can now be plugged into certain PCI buses. I want to find out on which PCI bus a card is plugged in. Does anyone have an idea how to find out relatively reliably under...
19 Aug 2012 by Ali_100
Hi,, I m getting the following msg when i go in IE tools & then click Internet option,at click on internet options i get "This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator."How could I resolved...
19 Aug 2012 by Manas Bhardwaj
Google [^]seem to have a lot of suggestions/solutions for this type of problem. Did you try to look at?P.S. : Instead of playing and tweaking the registry permissions, I would rather geth Administrator privilage on this system which is very usual for a developer to have.
18 Jun 2011 by thexcodec
Hey guys, I am here again with a problem.In my program I need to calculate the current CPU usage.I have searched google and found similar code across multiple websites but it just feels way too complicated for what I need to do AND my CPU never hits 100% usage with this calculation.Not...
18 Jun 2011 by Dr.Walt Fair, PE
Have a look at this link.[^]
16 Aug 2012 by Sachin Panchal
Hi All, Is there any way to get list of Dlls & ActiveX controls registered on machine using c# from registry?Regards,Sachin
16 Aug 2012 by fixthebugg
have a look on these links..Dll Profiler in C#[^]andhttp://stackoverflow.com/questions/1649171/how-to-list-all-activex-controls[^]
4 May 2017 by Toni_s
Hi all. I have a question about how to play animation without to use too much memory. I want to load in every Timer Tick only one frame directly from the disk, without to load all frames into memory in a variable. I have make one function for this, but if i called it slows down in every frame a...
25 Mar 2012 by cpquest
Hi all,For my Lan Messenger i like to display the user image. The image should be the Windows current Login user image.I got some link which say that the image of the current login user image will be available in this path C:\Users\\AppData\Local\Temp\.bmp. But i dont see that the LAN...
25 Mar 2012 by #realJSOP
For Vista and later, the image is located in C:\Users\UserName\AppData\Local\Temp\[UserName].bmp
24 Nov 2014 by Raheleh14
Hi,I know windows system programming. In Windows, we can implement all Inter-process Communication(IPC) methods like DDE, Clipboard, Pipe, Mailslot,... with messaging. I read somewhere that windows has message-based structure. In windows, every process has a message queue that it can contain...
24 Nov 2014 by E.F. Nijboer
The common mistake most people make. Windows is the name as the os and also of the distribution. In the linux world is is more clear that for example Ubuntu is a distribution of a Linux OS. There are several implementations for messaging available. Have a look at the...
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....