I want to show some bold and some simple word within the same sentence.If I use the textbox
then every word will be simple, not some bold and some simple so I want a control's text
property in that I can write some bold and some simple word within the same statement
...
I want to try something new, rather than make web servers do and respond, i thought what if i can create an application that runs on directly on my operating system, and it struck me that it could be quite fun and useful.
I am familiar with only scripting languages like php, ruby, javascript.
I have learned VBA and C, but haven't used...
Hi
How i can get process path from it's PID in C++ (Windows).
I search this in Google, MSDN, and stackoverflow.com, but I don't find this.
...
I want to make a simple assistant for putting together AviSynth scripts. This would be a windows desktop application that would have a "preview" screen of an avi movie, which would give you a timeline, play, fast-forward, rewind, advance and go back frame-by-frame. The program would need to know the frame number of the current frame in t...
Visual C++ doens't work on my Vista. both 2010 and 2008 fails to create new projects. what alternative do i have ? I am sick of googling and trying out all the other hacks to fix it.
...
I have a simple script blah.py:
import sys
print sys.argv[1]
If I execute my script by:
python c:/..../blah.py argument
It prints argument but if I execute script by:
blah.py argument
error occurs:
IndexError...
So arguments do not pass to script.
python.exe in PATH. Folder with blah.py also in PATH.
python.exe is default progra...
On Windows (Vista32), I want to display some simple graphics on top of a fullscreen flash window (an overlay of useful information while using the flash application). What's the fastest way to accomplish it?
I think I may be able to achieve it using DirectX with the DDSCAPS_OVERLAY flag but with the only example I've found I get an exce...
I was trying to "just quickly integrate" the Windows Media Player via COM to play single files from the local file system or http sources - but due to the sparse documentation and online resources to its usage when not embedding into some kind of an Ole container, i couldn't get that supposedly trivial use-case to work.
Initialization e...
I am writing an MFC application that doesn't use .NET (CLR support is set to No Common Language Runtime support in the project settings). However, I get an SEHException thrown when I quit the application in Release build. Debug build gives me an assertion error, but the error window disappears in about half a second after it pops up (so...
I am writing an input system for a game that needs to be able to handle keyboard schemes that are not just qwerty. In designing the system, I must take into consideration:
Two types of input: standard shooter controls (lots of buttons being pressed and raw samples collected) and flight sim controls (the button's label is what the user...
Hey Guys
At present we are developing a graphic app on a linux box using opengl. We have had a bit of trouble getting a decent debugger working. At present we use GDB via a ssh connection, but that is a tad painful. Next we have tried running DDD on the target platform, but we run out of space on screen. Next we have tried running a...
I'm attempting to port a Linux application to Windows. The application isn't too complex, using all fairly standard code, with few external dependencies. The main dependencies are libelf (which compiles fine under mingw), pthreads (there appears to be a win32 version available), and sockets. The main problem is with sockets...Windows pro...
What's the simplest way of programatically checking whether or not a particular Windows machine is currently being used by a human being?
I'm thinking about writing a "politeness monitor" for our rather limited Internet connection - basically a way to see who is currently actively using the Internet at any one time, so when someone need...
I understand that when a TCP client connects to a server, it automatically uses a unused local port unless specified explicitly. On the server side, we have a listening socket which creates a new socket whenever a new connection is accepted.
But all server sockets use same local port (I checked this with netstat). My question is how doe...
How can I remotely execute a commands on a Windows box as part of a build process?
If it matters, I want to initiate the commands from a linux machine which is performing the actual build.
To give some background...
A web application I am currently working on has, as part of the build process, a system for automatically reverting a li...
My wxwidgets program does not allow the computer to shutdown when the user clicks on Shutdown. I had issues with exiting the program normally so I've been calling exit() directly instead of deleting the top window as wxwidgets says to do. The exit workaround has been working but it seems wxwidgets can't exit when it receives shutdown win...
I want to create two dimension array of different type like I can add to that array two values one of them is controlname and second is boolean value.
...
What is the cleanest way of converting a std::wstring into a std::string? I have used W2A et al macros in the past, but I have never liked them.
...
I have a class defined in one DLL, with a certain member that is overloaded.
A second DLL imports that class, inherits from it and exports the inherited class. The inherited class overrides one of the overloads of the above member, and so looses all the other overloads.
The solution for this problem generally, AFAIK, is to use a using s...
Hello, I have idea to implement my wpf windows like TabPages in tab control. It is possible to do that dinamically in c# code. In Example i have Menu in main window. Some Menu items calls search type windows. Is it possible to do such a thing in C# code (SomeMenuItem_Click): this code adds new tab in tabControl of main window. If there a...