Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Questions tagged [windows]

Writing software specific to the Microsoft Windows operating system: APIs, behaviours, etc. GENERAL WINDOWS SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

What's the proper workflow for running Perl on Win10 with multiple command line commands?

I have a Perl script on Win10 that uses the system() command to run a couple of different command line processes, including: Start Windows Media Player with a specified .mp3 file. my $cmd = "...
0 votes
0 answers
13 views

ConfigurationErrorsException: 'Configuration system failed to initialize'

The code is as follows and posted here. Imports System.ComponentModel Public Class dlgSettings Private Sub dlgSettings_Load(sender As Object, e As EventArgs) Handles MyBase.Load ...
0 votes
0 answers
12 views

Is there a way to directly manipulate the console screen buffer on windows from python?

I want to directly manipulate not stdout, but rather the command prompt screen buffer itself with python. I want to do this so that I can write over already existing info to create a sort of screen ...
0 votes
0 answers
32 views

Missing npm-cli.js when trying to use NodeJS as portable without installing, on Windows

I try to use TiddlyWiki as a portable folder with NodeJS on Windows, without installing NodeJS, following this tutorial. But I am getting this error. What am I doing wrong? https://i.stack.imgur.com/...
0 votes
0 answers
46 views

Creating URI Scheme in windows 10 with period(.)

I want to create a Custom URI Scheme with a period(.) i can create the usual Custom URI Scheme like hello://world/hi what i want to create is something like this com.hello://world/hi i read the URI ...
2 votes
1 answer
45 views

R: What replaces memory.limit()?

I recently updated to the latest R for Windows after a 3 year hiatus. I see that the memory.limit() function is now obsolete [for some reason; it always worked well for me]. As of now what is the ...
  • 835
0 votes
0 answers
32 views

Windows 10 bash: nvm: command not found

I am trying to set up windows 10 so that I can be able to run multiple versions of node. I heard about nvm and downloaded it successfully. When I typed 'nvm' or 'nvm -v', I get the following error, ...
  • 435
0 votes
0 answers
34 views

How to unhide folder that hide using attrib +s +h? [closed]

Actually I have forgot the folder name and I am unable to unhide that folder that I hide using attrib +s +h. Is there anyway to get that folder from external device?
-2 votes
0 answers
17 views

I would like the store the system() command output into a variable [duplicate]

As noted above I have a system() function which should return a string in my c++ program, unfortunately I just cannot seem to grasp how to transfer it into a string. All it does is print it in runtime ...
0 votes
0 answers
24 views

How to change keyboard language if a specific keyboard is connected? (Win 10/11)

I don't know if this is the right place to ask this question... however: Does exist a way to tell Windows (10/11) to switch keyboard language dynamically when I plug in a specific keyboard? My problem ...
  • 25
0 votes
0 answers
23 views

MSYS 2 Mingw64, getting error: "-bash: ./filename: cannot execute binary file: Exec format error"

When I run ./filename.o I get: -bash: ./filename.o: cannot execute binary file: Exec format error The program information I get when running the file command is: filename.o: Intel amd64 COFF object ...
0 votes
0 answers
53 views

Remove Local Python Version

I was having some trouble with a Python script and was trying to set a local version for this one script. Unfortunately I didn't check that I was in the correct folder before running pyenv local 3.9.9....
  • 2,990
0 votes
0 answers
48 views

Failed to running Sonarqube , and logs not helpful

I try running Sonarqube on my local machine (Win 11) , and if i execute this command in CommandPrompt Terminal when i run the commands nothing happens , and the logs is not helpful 2022-10-01 15:...
0 votes
0 answers
42 views

How to run C++ code on Visual Studio Code? (Windows)

I spend around 4 hours today trying to compile C++ code in Visual Studio Code, but I did not even progress by a small bit. There are 2 main issues: #include errors detected. c_cpp_properties.json ...
0 votes
1 answer
22 views

Use findstr to Search keyword in the multiple sub directories

I'm looking for to find the string "please enter your datbase connection details" hidden inside the one of the .php files at a location of C:\xampp\htdocs\projects\e-pay\script\vendor Inside ...
  • 502
-2 votes
2 answers
61 views

How can I copy something to the clipboard in C++?

How is it possible to copy something to the clipboard in c++? I have searched for a solution but I can't find any examples. Would be great if you have a code example aswell. thank you
  • 9
-2 votes
0 answers
51 views

Unable to connect to an application running on Ubuntu VM from Windows Host

