Most voted "windows" questions
Microsoft Windows is a family of operating systems created by Microsoft, a company founded by Bill Gates and Paul Allen. Prior to the NT version, it was a graphical interface to the MS-DOS operating system. Windows is a commercial product, with differentiated prices for each of its versions.
Learn more…704 questions
Sort by count of
-
2
votes1
answer63
viewsDifference of calling a function in Dllmain by Createthread or calling directly
What is the difference of calling a function in the following ways: The first way creating a thread. Example: DWORD WINAPI Metodo1(LPVOID) { // Meu código aqui... return NULL; } int WINAPI…
-
2
votes2
answers916
viewsHow to minimize an application in C#?
How do I minimize or close (to the tray) any application by C#? I’m trying to minimize Teamspeak to the system tray.
-
2
votes2
answers1914
viewsAlways ask for password in Git Bash Windows
I wonder if there’s a way my Git Bash can always ask for my password on Windows. I don’t want it to record for anything.
-
2
votes1
answer218
viewsGit Terminal vs Node Terminal vs Windows Terminal
I’m having some difficulty realizing the need to have so many terminals installed on the computer when I need to use git or Node.js. What are the differences between the terminals, what can one do…
-
2
votes3
answers2225
viewsFile . bat does not run
I have a file with the following command to disconnect some machines from the network. FOR /F %i IN (C:\estacoes.txt) DO SHUTDOWN /s /t 01 /m %i where estacoes.txt is a file with the names of the…
-
2
votes2
answers462
viewsHow to read a value from a Registry key
I’m trying to get a value from the registry key but the value returns empty, someone has another way to get the value from the registry key? Follow the code in VB.NET Private Sub ObterNomeDeRede()…
-
2
votes1
answer568
viewsCheck whether a COM port is connected or not
It is possible via code line to check whether a COM port is connected or not ? Analysis: I have a program PDV(Point of Sale) where the same has the integration with Sitef, through a Pinpad(cardboard…
-
2
votes1
answer355
viewsCreate a scheduled task on Windows XP 32-bit
I want to create or modify a task per command line, that on the same machine. I’m using the command Schtasks with argument /Create. But I only got on Windows 8, when I took the BAT to the machine…
-
2
votes1
answer275
viewsScript to identify 2 active services, take down the 2 and go up only 1
Next, I have a service here in my environment that runs on some machines, however this service can not be duplicated ( can not have 2 active services at the same time ) I wonder if it is possible to…
-
2
votes1
answer95
viewsDepth Test is not working properly in Opengl
I’m having a problem with the Depth Test. I have a scene where it contains three objects. A plane a cube and a cylinder. In my Render I am doing for when rendering the cube it should disable the…
-
2
votes1
answer2306
viewsScript to check running process and finish or not
i have a process called monitor.exe and the same can not have 2 active processes because it is a print monitor that if you have 2 active processes the same will issue 2 duplicate tax notes, so I…
-
2
votes1
answer121
viewsAlways start Mongodb
Whenever I will use Mongodb in a local development environment, I have to open the terminal and type: mongod So you can use Mongodb’s services. Since my operating system is Windows10 (64 bit), how…
-
2
votes1
answer147
viewsChocolatey in Windows Powershell
I’m trying to use native windows Powershell commands to install Chocolatey packages but when I use a command like Get-ChocolateyVersion get the error message: C: Program Files Windowspowershell…
-
2
votes1
answer5138
viewsHow to run a powershell function by calling the file . ps1?
all right with you guys? I request a help created a function that backs up virtual machines this function receives two parameters the server name and the VM name. I need to call function by running…
-
2
votes1
answer191
viewsAlternative C# Windows Service
Hello, I have some windows services written in C# (Framework 4.0) running on server here in the company, these services perform some monitoring to make information available for when the user logs…
-
2
votes0
answers105
viewsError saving Word document to Olecontainer
Situation is the following I have a system that makes automation of the Word and at the time of salvage the document he is not saving. It is not what it is, because it only occurs in the Client.…
-
2
votes0
answers128
views -
2
votes1
answer857
viewsRun minimized or hidden PHP script by Task Scheduler
I have a scheduled task in windows (working perfectly), where you run a PHP script: Scheduler: email php.: <?php require_once 'classes/core.class.php'; set_time_limit(120); $tempo1 =…
-
2
votes1
answer401
viewsMkdir(): Permission denied on Windows
I try to configure Vuejs in the Laravel with the following code: php artisan preset vue However, I resume this mistake: ErrorException : mkdir(): Permission denied I am using Windows and my project…
-
2
votes3
answers115
viewsInvalid parameter in batch script
I created the following batch script to prevent the user from deleting some directories within their home directory. We use Onedrive for Business and some symbolic links for the user to…
-
2
votes1
answer93
viewsProgrammatically uninstall hidden devices
Uninstall hidden devices manually: Device Manager Doors (COM and LPT View Menu → Show Hidden Devices Uninstall device (The name is no longer reserved) As you can see, I know the steps necessary to…
-
2
votes1
answer197
viewsAccent problem ( -jar mysql)
Hello, I made a program in Java that inserts several texts in a database, running from my machine (Mac Os), everything works very well. But, putting in a VPS (Windows) for the program to run 24/7,…
-
2
votes1
answer52
viewsHow to detect access denied with PHP on Windows?
I’m listing Windows directories with scandir() of PHP and some directories like "System Volume Information", "Documents and Settings" among others have access denied to listing when trying to open,…
-
2
votes1
answer254
viewsElectron error using "escpos" and "Electron-rebuild": not a valid Win32 application
I am developing a desktop application with Electron and I have the following problem when trying to run the application on Windows: All this started after I installed the framework "escpos" to work…
-
2
votes0
answers168
viewsProblems to download the angular cli through the terminal due to the internet provider?
I have a problem (I am currently using windows 10) that I can not solve. When I’m using the Internet here in my house and give the command npm install -g @angular/[email protected] the terminal locks and…
-
2
votes1
answer48
viewsWhy does the console even appear using a library to create a window?
I wanted to understand why the console also opens when a program is made using the SDL2 library. I am using codeblocks in windows 10. How do not appear the console and only appear the window…
-
2
votes0
answers86
views -
2
votes1
answer91
viewspop-up with python progress bar
I am currently migrating a system to python and it has a window that opens making the progress bar. In my migration I used the tqdm to generate a progress bar on the system, but in another part of…
-
2
votes0
answers84
viewsBatch to delete multiple users
Good afternoon, So, I have to do a weekly wipe on a machine that is connected to a domain, and delete all of its (network) users. My plan of action was to create a Batch that delete all user folders…
-
2
votes1
answer189
viewsWhy does a program compiled for Linux not run on Windows?
Well, we know that Linux and Windows run on x86 architecture but why a program made for Linux does not run on Windows? Since Windows is multi-architecture, a program made for Windows that runs on…
-
2
votes1
answer133
viewsHow to remove part of the name of all files in a folder via CMD/Powershell
I need to standardize the name of all the files in a folder, considering that the files already have a pattern at the beginning of their name up to the 8th character, being only necessary to demote…
-
1
votes3
answers2806
viewsHow to Change Windows Variable Records
It is fact that by programming for Windows, it is possible to store local variables, or in the environment, which in case are saved in windows records. How do you make change the windows registry…
windowsasked 10 years, 9 months ago Gabriel Gartz 5,624 -
1
votes2
answers9692
viewsHow to emulate an iOS app on Windows with Phonegap?
Lately I’m developing applications in Windows 8 using the Phonegap Framework. However, I wonder, how can I emulate the iOS app on my Windows operating system? There is the possibility to do this…
-
1
votes1
answer847
viewsFriendly URL on Windows 2003/2008 hosting with PHP site
I need to convert this file .htaccess for a Windows hosting compatible format at Locaweb. RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$…
-
1
votes1
answer320
viewsPython - Local Multiplayer System
I’m trying to create a local multiplayer system, where will have a script for the "server" and several "clients" can connect. For now I will use in a simple test application, where users will create…
-
1
votes1
answer79
viewsHow to set the input of a program in Windows?
A simple question. On *NIX systems, you can do the following: cat input_do_programa.file "texto exemplo" input_do_programa.file > meu_programa.exe There is an equivalent for Windows?…
windowsasked 10 years, 4 months ago user2692 -
1
votes2
answers170
viewsHow to run all files inside a Folder
I have a folder with several audio files, and I want the cmd code to run, one at a time. Does anyone have any idea if this is possible and if so, how?
-
1
votes1
answer2969
viewsAccess application on a virtual machine with Tomcat server
I’m not sure if I can ask here but come on, I have a demand because I want to test in this virtual machine the system in different browsers. Problem I can’t access, someone already made this type of…
-
1
votes1
answer1714
viewsError 5: Access denied in an attempt to install a service created on Windows Server 2012
I created an application of services and after the installation of it, I can not start it appears the following message: I’ve checked application permissions; I tried to delete "logs"; I’ve…
-
1
votes1
answer178
viewsAnchor problem in Safari on Windows
Hello, I have two pages, one of them contains an anchor for a section of the other page: <dsp:a page="${publicUrl}${URLs.club}#ancora" class="veja-mais block"> In this other I have one , which…
-
1
votes1
answer118
viewsError ORA-12571 encountedred in Windows Service
I have a C# system running as a windows service, with Windows Server 2012R2. Eventually when the service tries to communicate with the database (to perform a query or make an Insert, for example)…
-
1
votes0
answers267
viewsAutomatically log into the application using Windows Authentication
I need to automatically log in my ASP.NET application using Windows credentials (Active Directory), exactly the same as the Sharepoint ago. In Visual Studio already has a template (Framework 4.5)…
-
1
votes1
answer4201
viewsHow to identify in windows event log when a folder is deleted?
I have an application that uses a folder c:\temp in windows and need to identify somehow if this folder was deleted to recreate the directory. To recreate, I have in mind to use the windows task…
-
1
votes3
answers245
viewsProgrammer of Windows Tasks
I have a question regarding the Windows task programmer I got everything going normal. Opens the Browser and executes the php code. But then there is the possibility that in the end close that same…
-
1
votes1
answer577
viewsPHP process stops working after multiple/simultaneous requests in Ngnix
The problem I created a process using PHP to work with Nginx like this: @echo off echo Starting PHP FastCGI... set PATH=C:\nginx\php;%PATH% C:\nginx\php\php-cgi.exe -b 127.0.0.1:9000 -c…
-
1
votes1
answer203
viewsWhat should be returned in the Wndproc function in C++?
Hello. See the code below: LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { if (message == WM_CREATE) { return(?); } else if (message == WM_COMMAND) { return(?); }…
-
1
votes2
answers108
viewsWhen starting an application, perform Windows task
I am looking for a way to perform a windows task whenever an application starts. I need to run a VBS or BAT whenever an app starts (it starts with a second app after the user has entered their login…
windowsasked 9 years, 11 months ago LeandroLuk 4,989 -
1
votes0
answers211
viewsC# service installer with custom actions
I’m doing a service in C#, and I want to create an installer. I followed some tutorials, and found the setup of Visual Studio kind of basic. Any suggestions on how to make a beautiful installer with…
-
1
votes2
answers5590
viewsWindows Service - Error 1053 on Start
Hello, I have a windows C# service that I have to install on several clients. My problem is that in some clients I can install and it works normally, but in some clients I can install the service…
-
1
votes1
answer177
viewsWindows libxml error
When we do a #include in the c++ language using the <> special characters where the include folder/file is? I am compiling a program that I downloaded and this program has the following lines…