windows

What/Where is the "Symbol Browser" in Visual Studio 2008?

OK, so this is the background... I'm going to manually fix the multiple resource header files in our project. That involves fixing this value, among other things: #define _APS_NEXT_SYMED_VALUE ... that is automatically written to in (normally) resource.h. It's documented as having this purpose: _APS_NEXT_SYMED_VALUE is the next symb...

What's the best CVS client for Windows?

We're currently using WinCVS but it's slow and has no merge dialog. I'm looking for something like Eclipse's Team Synchronize (so people can see what they'll get before they update). What do you suggest? TortoiseCVS with WinMerge? Note: OSS preferred :) ...

Hook processes

Does anyone know tools like SpyStudio to hook processes? The features I would like to have are: log function calls on other processes GUI scriptable opensource I already looked at some tools like: SpyStudio Detours DynInst but none really fully satisfies me. ...

What do I have to do to make my WH_SHELL or WH_CBT hook procedure receive events from other processes?

I'm trying to use SetWindowsHookEx to set up a WH_SHELL hook to get notified of system-wide HSHELL_WINDOWCREATED and HSHELL_WINDOWDESTROYED events. I pass 0 for the final dwThreadId argument which, according to the docs, should "associate the hook procedure with all existing threads running in the same desktop as the calling thread". I a...

How to uninstall a windows service and delete its files without rebooting

My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the existing .exe with the new version, I currently need to: (1) stop the service (2) uninstall the service (3) reboot the system (so Windows releases it's hold on the file) (4) deploy the new .exe (5) reinstall the ser...

Getting name of file copied to clipboard from email attachment in VB.NET

If a user copies a file to the clipboard in Windows from an Outlook email attachment, is there any way I can get the name of that file in VB.NET? If the file is copied from Windows Explorer, Clipboard.GetFileDropList has data that I can use to get this, but that list is empty when the file is copied from an email attachment (there are ...

File permission in linux vs. in windows

Hi all, In linux, if I have a file I'm sharing with a group, and I put the file on a USB memory stick, for example, and copy it to a computer that doesn't have the same group or users, does the file have no permissions for anyone on that new computer? What if I bring a linux file that only lets user X to read it to a windows machine? ...

adodb driver workaround on windows 64 bit

I have to support an application that uses an access database. My development machine is running Windows XP 64 bit, which is fine, except Windowx XP 64 doesn't have an adodb driver installed, so anytime I write scripts to update the access database I have to move the database and the scripts to a 32 bit machine, RDP in, and then run the ...

How to make mockup screenshots without VB

I am looking for a program to make mockup screenshots with. I first found out I could do it with Visual Basic (uglier names I have yet to hear a programming language being called) from joelonsoftware.com. I don't want to start learning VB now, especially since I am still in the process of learning Java. I then found mockupscreens.com, wi...

generic makefile?

Is there a generic makefile i can use to build a simple c++ project? on windows? i modified a working wii makefile to win32 but could not build properly (difference in make? the make app and the makefile seem to be found). I did a little hack and made a copy of mingw32-make as make. -edit- export PATH seem to be the reason i got my old ...

Re-assign/override hotkey (Win + L) to lock windows

Is it possible to re-assign the Win + L hotkey to another executable/shortcut? Use-case - I would like to switch off the monitor of my laptop as soon as it is locked. I know of a executable which can lock and turn off the monitor but I do not want to change the way the system is locked (by running the program explicitly or by some other...

Adding to %TIME% variable in windows cmd script

I realize that this could probably be done easier in any number of other scripting languages but started to do it quick in cmd and now Im curious. Looking to start a process at an offset to the time that another process started. Lets say 5 minutes to keep it simple. Is there a way to add to the %TIME% variable? For instance: start /...

How to implement "close all tabs" for tabcontrol

How would I implement "close all other tabs" function for a tab control using Context menu strip? ...

Delete a file in use in runtime

how to delete a file which is in use/open by some process in runtime. i am using vb.net for my project and a image is shown in picturebox. and that should be deleted, with out closing that file. thanks in advance, vijay ...

How do I implement simple copy/paste functionality in an mfc CListCtrl?

Is this really the easiest way to do this? http://simplesamples.info/MFC/Clipboard.php ...

What is the best (free) Font Explorer for Windows?

I am looking for an alternative to my old "Font Navigator" that I... borrowed... from the CorelDraw Suite :-) Googling for it, took me to hundreds of pages with old software, so I hope to find a quick idea from here (waiting for FontExplorer X from Linotype). Which Font Explorer for Windows do you currently use? My "requisites" are: ...

Number of printed copies in Windows Server printer logs

I have a Windows 2008 Print Server with turned on logging spooler events. When somebody prints a document, I can see log entry with user name, document name, number of pages, but there is no information about number of copies. When an user prints many copies or only one - the same log entry is created. Is it possible, using build in Win...

How do I change the ACLs on a registry key? (C++)

I need to delete a regsitry key. It has a deny ACL on Set Value (I need this permission to delete it). How do I change the ACLs in C++? ...

How do you start a program stored on a UNC share from the command line with parameters?

There's an in-house program we use and it's stored on a UNC share so that updates are transparent. I'd like to supply it some command line parameters like so: \\server\share\in_house_thingy.exe myusername mypassword But I can't seem to get it to work in either CMD or PowerShell or via a shortcut. Anyone got any ideas? ...

How do I display an icon in the System Tray?

I want to make my .Net application display a notification in the system tray. So I want to show an icon for that, can anyone tell how to do that? ...