I have an application running on localhost:1337 on Ubuntu Virtual Machine; Windows machine hosts the Ubuntu VM. On Ubuntu VM, the application is accessible on localhost:1337 and 127.0.0.1:1337 For ...
  • 47
-1 votes
0 answers
28 views

Winpcap 4.2.1 having problem on reboot of the Windows machine

I am facing an issue where if i manually install winpcap without checking the option "Automatically start the Winpcap driver at boot time", my application which uses the winpcap works across ...
  • 1
-2 votes
0 answers
34 views

How do you rip a game from an optical disk on a Windows 10 computer? [closed]

I want to rip/download a game from an optical disk that I own. Is there a native way to do this in Windows 10? If there aren't any Windows 10 inbuilt tools, are there any trustworthy softwares (paid ...
  • 5
0 votes
0 answers
58 views

How to use spaces and periods in an Ansible playbook windows path:?

I have a playbook that installs an app on a Windows test server. Here is part of the yaml code. - name: Install app win_package: path: C:\Temp\someDIR\APP.msi state: present This works. ...
-1 votes
0 answers
93 views

How do I use Windows.h in c++/clr

I am making an app that has a button that attaches to a running process but when I try to use windows.h functions eg. FindWindowA it says unresolved token (0A000038) extern C. if working correctly it ...
0 votes
1 answer
58 views

PrintDlgEx invalid argument, while PrintDlg works

Problem: I need to get PrintDlgEx working for my project, but no combination of options or arguments works for me. It gives E_INVALIDARG for any combinations of options, as the ones I copied from ...
  • 12.9k
0 votes
1 answer
38 views

How to automate setting version of Java that appears first in Path environment variable?

I'm trying to automate the set up of an environment in Windows. As a part of this I'd like to ensure that a specific install of Java 11.0.11 appears first in the Path windows environment variable. I'...
  • 3,037
-1 votes
0 answers
58 views

How to install and use localtunnel-server on Windows Server? [closed]

I have a server with Windows Server 2019 and a DNS, so I want to use localtunnel with my own domain.I was searching and i found this solution: https://github.com/localtunnel/server So, I've downloaded ...
0 votes
0 answers
51 views

ONNX Runtime: Can same ONNX model be inferenced in both a 32-bit App and a 64-bit App?

An ONNX model was supplied to me. I wrote code to inference it via a C++ 64-bit (x64) test program. Works great. But I also need this same model to run in a C++ 32-bit (x86) program -- cannot get ...
  • 545
0 votes
0 answers
54 views

Why is my high end windows laptop so slow in compiling java code?

To my regret, I've bought a high end msi laptop with windows preinstalled: As this was one of the few (only at that time) laptops that had the intel i9 12th gen processor available. Judging from the ...
-1 votes
0 answers
59 views

Moving multiple subfolders at once into a new location

I'm trying to move around a ton of subfolders, and wondering if there's a quicker way to do this than manually clicking everything. Essentially, this is the layout I made with a batch file, however ...
  • 17
0 votes
0 answers
56 views

Obtain last password set date on visual basic script

I'm trying to get the last password date on vbs. I'm using this code On Error Resume Next Wscript.Echo Day(now) & "/" & Month(Now) & "/" & Year(Now) strComputer = &...
0 votes
0 answers
31 views

Problems with pyinstaller on Windows 11

I need to create a standalone EXE file from my simple Python app. But when I try this on Windows 11 I get the info that the pyinstaller can't find the file even though I copy and paste its name. Have ...
  • 726
-1 votes
0 answers
56 views

bind-address not working in Windows MySQL 8.0.28 with lan ips

In Windows MySQL 8.0.28 I can’t use the directive bind-address to allow specific lan ips such as 192.168.1.36. The 0.0.0.0 ip (for ALL ips) works, and also works the 127.0.0.1 ip (for localhost only). ...
  • 1
1 vote
0 answers
35 views

How to install Sage if I already have Jupyter

Sorry for my bad english Is there some way that I could have Sagemath in Jupyter Notebook without installing completely Sagemath by itself? I have Windows 10 and I had trouble trying to install ...
  • 11
0 votes
0 answers
24 views

How to make my C code recognized as a video source / webcam by Chrome browser?

I'm working on a C code which output video frames in realtime, which is eventually built as a DLL file: int get_frame() { // generate video frame } Are there specific functions to export in the ...
  • 38.4k
0 votes
1 answer
35 views

Running pyinstaller on Windows 11

