Click here to Skip to main content
15,886,806 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 Updated

System 

2 Mar 2024 by JadBenAutho
Efficient and standalone library for NTP server/client utilizing pure C++
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.
18 Aug 2023 by Maxim Kartavenkov
Discussion of how to organize saving application trace helper information.
7 Aug 2023 by zidane168
Use SQL triggers to keep track of the changes made to your data
9 Jul 2023 by Aditya Jha 2023
# import re from sys import path from tkinter import* from tkinter import ttk from PIL import Image,ImageTk import os import mysql.connector import cv2 import numpy as np from tkinter import messagebox from time import strftime from datetime...
9 Jul 2023 by OriginalGriff
Start with teh documentation: Python cursor's fetchall, fetchmany(), fetchone() to read records from table[^] Quote: cursor.fetchone() method returns a single record or None if no more rows are available. Join only works with a collection - and...
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.
15 Jun 2023 by Maxim Kartavenkov
Discussion of simple ways of tracing and also new tracing technologies involved in Windows 10
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.
7 May 2023 by Minh Danh Nguyen (ToughDev)
Developing vintage 68K Macintosh apps with CodeLite IDE, Retro68 and pce-macplus emulator
7 May 2023 by ToughDev
Ultimate 68K Macintosh emulator
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...
18 Oct 2022 by proyan01
the c++ program should do the following: 1) foods should have 2 types of each 2) Example: pizza: cheese pizza, chicken pizza burger: beef burger, chicken burger 3) lets the user if he wants to order more 4) calculates the price of...
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...
29 Sep 2022 by 梅君
I want to wipe all file in a folder. So I use CFile class to open a volume. Then parase the MFT and data to be wiped of files.MoveFile(lpszCurFilePath, lpszReplacedFilePath);// Use Window API to delete the fileif (!DeleteFile(lpszReplacedFilePath)) return;...
29 Sep 2022 by OriginalGriff
Just thought I'd mention that writing over a file doesn't delete it totally, or even close. If you are using an SSD, then the data is not overwritten at all - the new data is written to a free block and the old data remains in the old block for...
6 May 2022 by Rao Aitsam
using if statements Write a script (called q2.sh) that will take three arguments and make sure that three arguments are input. You need to check if they are files (report an error if they are a directory). Then you need to output the character...
6 May 2022 by Dave Kreskowiak
The only code you get is the code YOU write. Asking other people to do your work for you is insulting - yourself. It tells everyone you don't want to learn and that's the one skill you absolutely MUST have when working with code.
5 May 2022 by Richard MacCutchan
All the information you need is at bash(1): GNU Bourne-Again SHell - Linux man 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...
5 May 2022 by OriginalGriff
Quote: Kindly write the code according to the instruction It doesn't quite work like that. We do not do your work for you. If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there. But be...
11 Apr 2022 by Eddie Winch
Hi there, I have a System Restore Point File, from my Laptop, which I wan't to open on my other main Computer, I copied it from my Laptops System Volume Information Folder, to my Main Computers, System Volume Information Folder, on the C:\...
5 Apr 2022 by ubutu2334
Enter a list of students names from the keyboard and save the list that was sorted into the file students. Check the contents of the file students What I have tried: cat >> students -> What about the arrangement part? ls students Thanks
5 Apr 2022 by Richard MacCutchan
sort(1) - Linux manual page[^]
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...
20 Jan 2022 by MXwell8
Hi, I try to show up a notification when an if statement is true, but it doesn't show up also I checked the win 11 notification is something was on, but all things is off. In case I can only create a custom one. S.O = Win 11 Version of Visual...
30 Dec 2021 by k5054
The system() call takes a C-string as an argument, so all you have to do is to build up your string and the call system. std::string hci{"hcitool"}; std::string tmpfile{"tempFile"}; std::string cmd{hci + " > " + tmpfile}; system(cmd.c_str());...
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.
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.
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.
15 Jun 2021 by 15160877
I have been trying to set the class path programmatically using System.setProperty("java.class.path",newPath). Though I set the class path, it throws an error. This is my code: A.java class A { public static void main(String[] args) {...
15 Jun 2021 by CHill60
If class B is in another file then you need to import it. Follow the instructions here - Calling a class in another file[^]
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...
7 Jun 2021 by 15160877
I have used the code WebDriver driver=new ChromeDriver(); It throws the error java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; It's because I didn't set the...
7 Jun 2021 by Dave Kreskowiak
System Properties (The Java™ Tutorials)[^] Wouldn't is make sense the ChromeDriver class can also query the System properties, with System.getProperty and an arbitrarily chosen property name?
28 May 2021 by Dave Kreskowiak
So what happened when you Googled for "The path to the driver executable must be set by the webdriver.chrome.driver system property"? Always Google for the error message and do a little research before posting a question.
27 May 2021 by MrProgrammer12
hey im not realy sure how to make a linux distro but on linux kernel source tree in github is some documentation for developers. maybe there is specified how to start devving :) may the source be with you GitHub - torvalds/linux: Linux kernel...
2 May 2021 by raddevus
7 step outline will help you communicate quickly and clearly to team about System Creation / Code Changes
19 Feb 2021 by Violet Heath
I would like to know: 1. time, when my Android phone was turned on/off (not just the last time), what events/activities happened (if possible) 2. time, when my USB flash drive (Windows) and files on it were accessed (not just the last time),...
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
17 Oct 2020 by OriginalGriff
You can't use a restore point from one computer on another: they are specific to the computer they are created on. They are a backup of the registry and some driver files and aren't going to contain anything that will work on the second PC. You...
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...
9 Jul 2020 by OriginalGriff
Ask them, or Google for a review: we are not a software recommendation service.
8 Jul 2020 by OriginalGriff
We are more than willing to help those that are stuck: but 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 us...
16 Apr 2020 by Dixin Yan
A one-stop tutorial of all mainstream technologies for JavaScript modules.
11 Apr 2019 by WOLF 2018
I am look for an OS with no GUI and No CLI. (I think that what is called) All I am after is a bear bone OS that I can write C programs to run on it. I wanted to know if it could be done and if so where should I look. I just wanted to make an OS but didn’t want to go through the pain of building...
11 Apr 2019 by OriginalGriff
It's going to depend largely on exactly what hardware you are using: "basic OSes" exist, but they are understandably targeted at a specific hardware setup, and will not work for different hardware. OSes have to interact directly with the hardware, so they need to know all about it. And the C...
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...
27 Jan 2019 by WOLF 2018
I am trying to make a interface for boot. (Batch styled) but I know TrueCrypt does it. But I have been unable to find a way to do it. I wanted it because I wanted to test what I can do in the boot and learn more about how boot system works. If you know how to execute a file on boot that would be...
27 Jan 2019 by RickZeeland
Here is a CodeProject article about it: How to develop your own Boot Loader[^]
27 Jan 2019 by Dave Kreskowiak
If you're talking about running code before Windows even starts, Google for "how to write a bootloader". Warning, this is NOT easy and NOT easy to get working. Remember, you don't have a runtime nor an O/S to handle stuff for you, so you have to write EVERYTHING yourself.
8 Jan 2019 by Richard MacCutchan
There are plenty of tutorials on image recognition that Google will find for you.
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...
18 Jul 2018 by Member 13916759
this is the message that showed up https://imgur.com/gallery/gaoiTxn What I have tried: watching videos on this subject and none helped
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...
7 Apr 2018 by quanhuang
What is the feature of desktop window class? //Why do I have to type the sentence which is at least 30 charachers?(Has been solved.) Here is my code. #include #include #pragma comment (lib, "user32.lib") #include #pragma comment(lib,"Kernel32.lib") main(){ FILE...
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...
7 Apr 2018 by Richard MacCutchan
Not sure what you are asking, but see: About Window Classes (Windows)[^] GetDesktopWindow function (Windows)[^]
2 Apr 2018 by OriginalGriff
Probably, it's a security restriction: the desktop is created by a system process as part of the logon procedure but before it starts the user session and it's processes, and is thus created by a process in a different session. Or at least, that's the way I read it: Window Station and Desktop...
2 Apr 2018 by quanhuang
Why can`t I get the path of the process(retrieved by GetWindowThreadProcessId+OpenProcess) which create the desktop window (retrieved by GetDesktopWindow) by GetModuleFileNameEx? #include #include #pragma comment (lib, "user32.lib") #include #pragma...
31 Mar 2018 by Dirk Bahle
Lessons Learned on Software Design with WPF
28 Mar 2018 by Jochen Arndt
If you want to customise the Logon see Winlogon and Credential Providers (Windows)[^]. Because a GUI application requires to be started as user, you can not execute such before a logon. All you can do is starting a service which does not have GUI capabilties. There are solutions to let a...
28 Mar 2018 by quanhuang
How do I run a GUI program on a Windows 10 login interface? How do I run a GUI program on a Windows 10 login interface? How do I run a GUI program on a Windows 10 login interface? What I have tried: srvany.exe+instsrv.exe:run the program as a service when starting the system. add the program...
28 Mar 2018 by Dave Kreskowiak
You don't. It's a MASSIVE security risk. What you can do is, very carefully, write a Credential Provider[^].
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...
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...
22 Aug 2017 by Patrice T
Not a solution to your question, but another problem you have. Never build an SQL query by concatenating strings. Sooner or later, you will do it with user inputs, and this opens door to a vulnerability named "SQL injection", it is dangerous for your database and error prone. A single quote in a...
22 Aug 2017 by Techno- Byte
Hi I am facing problem that I want to convert date time format taking date time from database and display date in other format i used system.globalization and deal with DateTime.ParseExact but CultureInfo.InvariantCulture does not identify there is an error: the best overloaded method match for...
22 Aug 2017 by RickZeeland
Make sure that you pass a string to DateTime.ParseExact(). You must specify the exact formatting string for DateTime.ParseExact. You need to use a format string that has letters in it that tell ParseExact where to read in the values from your string. See examples here: [Dotnetperls]
25 Jun 2017 by Member 9983063
Hey Guys, How are you i hope you will be fine well my question is there any way to make digital clock in C# without timer because when I use timer so my application working very slow I want to show system date and time in my application without timer is there anyway so please help me how can I...
25 Jun 2017 by RickZeeland
Here is an answer that will suit you: a digital clock program in c# ![^] Quote: One hint: use thread, not a timer and, in the thread body also use System.DateTime. Even with timer, always take time from this structure, never rely on timer's timing. (But avoid a timer, a thread is much easier,...
24 Jun 2017 by Dave Kreskowiak
Well, yes. But, a Timer is the easiest way to go. If you code is "slow", not using a Timer isn't going to fix anything. The problem isn't with your Timer but with something else in your code. Start with profiling your code to see where the bottlenecks are.
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...
5 Jan 2017 by Ayodeji Oluwatomiwo
check this article Encrypt and Decrypt Data with C#https://www.codeproject.com/articles/14150/encrypt-and-decrypt-data-with-c
4 Jan 2017 by Member 12931994
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace ISE_CR_S16{ public partial class DES : Form { int[] left = new...
18 Dec 2016 by Afzaal Ahmad Zeeshan
There are thousand books, thousand reviews and thousand rating. Each evaluating gibberish to 4.5. How can you evaluate a good book based on personal reviews? I might enjoy reading a book that you hate. So, basically start by understanding the concepts and then keep reading one book and...
29 Nov 2016 by Maideen Abdul Kader
Hi I have issue in asp.net project.I am using Reportviewer in project. In localhost, it is working fine, no issue. Once upload in web server, error prompt"System.Security.SecurityException: System.Security.Permissions.SecurityPermissionPls advice me.Thank You MaideenWhat I have...
10 Oct 2016 by Ashley Davis
A look at version control from the game developers perspective
30 Jul 2016 by Member 12662094
I am working on an assignment. I need to implement my own pwd command. I researched and found that I may have to use /proc directory to implement this.I am not allowed to use bash commands or system() function. Please help.What I have tried:I have created two files. In the separate file...
30 Jul 2016 by Jochen Arndt
Why do you create a program that executes gcc to create another program?Just create your maypwd program and compile and link it using gcc.The assignment requires that your program did not use the system() function (system(3) - Linux manual page[^]) to execute a shell built-in...
31 May 2016 by DataBytzAI
How to ensure there is sufficient disk-space for SQL backup before you run a backup!
15 Mar 2016 by Trader999
I'm getting an error saying System.datetime? can't be converted to System.datetime, but an explicit conversion exists. I did a Google search and found a proposed solution... but I still get the error. OPT_EXP is a nullable column. Please take a look and show me what's wrong?What I have...
15 Mar 2016 by Matt T Heffron
Use:DateTime EXP = KVP.Value.OPT_EXP.Value;
7 Mar 2016 by Patrice T
Quote:How can I start with it Start by discard this project and learn the different fields that you will need to complete the project.Your question tells us that you lack the knowledge needed to complete the project?
18 Feb 2016 by Kinna-10626331
I have been hosting external application ( through a Process) in a wpf window using a WindowsFormsHost host = new WindowsFormsHost();.This is been done successfully with multiple personal apps and system apps (e.g: "write.exe" ). The applications are launched inside the window...
10 Feb 2016 by 7prasannaReddy
All I need is to open a cmd prompt and pass commands to cmd prompt and run them.For example 1.open cmd2.pass a command to "change directory"3.pass a command to open a file.What I have tried:I've tried as below:#include int main(){ std::cout
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...
18 Jan 2016 by Langre
I have a question on theory of multi-agent systems. The question is about how do agents understand messages sended by other agents. What algorithms or methods can be used to parse text in messages? How do agent decide what acrion should be done when it has read message?I have read tons of...
21 Dec 2015 by rafidkarim
hi,I am trying to developing my own linux distribution. I want the system base on Debian, and some people suggested me to use LFS, and i don't know what LFS exactly is that an independence Linux distro? I want to make a custom Linux, and when my own Linux distro will finish, how could I make...
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...
10 Oct 2015 by yash soman
WinForm controls and WPF controls memory management and internals of how they are loaded
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 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...
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...
2 Jul 2015 by Andrew Rober
Windows software licensing data and information in a nutshell