I need to resize a window larger than screen resolution or size of desktop, programmatically & preferably also manually.
Since MS-Windows XP/Vista disallows a window size larger than screen, does anybody have any ideas to work around this limitation?
I trying to make pan effect on a laptop to give me more space to work. An older laptop...
Hi,
I need to clear the read-only flag of a file in my Perl program that runs on Windows.
I know system("attrib -r $filename") would work, but I was wondering if there is no built-in option in Perl to do it. chmod 777, $filename doesn't seem to work.
Thanks,
splintor
...
Hi,
I am very new to windows programming so bare with me.
I have a custom explorer bar (a band object) that hosts a webbrowser control. I can initialize the WebBrowser control properly and have it display web pages.
However, I've noticed that when I resize the explorer bar, the webbrowser control doesn't resize appropriately to the si...
The question is: How to make default button be focused on form focus and response on "Enter" hit, but not focused when the caret is in textbox with multiline property set to true for example?..I know that i can do some exceptions in code, but maybe there is some "best practices" i dont know for now :(
thank you
...
Does any one know a good way to do remote procedure calls in windows (non .net) environmental?
I cant find much information on how to do it and the msdn only has the .net version.
.
Edit:
Thanks for the answers so far. What i need it for is to communicate with a service on the same computer which will send progress reports back to th...
I'm creating an ASP.NET application that will log some stuff to Windows EventLog. To do this an event source has to be created first. This requires administrative priviledges so I cannot do it in the ASP.NET app.
Is there an existing command-line application that is bundled with Windows that can create an event log source, or must I rol...
Hi,
Here is my situation:
I have an application that use a configuration file. The configuration file applies to all users of the system and all users can make change to the configuration.
I decided to put the configuration file in "All Users\Application Data" folder.
The problem is that the file is writable only by the user who cr...
Context : programming a c/c++ win32-mfc library
How to know whether we are in a console or a windowed app?
...
I have an application which gets called by a scheduled task. It moved from Windows Server 2003 to Windows Server 2008. On 2003, the app ran in the directory where the executable was located. On 2008 Environment.CurrentDirectory (C#) reports that it's running in C:\Windows\System32. How do I set the running directory? I'm using schtasks....
is it possible to hook into Windows loading or saving files to modify file on the fly (for example to encode/decode it on the fly)? hook into it no matter how file is open (copied, opened with notepad, with word, etc.)
how?
would code need Administrative rights to launch?
...
Why in Windows, can't you name a folder 'con'?
Whenever I try to name a folder as "con" (without the quotes) it defaults to its original name.
Why does it do this?
...
What is best algorithm for calculating total CPU usage at a particular time during execution of a process.
I am working windows platform in C++.
...
I'm a hobbyist (and fairly new) programmer who has written several useful (to me) scripts in python to handle various system automation tasks that involve copying, renaming, and downloading files amongst other sundry activities.
I'd like to create a web page served from one of my systems that would merely present a few buttons which wou...
I have a fast dedicated internet connection and a static IP address at my office. I also have a web site that I want to host on my server machine (win server 2003). I know how to setup a web site through IIS but have no clue how to point my domain to my site and configure my server to serve for that domain. Can anyone point me to a prefe...
as in winamp or vlc player, how to do a file drag and drop? i mean i want to know what sort of coding goes into application? i want to know for c++
...
I want to develop YUI autocomplete like autocomplete in my program in c#.net (VS2005). It a windows application. Is it possible to show search result in gridview or table when characters are entered in textbox?
...
I do have main application JFrame window which can include different components. I open a self implemented OnScreenKeyboard when the user select a editable textfield. The OSK is also a JFrame window.
When the user drag the main window to another monitor, the OSK should also be shown on the same monitor. For this i have to detect the mon...
Hi,
I'm programming with Visual C++ Express on the command line using makefiles (GNU Make).
For this to work, I have to call the Visual Studio batch file vsvars32.bat to set up the environment. This has to be done everytime I open a new cmd.exe, before using make.
When I try to call the batch file from my makefile, it obviously executes...
I'm trying to compile a project from the command line, like this:
devenv.exe myproj.sln /build release
It looks like the code compiles well, but that's not all I need:
I want to be able to capture the output (e.g. warnings, errors) from the compiler as they occur. Unfortunately as soon as I issue the above command I am returned to th...
I'm looking for free lightweight editors that can be run directly from a flash drive, without any install.
I would like editors that support as many languages as possible, I have notepad++ but I don't particularly care for it.
Edit: Forgot to mention I'm looking for editors for windows.
...