General Question How would one create a direct input / output stream to and from an instance of command prompt (cmd.exe) using some form of a C# application, whether it be WinForms, WPF, or UWP. Effectively using CMD as if it were just a compiled library What I Actually Need I need to be able ..
My python program about radical numbers that i created isnt working as i want. √72 = 6√2. But my program shows: 2√18. Lets say that a√b is a variable. I want ‘b’ to be the least value. How can i do that? My program is so big so i can’t write all of them. So ..
I am looking for using barcode capture event to executing a program (either powershell or simple vbscript) on Windows 10 machine. How can I achieve that? Do I need to create a barcode program embedded in it – if yes, how will it execute? Do I need to capture the scan event in windows machine ..
I have two .cs files and I want to use a button to change value of string channel but it calls error CS0236: (A Field Initializer Cannot Reference The Nonstatic Field, Method, Or Property), please help me, I am looking for a solution two days. Thank you. in Form1.cs I have using System; using System.Collections.Generic; ..
import tkinter canvas = tkinter.Canvas() canvas.pack() tkinter.mainloop() canvas.create_text(150, 100, text = "HELLO") Hello. Sorry for my English. Start in Python. Canvas is on screen, but NO text What is wrong? Thanks. Source: Windows..
After a Windows 10 Creator Update there is a registry entry: "SOFTWAREMicrosoftWindowsCurrentVersionPrecisionTouchPadAAPThreshold" with a default vaule of 2 The touchpad is deactivated for a short time after keystrokes. For applications wants to support special actions by press a keyboard key and move the cursor by touchpad it means: The interaction hangs sporadical and is not ..
Here’s the code that doesn’t work. The spsip.txt file has IP addresses in it for the script to loop through. The code does not seem to evaluate the IF command condition. No matter what I type, it always evaluates as false and never runs the ping command. Any ideas? @echo off for /F %%f in ..
I’m automating some Excel and Powerpoint functionality with Python and win32com. Sometimes the apps don’t start up because there are "recovery" files, so I want to blow away the recovery files before my automation script starts up. To do that, I need to know where these files are kept. I can’t find them. I’m using ..
If a Pc has two network adapters both with different ips and both are connected , and i want to ping a device on the network which ip will be used ? Source: Windows..
From Clang’s documentation: When Clang compiles C++ code for Windows, it attempts to be compatible with MSVC. In particular, Clang defines _MSC_VER. MSVC does not support #pragma STDC FENV_ACCESS ON: cl t125.c /std:c11 t125.c(11): warning C4068: unknown pragma ‘STDC’ Instead MSVC does support #pragma fenv_access (on). This leads to this code: #if _MSC_VER #pragma fenv_access ..