Hello,
I have a group-box in my MFC dialog box. Its variable is class CStatic.
I need to set the groupbox' background color to white.
How can I do that?
Thanks!
What is the difference between a dll and a Exe ?
Is the ordinary Exe same as static linked library ?
I read that 'Dll is loaded in the memory only when required', same way we could also have a...
I want to integrate makecert sighing into automation build procedure. However, makecert.exe asks you by pop-up dialog only so it stops whole build process. So when I run the automation script,...
Hi,
I have a little challenge:
I want to clear the history of the inet explorer- It doesn't seem to be a part of special folders, nor can I simply delete the folder.
Where can I fin...
I'm trying to determine the open file handles to a certain file, so all those file handles can be closed and the file deleted. All this of course with the Win32 API, or some MFC wrapper if it...
I have the following command from a UNIX system that will launch a batch file on a Windows system.
The batch file simply calls up an IE session with the URL that is the input parameter to the...
Hi All,
I have a directory called "A" and a sub directory called "A.sub". I want to create a shortcut to a .exe file in A.sub and place it inside A (at same level as A.sub). What is the best ...
Hi,
i am searching sample code to hide my application of the view of taskmanager app (and other process viewers) under Windows NT/2000/XP.
A sample code in MSVC++ and points go to you.
Than...
I know how to add an array eq. array.add('SMITH'), But I am not sure how to add an array with two columns and have a multiple row, as I know its like this: eq. array.add(new twocol(getvalue(0...
I've written an application that is a Windows Service. If I start it from "Control Panel"->"Services", where will be its working directory? Can I change some configuration settings so that I c...
I want to extract a text file from an msi and then update the the file and put it back into the msi. Is this possible to do with windows installer sdk or windows script
Thanks
Navneet
Hi there,
I'm used to the Unix programming environment, where I can tell the application to look for its libraries using the cached library environment specified by ldconfig and /etc/ld.so.co...
Hi,
Im trying to create a small util that will allow me to paste a custom text into any program I wish. I have succeeded in that part using a hotkey and finding the active window to send th...
i have a socket listening and i connect to it and the listening socket accepts the connection then send() some data then does shutdown on it why does the connecting socket sometime when recv (...
I have a long running web service that returns a boolean when done. I am invoking from a VB.NET app. I get the following after a while:
The CLR has been unable to transition from COM cont...
Hi everbody,
I have a handle of an icon(HICON) which i got using SHGetFileInfo. I want to save this handle as an Icon file(.ico). I am using following procedure:
int SaveMyIcon(...
I have code like following
BOOL CMainFrame::PreTranslateMessage(MSG* pMsg){
LPARAM m_winHandle= pMsg->lParam;
...
...
So I have window handle now. From here How can I get process...
Hi,
According to windows API documentation, a window with style WS_EX_TOOLWINDOW does not show up in taskbar. I created a window with WS_EX_TOOLWINDOW, sure enough, it doesn't show up in ta...
Hey everyone I'm new to network and winsock programming so bare with me.
Can anyone show me step by step with source code examples on how to get the WAN IP address of my router using C\C++...
Hi,
I am writing code to run an exe using an account other than the currently logged in account. For that I have got token of another user by using LogonUser() and then I try to run my exe us...
I need to write a WSH script to 1) check if a particular DLL has been registered, and more importantly, report the version information of it.
Thanks for your help.
From a batch file, I can use "if exist c:\dirname\nul" to determine if a directory exists. But it doesn't work when dirname has a space in it. Is there some special syntax required to check ...
Is there any API function to turn off the monitor ?
Thank for any suggestions.
I'm using the code of Diskid32 to retrieve a computers real HDD serial number.
http://www.winsim.com/diskid32/diskid32.html
It works fine with Windows XP and Vista when UAC is inactive.
B...
I am running XP home service pack 2.
Some time ago I did the following (see below), but didn't use the resulting system at the time (as I recall).
I installed the Mjolner BETA programm...