I've been a Visual C++ user for quite some time now, and in the following weeks, I will be joining a (C++) Linux-only project. It should be noted that I have absolutely zero development experience on Linux.
Currently, Visual C++ 9 along with the Visual Assist X add-in make Windows-based development rather enjoyable. Having looked at var...
hi
I have a program which I would like to run every X min
the problem is that the program is accessing a shared network and using AT command I can't use it (due to the fact that AT is running the program with SYSTEM ACCOUNT)
any ideas how to slove this issue ?
thanks
...
How can I obtain the JVM exit code (value of 'status' from call: System.exit(status)) from a Windows program which started this JVM? I tried to use result from the ShellExecute() call, but the result (42) was independent of real value of status.
...
Hi all,
I'm currently in the process of writing a Windows MFC app to quickly search our corporate DMS. The idea is to have a button placed at the right hand edge of the windows taskbar much like the language bar, that when clicked, would popup the search interface.
I can't seem to find much regarding how placing items in the taskbar li...
Like when you drag a file on top of another one and change the order, like that.
...
How can one access a system environment variable in Flex/AIR (say %appdata%, %userdomain%)?
...
What is the simplest way to pick up the RGB color code of the given coordinates? For simplicity let's assume that the screen resolution is 1024x768 and color depth/quality 32 bits. The coordinates are given relative to the upper left corner of the screen. I'd like to get some tips or examples how it can be done with Python.
...
I have build a web application which the user can request a report which is generated on the server and sent back to the client. The process works fine and sends the file back to the client, however we are unable to open the file. Further investigation reveals that a process on the server still has a handle on the file by the IIS Applica...
I have a Autorun.inf which can work in XP and Vista, but I found Windows7 can't recognize and work with it, does Windows7 drop the autorun feature?
...
Hi All,
First, I'm working on Win32 with C++.
I have been trying to implement a transparent window with a child window which should remain 100% opaque. It seems that child controls cannot have opacity better (ah.. lower) than the parent and if I make my parent 100% transparent then my child control also inherits the transparency.
C...
Just installed GhostScript 8.54 for Windows. Does anyone know of the minimum parameters to pass to gswin32c.exe to make it convert, say, someFile.eps to someFile.eps.pdf?
...
I have a simple windows service application I am trying to debug in VS 2008 IDE but each time I run the code, I get the error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." . This error occurs at the service.Stop() line below:
static class Program
{
/// <summary>
/// The ...
I am looking for the Windows Look and Feel Design Guidelines (but not the one for Windows Vista!) that details the ideal gap between elements, etc. I found the document originally a few years back on MSDN but now I can't find it.
I've started a new job the same thing is occuring here as before: A program written and added to over the y...
Does anyone know of a good commercial or open source solution for pulling and rotating application logs from a bunch of disparate servers to a central server where you can catalog them by year/month/date/hour etc... this needs to be something that will work on windows.
...
I use a third-party application that requests a config file from their Internet site. That file is out of date, but I can create my own file with the updated information.
How can I redirect any requests coming from my computer for a specific URL to a different file? For example, if any application requests 'http://www.theirsite.com/pat...
Currently I am doing automated integration testing using FitNesse (Java) and have successfully plugged-in Watij to access a web-based application. I would like to extend this to also drive Windows GUI (non-Java) applications. To this end, are there any Java libraries available which I can use in a similar way?
...
Basically, I have this code:
DirectoryInfo dir = new DirectoryInfo(@"\\MYNETWORK11\ABCDEFG\ABCDEFGHIJKL\00806\");
FileInfo[] files = dir.GetFiles("200810*");
I expect it to match any files starting with 200810. However, it's matching files named
*20070618_00806.bak and 20070817_00806.bak* (the stars aren't in the filename, that was ...
I would like to use the High Performance Event Timer (HPET) for an profiling tool to take very high precision measurements, quickly. timeGetTime does not provide sufficient resolution at 1ms, and QueryPerformanceCounter is much slower per read than I'd like. I came across the HPET while researching the problem, but I can't see any sample...
* Download JRuby 1.20. (zip file)
* Extract the zip into C:\JRuby120
* Edit sytem "environment variables":
* Add JRUBY_HOME -> point it to C:\JRuby120
* Modify the PATH environment variable to point to C:\JRuby120\bin;
After all this, I open up cmd.exe and type jruby
->"The system cannot find the path specified"
What did I do wrong?
...
How can I use C++ to control CPU fan speed in Windows Vista Ultimate?
I would like to use ACPI.
...