Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic array of String class Pin
priyank_ldce10-Nov-06 3:53
priyank_ldce10-Nov-06 3:53 
GeneralRe: Dynamic array of String class Pin
David Crow10-Nov-06 4:00
David Crow10-Nov-06 4:00 
GeneralRe: Dynamic array of String class Pin
priyank_ldce10-Nov-06 4:04
priyank_ldce10-Nov-06 4:04 
GeneralRe: Dynamic array of String class Pin
Mark Salsbery10-Nov-06 4:50
Mark Salsbery10-Nov-06 4:50 
QuestionHow to use CreateProcessAsUser Pin
StefanKittel10-Nov-06 2:06
StefanKittel10-Nov-06 2:06 
Questionhi all !!! Pin
Bravoone_200610-Nov-06 1:20
Bravoone_200610-Nov-06 1:20 
AnswerRe: hi all !!! Pin
_AnsHUMAN_ 10-Nov-06 2:22
_AnsHUMAN_ 10-Nov-06 2:22 
AnswerRe: hi all !!! Pin
David Crow10-Nov-06 2:23
David Crow10-Nov-06 2:23 
Bravoone_2006 wrote:
1) how can i retrieve this string if is not find in my database ?


You can't. Why would you think a string could be retrieved from a database when it cannot be found?

Bravoone_2006 wrote:
2)how can i send 1 string from a CDialog to another ?


void Dialog1::OnButtonClick()
{
    Dialog2 dlg;
    dlg.SetValue(some_str_value_from_edit1);
    dlg.DoModal();
}
 
void Dialog2::DoDataExchange(CDataExchange* pDX)
{
    CDialog::DoDataExchange(pDX);
    //{{AFX_DATA_MAP(Dialog2)
    DDX_Control(pDX, IDC_EDIT2, m_ebEdit2);
    //}}AFX_DATA_MAP
}
 
Dialog2::SetValue( LPCTSTR lpszStr )
{
    m_str = lpszStr;
}
 
BOOL Dialog2::OnInitDialog()
{
    CDialog::OnInitDialog();
 
    m_ebEdit2.SetWindowText(m_str);
 
    return TRUE;
}



"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: hi all !!! Pin
Hamid_RT11-Nov-06 0:26
Hamid_RT11-Nov-06 0:26 
Questionpath of the application Pin
radhika2810-Nov-06 0:29
radhika2810-Nov-06 0:29 
AnswerRe: path of the application Pin
prasad_som10-Nov-06 0:47
prasad_som10-Nov-06 0:47 
GeneralRe: path of the application Pin
radhika2810-Nov-06 1:08
radhika2810-Nov-06 1:08 
QuestionRe: path of the application Pin
prasad_som10-Nov-06 1:19
prasad_som10-Nov-06 1:19 
AnswerRe: path of the application Pin
radhika2810-Nov-06 1:27
radhika2810-Nov-06 1:27 
GeneralRe: path of the application Pin
prasad_som10-Nov-06 2:32
prasad_som10-Nov-06 2:32 
GeneralRe: path of the application Pin
David Crow10-Nov-06 2:29
David Crow10-Nov-06 2:29 
GeneralRe: path of the application Pin
prasad_som10-Nov-06 2:34
prasad_som10-Nov-06 2:34 
AnswerRe: path of the application Pin
Rage10-Nov-06 1:09
professionalRage10-Nov-06 1:09 
GeneralRe: path of the application Pin
radhika2810-Nov-06 2:04
radhika2810-Nov-06 2:04 
QuestionHow relieable is _CrtDumpMemoryLeaks() ? Pin
Mr.Brainley10-Nov-06 0:11
Mr.Brainley10-Nov-06 0:11 
AnswerRe: How relieable is _CrtDumpMemoryLeaks() ? Pin
Chris Losinger10-Nov-06 4:34
professionalChris Losinger10-Nov-06 4:34 
QuestionAbout Web Installer Pin
Ishani Bose9-Nov-06 23:49
Ishani Bose9-Nov-06 23:49 
Questionwin service - sockett events not fired Pin
snxxxxt9-Nov-06 23:47
snxxxxt9-Nov-06 23:47 
AnswerRe: win service - sockett events not fired Pin
Mark Salsbery10-Nov-06 5:02
Mark Salsbery10-Nov-06 5:02 
Questionadd the button on internet explorer [modified] Pin
johnalek9-Nov-06 23:24
johnalek9-Nov-06 23:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.