windows

Recommended OpenGL debuggers for Windows?

If you have ever used an OpenGL debugger on Windows, which one(s) would you recommend and why? ...

IIS6 is not finding .asp files

Hoping someone can provide an answer with this, although it's not 100% programming related. All of a sudden my IIS6 install on Server 2003 will give me a "404 Not Found" error when I try to load any file ending in .asp. I can see the file there if I turn on directory browsing, but clicking on it immediately gives me a 404. Regular H...

Windows Command to detect and remove text in a file

I have an ascii file and in there somewhere is the line: BEGIN and later on the line: END I'd like to be able to remove those two lines and everything in between from a command line call in windows. This needs to be completely automated. EDIT: See http://stackoverflow.com/questions/425864/sed-in-vista-how-to-delete-all-symbols-between...

How to get date/time when file was placed in a directory on Windows?

Is there a way to tell when a file was moved to a certain directory? I'm being asked why a script of mine did not find a file in a certain directory. The file was created last January but I suspect it was placed in the directory after the script was run. Is there a way for me to confirm my suspicion? Viewing the file properties gives...

Programmatic Signing of Native Windows Mobile Apps

Is there any certificate authority that allows for programmatic signing of windows mobile applications? At the moment my team uses Geotrust. Our build procedure looks like this: Build app "pre-sign" app with multi-step tool ( fill out form and upload "pre-signed" app on geotrust web site download signed app repeat There must be a b...

VIM Ctrl-V Conflict with Windows Paste

I am using VIM in Windows. The problem is that I want to use Ctrl-V as a visual mode. However, this key has conflict with Windows paste. How can I reset this key back to VIM visual mode instead of pasting. I prefer to set this in my _vimrc configuration file. Thanks for any help! ...

How To Set Client Time Zone Equal to Server Time Zone Window App .Net C#

My Client Application Receives data through WebService from a Remote Server. The Application is basically written in 1.1 Framework Windows Form. All I want to do is to set my Client App TimeZone equal to Server TimeZone so that any Date Time related discrepancies can be avoided. For this I would like to know How to retrieve Server Time...

Waiting for messages in Managed Code

This is closely related to an earlier question. In the managed world: How do I check if the current thread has messages in its message queue? How do I yield to the OS and wait for a message in the current thread (like GetMessage or WaitMessage)? I am looking for the managed equivalents without PInvoke. ...

Console window display by argument

I have a C# project building "winexe" that startup without console window. However, I want to dispaly the console window and write stdout/stderr by giving a cmd line parameter. If it close, the application shutdown. For example: eclipse.exe -debug How can it be done? PS. I am using Visual Studio 2005 ...

Can Window application continue to run despite computer going to standby mode?

I am developing a Windows application using C#.net. This will accept the login details, validate the login and then keep running unattended till the time the computer is on. This computer won't do anything else and go to standby mode after a few minutes as per the security policy. Is there a way to configure my application to avoid goi...

Is it possible to hyperlink mail text to an Exe residing at a remote system in through C# windows application (mail sent through SMTP server)?

Sending a mail through my windows application to a person "asking him to log on to another windows application that is installed in a remote server to work on it". In the mail content, i would like to have a hyperlink that will directly take him to that windows application! ...

Report Direct3D memory usage

I have a Direct3D 9 application and I would like to monitor the memory usage. Is there a tool to know how much system and video memory is used by Direct3D? Ideally, it would also report how much is allocated for textures, vertex buffers, index buffers... ...

Determine if a specific Windows application is running using SQL Server 2005

I need to determine if a specific application is running from a SQL Server 2005 job. The issue is that one of our applications we use to send data will hang, causing problems with any subsequent jobs that invokes it. If I can also obtain the CPU time, I can determine if it's likely a hung process. A list of running applications would ...

Document icon changes after first launch on Windows

I have an application that gets installed with a Wise installer (EDIT: Wise creates a Setup.exe file, not an MSI). Upon installation, an icon is set for a certain file type: HKEY_CLASSES_ROOT\.auz\DefaultIcon = C:\Path\To\App\some_icon.ico,0 Right after the installation, however, Explorer chooses to display this icon using the generic...

Tortoise CVS: Can project list be made persistant (for checkout) ?

Since I upgraded Tortoise (1.10.4), the list of projects during checkout are no longer persistent -- I have to use "Fetch List" every time (unless I already know the module name). Does anybody know of a method to make them "stick" ? ...

What should programmers know when moving from XP/Vista to Windows 7?

I have not used Windows Vista. I knew that many APIs have been changed/deprecated in Vista, so programs need to be fixed or configured to execute in XP Compatible mode. So, what should windows programmer know when they move from XP/Vista to Windows 7? ...

System.IO.Directory.GetFiles returns different result than Windows XP Search Companion

Hi, I am using this statement to find all files recursively: fileNames = System.IO.Directory.GetFiles(path, "*.*", System.IO.SearchOption.AllDirectories); The total number of files that are found is sgnificantly lower than wehen using Windows XP Search Companion. This is not caused by hidden files, I checked that. It looks like s...

File Watcher - get the process name that created a file in Windows?

Is there a good way to get the process name that created a file in Windows? I have a directory on a Windows 2000 Server C:\WINNT\Temp that is filling up with files named like: 70618199 21834082 They are always 121,201 KB in size. Programatically can I "capture" the program name or service name that is dropping files in this locati...

Lightweight process execution timer for Windows

Is there a lightweight process execution timer like Unix's time included with Windows? Sometimes I just want a rough estimate, without having to get out a real profiler. While I could roll my own, I would prefer to use an existing solution. ...

Scheduled Task: Directory cleanup using windows batch script

I have a shared disk that I would like to clean up once per week using a scheduled task of some sort. I would like to use a batch script so that the system admins can easily modify it or reuse it on other directories when needed. The directory has files with multiple file extensions but the ones that need to be deleted end in .bkf and m...