I have a Dialog A and I want it to load a second dialog B which is modeless and stays along side A throughout. Dialog A may then launch a modal dialog C. But when C is present I want B to be usable. I would have fixed this with pretranslate message in A in a C++ application but what is the approach in C#.
...
We use employees' desktops for CPU-intensive simulation during the night. Desktops run Windows - usually Windows XP. Employees don't log off, they just lock the desktops, switch off their monitors and go.
Every employee has a configuration file which he can edit to specify when he is most likely out of office. When that time comes a bac...
Is continuous increase in virtual memory(private bytes) of process indicate memory leak...?
I am using third party library. Continuous use of library leads to continuous increase of virtual memory.
So its a memory leak which can leads to continuous virtual memory increase or it can be any other reason.
...
Hello all,
I've went through the excellent guide provided by Tim Davis which is about configuring Git to work with SSH under Windows in order to produce a Git Server in order to have a main place for my DVCS.
I am in the process of creating a clone for my project. I’ve went through all the steps till this point, but I keep getting thi...
Hi,
I am writing some kind of IPC functionality and need to pass certain resources from one process to another. This works well for Pipe handles etc. which can be duplicated via DuplicateHandle. Now I need to pass a HDC from one process to the other. Is this even possible? If yes: how?
Sub-Question: I am assuming passing window handles...
I have a dialog that I show with <class>.ShowDialog(). It has an OK button and a Cancel button; the OK button also has an event handler.
I want to do some input validation in the event handler and, if it fails, notify the user with a message box and prevent the dialog from closing. I don't know how to do the last part (preventing the cl...
How to compile SqlCipher on windows to get exe file?
...
Hi,
Windows 7, JDK 1.5, Eclipse 3.5.
C:\Users\User>java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
C:\Users\User>set | find "JAVA"
JAVA_HOME=C:\tools\jdk1.6.0_18
Eclipse is running using JDK 1.5 Set
Compliance level 1.5
Inst...
Hi there,
Some drivers use parameters written in the registry to configure themselves when they get loaded at boot time.
I can modify those values and then reboot, but I would like to know if it is possible to force the driver reload, making the changes effective without rebooting.
Specifically, I am talking about the video driver (nvi...
Namely I have:
Environment.SpecialFolder.ApplicationData
Environment.SpecialFolder.CommonApplicationData
Environment.SpecialFolder.LocalApplicationData
I am unclear as to were these point to in Windows XP and/or Windows Vista.
What I found so far is that the ApplicationData points to the ApplicationData Folder for the current user i...
Scenario:
I have a area of a website that needs to be secure and accessible when offsite. I want the user to enter the username and password used to login at work in a web form. The form will send the username and password to authenticate it. If it works the user is logged in.
I need to use a form not a pop-up login box. PHP is prefer...
I have some validation code which should display the max / min of a control when a bad value is entered.
In my constructor I do this:
m_wndToolTip = gcnew ToolTip(this->components);
m_wndToolTip->AutoPopDelay = 5000;
m_wndToolTip->InitialDelay = 10;
m_wndToolTip->ReshowDelay = 250;
m_wndToolTip->ShowAlways = true;// Force the ToolTip t...
I have a HP server with Raid 5. Port 0 and 1 are used for data & OS mirroring. The software come with the Raid 5 is Intel Matrix Storage Manager and there is manager console as windows based api to view all the ports, including their status.
Now they are all in Normal status. I am not sure if the OS/Windows has some APIs or .Net classes...
I started working on a project in the mid. We are using Zend Framework, PHP, MySql, Ajax, jQuery and jSon on Ubuntu. It was working on ubuntu.
Now I switched to Windows. I installed Wamp, Eclipse and create a host(test.dev) on windows for my project. But when start the project by test.dev. it give me the following error on browser windo...
I need to find some strings that the current version of Windows is using. For example, when I create a new folder, it is initially named "New Folder" on English Vista. I need to programmatically find what that folder would be named on any language and version of Windows that I might be running on.
Anyone have any ideas how to do tha...
I was working with Zend on Ubuntu and it was working correctly. Now I moved to windows for same project. But now elements of my form are not rendered correctly and their code is appeared on brower's page like this:
translate( $this->element->getElement("email")->getLabel() ) ?>
Any idea that what is the problem?
...
Hello:
I've been looking around the internet trying to find a good step by step guide to extend Python in Windows, and I haven't been able to find something for my skill level.
let's say you have some c code that looks like this:
#include <stdio.h>
#include <math.h>
double valuex(float value, double rate, double timex)
{
float v...
My application displays a folder structure in a tree. The user can browse the contents in these folders, and drag content into the folders.
However, some of these folders are readonly (meaning no content can be dragged into them). I'm looking for a clear way of depicting this to the user, so they are aware which folders they can drag t...
In attempting to use std::select1st from <functional> in a VS2008 project I found that it was ifdef'd out by a _HAS_TRADITIONAL_STL guard.
Is there a reason for this?
Is it safe to simply define _HAS_TRADITIONAL_STL before including <functional>?
...
Hi,
I am trying to get the characters read from the keyboard into some variable for further manipulation. I have the following list that I wish to recognize if entered by a user.
List of keyboard entries:
letters
[
]
~
^
numbers
Part of the code:
void HookManager_KeyUp(object sender, KeyEventArgs e)
{
string test = e.KeyC...