I have a form with 3 panels, the panels are created because at certain times I need certain groups of controls hidden/shown. Until now, it worked fine - that is until I was asked to have a specific way to navigate the form with TAB key.
First of all, I noticed that there is no TabIndex property in the Panel object and second of all (mos...
I'm trying to run a script from the Windows XP console. (In case it's relevant, it's a file of WinSCP commands.) When I type in the command to run the script, another console window pops up for about half a second, then it disappears.
The script isn't working. The error message may be in the console window that popped up. How can I get ...
I want to capture the errors from a script into a file instead of to the screen.
In *nix, this is done with stderr redirection, usually
echo "Error" 2> errorfile.log
How do I do it in CMD script under windows?
Thanks!
Miki
...
According to this http://www.cplusplus.com/reference/clibrary/csignal/signal.html
SIGINT is generally used/cause by the user. How do i cause a SIGINT in c++? i seen an example using kill(pid, SIGINT); but i rather cause it another way. Also i am using windows.
...
Does anybody know if Delphi (Win32) works with XP embedded
...
Some loading routines in my program takes to long to complete. I want a quick small snippet for checking how long a function took to execute. By small I mean "preferably without 3rd party libraries".
Maybe something as simple as taking the system time?
start = current_system_time()
load_something()
delta = current_system_time()-start
l...
Can anyone explain how to use the Windows Audio Compression Manager (using VC++)? thanks
And what areas do i need to study first before I start..
...
Is there a Windows command that will output the size in bytes of a specified file like this?
>filesize test.jpg
65212
I know that the dir command outputs this information, but it outputs other information also.
I could easily write such a program but I would prefer to use a native Windows command if possible, or only what is availabl...
I have a pretty beefy development machine and three monitors, so after some intense coding/problem-fixing I tend to have a boatload of programs up and running. Some of these programs are tabbed; things like Visual Studio, FireFox, Notepad++ and the like. If I'm no diligent in keeping unused tabs closed, it seems like after awhile Windows...
I use Cygwin regularly, but I have a need these days to extract tar.gz and tar.bz2 files on other people's Windows machines. They don't want Cygwin; they need a GUI. I've tried 7-zip, which some other people in our company were using, but 7-zip makes the braindead decision to require you to first uncompress a file to a new destination ...
I'm considering developing a WPF application, to be hosted by a legacy Windows app (C++), and I'm trying to get a better sense of how feasible it'll be to do so, given the broad user base I'm targeting. Knowing WPF targets .NET 3.5, I'm looking for some insight as to what the field looks like right now -- who's already got the runtime, ...
How do I initiate a Windows XP user Log Off from a C# app? The action of my app should produce the same result as clicking "Log Off" in XP start menu -- it's fine if the system asks for a confirmation.
Is there a .Net or an unmanaged API for this?
...
I've noticed that a OpenGL app I've been working on has significant performance difference when run on Linux vs WindowsXP.
Granted, there are a lot of textures and shadow buffers but I would estimate that the app runs about 10x slower on Windows XP.
Any ideas?
Any suggestions for porting the code to DirectX? Can that be done easily...
I have created a C# service using the VS2005 template. It works fine however the description of the service is blank in the Windows Services control applet.
...
In VB.NET, how do you get a list of all users in the current Windows machine?
...
Is there a Windows standard way to do things such as "start fan", "decrease speed" or the like, from C/C++?
I have a suspicion it might be ACPI, but I am a frail mortal and cannot read that kind of documentation.
Edit: e.g. Windows 7 lets you select in your power plan options such as "passive cooling" (only when things get hot?) vs. "a...
On MS Windows, when you double-click a file with an unknown file extension, the OS presents you with a message giving you a a choice of:
1 - Use the Web service to find the appropriate program
2 - Select the program from a list
Is there a way to "register" your file extension with MS (or whoever) to allow your application to show as a...
I'm working on some academic research projects involving scraping large data sets from the web using Python. It's been inconvenient to work on my academic institution's Linux server because (1) I don't have superuser access, meaning I'm dependent on the IT staff to install my packages, and (2) my disk quota is somewhat limited (I would i...
Hi all,
I have heard - and I'm not sure if it was from a credible source or from someone who actually has done it - that JNDI can be used to access a user's group name in windows. I am using Windows XP. I'm not sure how it works exactly but it sounds windows uses active directory to manage groups (can someone confirm?) and JNDI might ...
Hi all,
I've posted a similar question about how to do this in JNDI, but in THIS post I am wondering how to do it using ANY INTERFACE.
I'd like to be able to retrieve a user's group name. When I say "group" I mean the group on the computer. Like "administrator" or "user."
Can I do it through the command line, application, dll, or ...