I created a small app that I wanted to share with my gf, so I installed pyinstaller on my Mac and it created .exec file, but my gf uses Windows. So I switched to my Windows computer, installed python, ...
  • 726
0 votes
1 answer
44 views

How come Gdiplus SolidBrush's RGB is different from regular RGB?

I'm trying to paint a simple header on top of my Window with Gdiplus' SolidBrush, but whenever I set the RGB color it's different from what it's suppose to be. How come this is happening? And is there ...
1 vote
0 answers
10 views

Linking to GSL under Windows with MSYS2 [duplicate]

I am trying to compile a C++ project that relies on the GSL library under a Windows host with the MSYS2 gcc toolchain. The commands used to compile and link is as follows: g++ -I/mingw64/include -...
  • 633
0 votes
1 answer
35 views

Exclude multiples dirs with the command tree Where-Object

I would like to know how to put multiple arguments in the Where-Object. I would like to exclude multiple folders when I use the tree command. I tried several ways but none worked. tree /F src /a | ...
-1 votes
0 answers
28 views

CRITICAL_STRUCTURE_CORRUPTION bugcheck and Reserved keyword

I was reading the details for the CRITICAL_STRUCTURE_CORRUPTION bugcheck code on the Microsoft website. This bugcheck code in the documentation provides for the following details: ...
  • 35
0 votes
1 answer
19 views

Read a line of text and set it as a variable for a batch file

I want to put a date/time in a line in a text file then have my batch file use that date to compare against the current date/time. How would I do that?
0 votes
0 answers
42 views

How to install docker container on specific NIC?

My dev machine has 2 network port and each connect to different domain. NIC1 172.25.56.120 NIC2 192.168.1.80 I want to setup a docker container served as NTP server which uses the IP from NIC1 only. ...
0 votes
0 answers
8 views

how to get a external window to the foreground? [duplicate]

I'm writting a c#-Tool(WPF), where I need to bring an other tool to the foreground. How to reach that whats the name of the function i need. with google I'm not getting far. ;) And maybe if possible ...
-1 votes
0 answers
61 views

How can I as much as possible ensure that a worker thread do not crash or corrupt the main thread?

Consider the following program designed to keep the world safe and report the latest soccer results: #include <iostream> #include <thread> #include <mutex> static std::string ...
  • 2,855
-4 votes
0 answers
41 views

I found 0day in windows10/11 [closed]

I Found 0day in windows 10/11 machine. let's detail. I am python malware developer. I wrote a ransomware attack. Windows firewall didn't cacth my threads. This virus locking the all server, all ...
-1 votes
0 answers
49 views

ssh "No matching host key type found" with VPN [closed]

When I am directly connected to the network of the company I am working for, I can access my server through shh with the classical: ssh user@ip_address But when working from home, where I am ...
  • 177
0 votes
0 answers
85 views

Build errors using Firebase SDK (VS2019/C++11) in a Windows desktop app (VS2022/C++14)

I'm trying to add Google Firebase/Firestore to an existing Windows C++ desktop app using VS 2022. I've downloaded and installed the latest version of the Firebase C++ SDK. I'm not using the supplied ...
0 votes
1 answer
21 views

Powershell XML Encoding HTML

I have a little problem with powershell. I try to randomly create passwords for active directory users during installation via a script, but when I open my XML file I see an encode type html (& ...
0 votes
1 answer
31 views

How to start program B when program A starts and terminates?

Program A is a large program, such as a game, a working software, and program B is a small program, which is used to change some system settings. Now I want program A to run program B both at startup ...
0 votes
0 answers
23 views

How to use CLI for apps on Windows?

So basically, I'm trying to open an app on Windows installed from Microsoft Store through CLI. Like lets say for example, opening Spotify app on Windows. How do I do that? Tried googling around but ...
0 votes
1 answer
22 views

'Set-AzDataFactoryV2Dataset' is not recognized as the name of a cmdlet in windows

I have been going through the Microsoft Azure data engineering course and in the "Data integration at scale with Azure Data Factory or Azure Synapse Pipeline / Integrate data with Azure Data ...
0 votes
1 answer
46 views

Rename Lithuanian alphabet in R

I would like to rename() or combine() different speakers' names in the same observation. For example, I have a variable called "speaker" with several speakers' names with Lithuanian ...
-2 votes
0 answers
29 views

Laptop Lags for Few Seconds After Startup [closed]

Following are the specifications of my laptop: Processor: AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz Installed RAM: 16.0 GB (15.3 GB usable) System type: 64-bit operating system,...

1
2 3 4 5
3201