Hello,
I have created a C# .net Windows Service that has a config file.
I am reading the settings of the config file from my code using
string setting1 = Properties.Settings.Default.setting1;
If I change the value of setting1 directly in the .config file of the Windows Service for some reason it maintains the value that I had set f...
If so, how would one get started? Basically, I'd like to port a Windows app to Mac without having to purchase a costly Apple computer.
...
I occasionally run into this error when trying run an executable I've built on windows, but I have no idea what causes it or how to fix it. With the normal MSVC debugger, it just pops up a dialog and exits with no chance to do anything or look at anything. I've managed to at least catch something and get a stack trace with the Microsof...
I have a C++ (VS2005) application that makes use of GetAdaptersAddresses() on Windows XP and I need to provide most of the same information from IP_ADAPTER_ADDRESSES with regards to IPv4 (I don't need IPv6) in Windows 2000 (WIN2KSP4).
(The IPv6 Technology Preview for Windows 2000 is not an option)
Please remember when looking at MSDN, ...
I use the win32 ShowHTMLDialog function to display in my application an HTML popup that contains some standard HTML buttons. But for some reasons, these buttons are not rendered the same way they are in IE: they are not rounded and there is no 3D effect.
Is there a way to change this programmatically and get something similar to the IE ...
I am interested in the Python one. I wish to automate some GUI under Windows. What is the best open source library for that with no strings attached? Thanks.
...
Hey im writing an echo client, and for some reason the connectsock function is returning an error, and returning an INVALID_SOCKET. I can't figure out why is this. Can someone tell me why
/*********************************
* echo1.cpp *
* *
* Echo client - version 1 *
**********...
Is there an easy way to figure this out? I guess I can use WM_MOVE to tell me when it begins by keeping a timer. If the window has not received a WM_MOVE message within the last 2 seconds, then I know that it has just begun to move. Then I set another timer and wait for their not to be a message within a period of time (2 seconds). If no...
...for current user? for all users?
I'm working an a small program which needs to create links in the start menu. Currently I'm hardcoding like below, but it only works in english locales, for example it should be "Startmenü" in german. What are cleaner, more portable approaches?
OUR_STARTMENU = os.environ['ALLUSERSPROFILE'] + '\Start...
I want to control the volume of my Windows system from a JScript or VBScript script. Any ideas?
Also, can I unmute the system volume if it is muted?
...
Hi, I'm programming in Windows right now, but portable code would be welcomed too.
What I'm using right now is fwrite(4), but this function needs a maximum number of elements to be written to the file. I can use strlen(1) here but I'd like to know if there is any better way to do this.
...
I'm writing an application which needs to draw a lot of text - several lines, maybe tens of lines - in Direct3D9. The text can be heavily formatted (i.e. different typefaces, styles, sizes) and can contain unicode symbols from different charsets. Worst of all, it can change on the fly, so it needs to be dynamic (render once display alway...
after i commit files, the icons stay on either modified or waiting for commit for a long time. is there any way to force a refresh to ensure that the icon that i am seeing is the correct state of the file.
...
We are about to deploy a php5 / symfony / mysql application on a windows stack (windows 2003 server)
Our IT department doesn't have much experience administering any other stuff but microsoft technology, so I'd like to know what configuration would you propose for a production environment...
apache and php on windows?
php on iis?
etc...
I have a working screensaver and would like to figure out how I can control the name Windows displays in the screensaver drop down list. Currently it all seems to be based on the filename but I know that can't be the case. Here's what I've tried and the results:
Filename: CC.Votd.scr ScreenSaver Name: Cc
Filename: CC Votd.scr ScreenSav...
Ok so Google is not my friend tonight...
I have a screen saver, CC.Votd (Full source on Codeplex), and I've just started to implement the preview mode (/p argument) which is working ok. When it's in preview mode I make my form a child to the little computer monitor window and it draws in there.
This works fine and my application exits ...
I am trying to call the standard Win32 API functions to get file version info, using the win32-api library.
The 3 version.dll functions are GetFileVersionInfoSize, GetFileVersionInfo, and VerQueryValue. Then I call RtlMoveMemory in kernel32.dll to get a copy of the VS_FIXEDFILEINFO struct (see Microsoft documentation: http://msdn.mic...
SetWindowPosition second parameter is hWndInsertAfter which means behind. How do I place a window in front of another (above)?
...
is there anyway to know the origin(web browser) of a certain url/packet when programming with winpcap and c++?
...
we have a small app that doing trivial stuff, no GUI.
we was using Linux, but the library/framework available for Linux is highly less than that for windows, it was such a pain to develop under Linux.
So we want to use windows, but windows is too big for the trivial app, is there any solution that i can use windows and not losing OS's...