Is there any way to get key events in a Windows console? I need a way to get keydown and keyup events quickly without a GUI. I've tried using getch(), but it doesn't get keyups and waits until a key has been pressed to return.
...
I'm looking for the best, or any way really to start a process from php in the background so I can kill it later in the script.
Right now, I'm using: shell_exec($Command);
The problem with this is it waits for the program to close.
I want something that will have the same effect as nohup when I execute the shell command. This will allo...
Hi all,
I am developing a java based application; its pertinent requirements are listed below
Large datasets exist on several machines on network. my program needs to (remotely) execute a java program to process these data sets and fetch the results
A user on a windows desktop will need to process datasets (several gigs) on machine A....
I know this question has been asked twice.But both of them didn't help me.My code is working fine like onstart is for initialization the timers etc.
I have C# windows service which is running as some accnt not local.
Im currently using CCtray to deploy and start the service so it doesn't give me any error.
But sometimes manually I need t...
How do you use the Web platform installer to install the SEO Toolkit from http://www.microsoft.com/web/spotlight/seo/? If I choose application, I have to choose an application through a file dialog. If I choose OK, I get a 'The product you are trying to install is not supported on your operation system" message. What!? I am using Window...
I have a windows gui built in Microsoft Visual C++ and when the user performs a certain set of actions the keyboard tabbing to move from widget to widget stops working.
Simply put, there are two list boxes with an add and a remove buttons. Selecting a row in listbox #1 and pressing the add button removes the object from list box #1 and ...
I have a website that I would like to allow both Forms and Windows Auth for. My problem is that it seems that when you setup IIS to allow both anonymous (Required for forms auth) and Windows auth that the browser won't send the user's network credentials.
It just uses the anonymous login. Is there any way either in IE8 or IIS to have it...
Hi guys:
I've changed, with regedit, the storage location from C:\WINDOWS\system32\config\AppEvent.Evt to somewhere else.
After restarting computer, it seems it doesn't work out - Event Log still adopts original location to store the log fie.
Any step I neglected to achive this?
...
I am writing a C# application that, among other things, automatically closes the advertisement a certain game displays after the user exits the game. My program accomplishes this by killing the game process when it detects that the user has exited the game. My program is similar to an Autohotkey script written by someone else that does s...
I'm using the pywin32 extensions to access the win32 API under Python. I'm new at doing Windows programming in Python -- I'm a POSIX guy -- so I may be doing things in a bone-headed manner.
I'm trying to use the win32file.ReadFile function properly, and I'm having some trouble interpreting the possible result codes.
I'm calling the fun...
I'd like to be a really annoying co-worker and write a little program that randomly changes keys on the keyboard, so maybe once an hour the vowels rearrange themselves for a minute or two. I would run the program as a service I suppose..
I know I can do this permanantly via the registry what about during windows running.
Is it possibl...
Hi,
Does Windows have a common dialog to select video codecs? If there is one, how can I create one in c#? I'm asking because I'm currently developing with a plugin that seems to have included extremely dated codecs, and am not sure if the plugin is simply retrieving a list of codecs from the system. I don't have the source of the plugi...
I have a COM interface with a method that returns an object:
interface ICreatorInterface {
HRESULT CreateObject( IObjectToCreate** );
};
The key is that calling ICreatorInterface::CreateObject() is the only way to retrieve an object implementing IObjectToCreate interface.
In C++ I could do it this way:
HRESULT CCreatorInterface...
My team and I are developing a VC++ 6 project.
We are all using the same code-base (using version control system), and all our compiler/linker/environment-settings (including include directories order), as far as we can tell, are exactly the same.
Of course we are using the same VC++ version with the same service packs (VC6 SP6).
The pr...
Hi,
I have an application which when I close the Windows, it exits gracefully and quickly (checked also in Task Manager and Process Explorer - the process isn't there anymore) but the OS doesn't. It seems that OS just ignores the Shutdown.
But if I try to close once more the Windows, now everything is ok. The system shuts down in a ve...
In COM when I have a well-known interface that I can't change:
interface IWellKnownInterface {
HRESULT DoStuff( IUnknown* );
};
and my implementation of IWellKnownInterface::DoStuff() can only work when the passed object implements some specific interface how do I handle this situation?
HRESULT CWellKnownInterfaceImpl::DoStuff( ...
Is there any way of identifying software modules with the help of only knowing CLASID value in the windows registry?
...
I want a powershell script to be run once per minute in the background. No window may appear. How do I do it?
...
I need to write an application in C# which controls different media players. My MediaKeyboard can control for example Songbird and WMP so there must be some kind of Interface that both players implement, or am I wrong?
How would I write this kind of application?
...
I'm working with the Beta 2 version of Visual Studio 2010 to get some advanced learning using WF4. I've been working with the SqlTracking Sample in the WF_WCF_Samples SDK, and have gotten a pretty good understanding of how to emit and store tracking data in a SQL Database, but haven't seen anything on how to query the data when needed. ...