As a guy who frequently switches between QA, build and operations, I keep running into the issue of what to do about operating system updates on the build server. The dichotomy is the same on Windows, Linux, MacOS or any other o/s that can update itself via the internet:
The QA team wants to keep the build server exactly as it is from...
i have been working on a program that will enter usernames and passwords if someone plugs in a Usb, but i don't know how to enter a windows log in password. So the idea is to have my program running so it can find if the usb is plugged in if so it will use keybd_event to enter the password and to hit enter. how would i get my program to ...
Hi All
I have a little app here, and I would love to be able to do my own stuff in Vista/Win7 when I shake the form.
Currently, when a form is shaken, it will restore/minimize everything else. But I want to change that behavior in my app only. So when my form is shaken, I could, for example, shuffle the playlist, or Clear the contents ...
In Windows I have console programs that run in the background with console hidden. Is there anyway to direct input to the programs console? I want to be able to do something like:
echo Y| *the_running_process_here*
to send Y to the process' stdin.
...
Visual Studio ate my toolbar, I opened a solution for a project I've been working on for a few months, and the toolbar has 135 buttons on it, and while it was loading, the whole toolbar flickered like it was trying to give me a seizure or something, and then it dissappeared. Now when I click Debug, it won't let me do it because all the r...
Hi,
I have a folder named as 2010.
In this I want a folder for each month like "Jan10", "Feb10"....."Dec10"
In each month folder I want to create folder for "Todays date"
I have create a shortcut for that 2010 folder with Target as
C:\WINDOWS\explorer.exe /n, /e, /select, F:\2010
I want a functionality that will execute when I click...
I'd like to create a small script to that basically does this: run program1.exe --> kill program1.exe after n seconds --> run program1.exe again.
I know some basic Python and would read up on this, but I'm in a bit of a hurry and just need this to get done asap.
If someone has a script/idea or could help my out with just the syntax I ...
Hi everyone,
I'm writing a C# forms application to open an existing Excel workbook using the Excel Interop. Everything works fine. I can read and write fine. I do not save the workbook until the user close the C# application. The problem happens when my program is running and the user accidentally opens the same workbook with Excel. I g...
I have a list of installed software, obtained from WMI class select * from Win32_Product.
I'd like to deny execution rights for some users on certain software like so:
find the path to installed software
recursively remove execution rights
I find the path to installed software from Win32_Product InstallLocation column. But the PROBLE...
I am running my java application. It shows up in the process tab of the task manager. I dont want users to kill that process?
And if possible i dont want my process to be in the process list also.
My application is a LAN administrator. I need to log client machines. If its possible for the user to kill my process there is no use in cre...
I would like to hook into an Office application just before the print properties dialog is opened (the dialog where you choose the paper, printer, etc.).
Which Windows API opens this dialog?
...
Is there a way to hook for a particular windows message without subclassing the window.
There is WH_GETMESSAGE but that seems create performance issues.
Any other solutions apart from these which doesn't deteriorate performance?
...
Hi,
In my WPF application I'm hosting a custom Windows Form User Control together with other wpf controls. My custom user control is hosted in wpf using a WindowsFormsHost control. This custom user control contains (the parent so to speak) other custom win form controls (children controls). The children controls can be single or composi...
In Win32 layer, we often meet ERROR_PATH_NOT_FOUND, ERROR_NAME_NOT_FOUND.
When does WinAPI(eg CreateFileW, RemoveDirectoryW) return these values?
And What's the difference?
If I write a file system driver, when do I set STATUS_OBJECT_PATH_NOT_FOUND or STATUS_OBJECT_NAME_NOT_FOUND?
How do you determine?
I'm so confused.
Is there anyon...
I use Redmine on Mongrel as a project manager and I use a batch file (start-redmine.bat) to start the redmine in mongrel.
There are 2 issues with my setup:
1. I have a running IIS on the server that occupies the HTTP port (80)
2. The start-redmine.bat must be periodically checked to see if it's stopped after a restart that is caused by w...
Hi,
We've been working on a bit of puzzle at work. We have an application service installed on two machines, both running Windows server 2003. These services do exactly the same thing.
However once loaded, one of the services uses 200mb less than the other service.
We're at a bit of a loss to what might be causing this discrepancy.
I...
What is the best free Windows Forms validator control.
I want to use it in a free (and maybe open-source) project.
I know these:
ValidationProvider Control not working in VS2010
DXValidationProvider works only for devexpress controls.
Supervalidator from DevComponents meets my needs but it isn't free. here is a picture of it:
...
I'm a one man show developing a C++ Windows application for a customer. Over the past several months we've been running to the same problems with missing DLL dependencies on customer machines. Despite my best efforts something keeps going wrong and we get angry emails back. My boss and my boss's boss are angry with me and the customer...
Hello
I just got approved to Wordpress' plugin-repository. Howvere, they gave me access, but I have no idea about how to use it. Could someone explain me patiently, how can I use this repository to post my plugin?
I'm using Windows.
Martti laine
...
How do I display a DataGridView within a cell of another datagridview in C# forms app?
How would I have to handle Sorting & value changed if this possible?
That is the only way I can display data to make some sense.. Think of it like I have a task column and dates column. Under the dates column I have a list of things to be done. These...