I have a custom WTL control which is a panel with a list and a custom scroll bar.
class Panel
: public ATL::CWindowImpl<Panel>, public WTL::CDoubleBufferImpl<Panel> {
public:
DECLARE_WND_CLASS("Panel")
BEGIN_MSG_MAP_EX(Panel)
MSG_WM_CREATE(OnCreate)
MSG_WM_DESTROY(OnDestroy)
MSG_WM_SIZE(OnSize)
CHAIN_MSG_MAP...
Hi I recently applied Windows Updates to my server and all of a sudden most of my applications which have credentials such as DefaultNetworkCredentials or hard-coded username/passwords have stopped working. I am unable to get these functioning... is this a known issue? Any work arounds? Thank you.
...
Is this possible? I installed Dreamweaver to take advantage of some third party plugin to make special xml files but upon installing it, it took over all my ASP.NET file types (even though I clicked 'select none' on the pop-up at first start). Anyways does anyone know if there is a quick automated way to restore them to Visual Web Develo...
I have a few questions in regards to using the Background Intelligent Transfer Service (BITS) as a scheme to add auto-updating capabilities to a windows application.
1 - If a user disables the Windows Update process, does Windows disables BITS?
2 - How does BITS interact with firewalls (hardware and software)?
For example, I install ...
I am working on .net applicaton that need to send emails to clients. I am trying to figure out what would be that best solution to send emails. Here is what i have considered. Could you please suggest what would be the best way to go for?
1>Windows server 2008 in built smtp
service.
2>Exchange server hosted in our
datacenter.
3>Use g...
I'm using direct3d 9 and using D3DXCreateFont to create a font object that I can use to write text to the screen. However I want to use a font I have in TTF file instead of an installed font. Is there any way to create a font object from a TTF file without first installing the font into windows which I don't want to do?
...
We've run into an interesting situation that needs solving, and my searches have turned up nill. I therefore appeal to the SO community for help.
The issue is this: we have a need to programmatically access a shared file that is not in our domain, and is not within a trusted external domain via remote file sharing / UNC. Naturally, we n...
Hi folks
I need to work with some temporary files in my Windows Forms .NET 3.5 application. Those files are opened in an external application that can of course be running for a longer time than my own program.
Are there any best practices to make sure these temporary files are cleaned up at any time in order to avoid filling the user'...
Looking for a good site or book that explains windows threads, preferably for a beginner. Maybe has a example program to run, etc....
...
I am looking for an affordable and reliable VPS solution serving Windows Server 2008.
Use case is to run a Continuous Integration build Server for an asp.net mvc site project.
Any suggestions?
...
Hello Everyone,
I have a wpf window that has a height of 2000 with an actual desktop height of about 1000. Obviously about half of the window is off screen. Even though the window extends below the screen, the mouse will not move down to that area. I do want this content to be off-screen, and I want the mouse to be able to move over ...
Is it possible to do this so that the image is transferred over network connection to some other computer? Or is it even possible to resize the partition on the fly to get rid of unnecessary amount of free space?
...
I don't have a lot of experience will Perl, but I believe what I am doing should be working.
First, from the Windows command prompt I generate a text file of all the files in a directory:
dir c:\logfiles /B > config.txt
Output:
0001_832ec657.log
0002_a7c8eafc.log
I need to feed the "config.txt" file to another executable, but befo...
Hello Everyone,
If I have a handle to a window, how do I take a screenshot of any new child windows when they show up? Right now I have code that takes a screenshot every .1 seconds of a windows form. When I click on a drop down list box the subsequent screenshots do not include it. Using spy++ I can see that a new child window was c...
Hi All,
I'm in the process of migrating a MySQL database from Debian to windows vista (localhost using Apache - installed and running via EasyPHP).
The database is essentially a carbon copy, every entry is the same, however when I try to access the database, I get some strange errors (for example, in some cases the first few entries in...
I'm using either WebClient or HttpRequest/REsponse to make http calls for images.
I'm not sure how caching specifically works for browsers, but is there a way to enable either WebClient or WebHttpRequest to use the systems "temporary internet files" cache that the browser utilize?
Or, do I have to write my own disk cacher?
...
Hi,
I have a program that uses MAPI to send the mail using outlook express client. when I tried with outlook express it works fine. But when I tried with Windows mail my program is not able to login. It gives the error as "logon return code: 3 Err Msg: MAPI login fail".
So I think there must be additional security settings are implemen...
ASP.Net MVC is finally available as version 1. I have been waiting for an official release before I try to start using it. At the moment I have a dedicated web server which I have complete access to via remote desktop. It is running Win 2003 Server with IIS6 (I think it is IIS6, they don't print the version in the Help -> About but a bit...
I'm interested in the behavior of send function when using a blocking socket.
The manual specifies nothing about this case explicitly.
From my tests (and documentation) it results that when using send on a blocking socket I have 2 cases:
all the data is sent
an error is returned and nothing is sent
In lines of code (in C for exampl...
Using apache on a windows server with mod_fastcgi, the C code looks like that:
void main() {
init();
while (FCGI_Accept() >= 0)
work();
cleanup();
}
When the service is taken down (i.e.: net stop apache2), the process terminates without getting to the cleanup code.
What am I missing here?
...