Hello everybody, I have a RAID 5 array containing 4 disks, each of 36 GB. Now I need more space, so I'm adding two new disks (same size), but I need to keep the cluster working, while I'm doing this.
Is there a way to expand the RAID 5 array without shutting down the system?
Thank you
Stefano
Hello evreybody.
In my project I create a new document template, with the class CProfileDoc, CProfileView. CProfileView is derived from CFormView. The form has some control (combo box and text box) and a OK button. I need to serialize the data written in the controls when the user click the ok...
Hello, I'm trying to read the value of the field PostalCode from an Access database using ado with the following sintax:
CString buff;
buff = pRecordsetAccess->Fields->GetItem ("PostalCode")->Value.bstrVal;
but if the field is empty (NULL value), I get an access violation error. I tried to...
Hello everybody, I need to retrieve data from a database Oracle in a MFC application. I connect successfully to the database and set the sql command, but when I try to open the recordset I get the error "Invalid character" from Oracle. I don't know exactly if this is the right place to post this...
I don't know how to use GetScrollPosition...
Here's the code I use:
CView::OnPaint()
{
CPaintDC dc(this); // device context for painting
CRect rect;
GetClientRect (&rect);
dc.FillSolidRect (rect, RGB (0, 0, 0));
CSchermoDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
int i...
I have a problem with an SDI application with the View class derived from CScrollView. In the main window, every time the user click the mouse I draw a point.
Then I use the horizontal scroll bar to reach the right margin of the window and the go back to the left margin, but the previous point...
Ok, I choose a different solution: I create the CEdit in the MainFrame::OnCreate. Now look at what happens.
I created a message WM_SINC sended by a dialog to the main window. The handler CMainFrame::OnSinc looks like this:
CProgressBar bar(....); //Create a progress bar
for (i=0; i<...
I developed an application with a menu that open a dialog box. In this dialog box, the user should set some parameters and then click the usual ok button.
When this button is clicked, the application should return in the mainframe and do the following sequence:
1. Create a string
2. Create a...
Hello everybody,
How can I create a listbox with a list of checkboxes inside?
I mean, like the one you can see in some installation programs that ask you what component do you want to install...
I hope it's clear.
Thank you
I developed a simple program with a classic File menu (New, Open, ...).
When I select the New options, I show a Dialog to set some parameters for the new document and when I click on the Ok button I want the program create the new document. The problem is if I open an existing document and then...
Hello, I created a SDI project with document/view paradigm, then I added a dialog box with two buttons to change the background color of the mainfrm. Here is the code:
void CNewFrame::OnOK()
{
BkColor = RGB (0,0,0);
CDialog::OnOK();
}
void CNewFrame::OnCancel()
{
BkColor = RGB...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.