Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Atul23

@Atul23
About
Posts
145
Topics
103
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can we save multiple documents in SDI application
    A Atul23

    Hi ALL, I doing project in VC++ 6.0 in which i am creating web page tool. This tool is used to create web page. I want to add the feature of creating multiple web pages at a time, same like MS front page. So is it possible to create multiple web pages and save them in SDI application. please let me know whether it is possible or not. Thanks in Advance at

    C / C++ / MFC c++

  • Application Crash problem
    A Atul23

    Hi Steve, I check above all values by adding break point. There is no NULL value so OpenDocument() function called sucessfully and document is open. but after opening the document the application get crash. that is the main problem here. please give me some hint if know !!! Thanks in Advance abm

    C / C++ / MFC c++ help

  • Application Crash problem
    A Atul23

    Hi Steve, I write code in CPageView class which is derived from CView class. My project is to create web page design tool. when I create page by using my code, as the page is open there is error ocuure. I write customize function to open web page. The error is occur after page is open and application gets crash with messgeBox having 3 buttons as Send Error,Don't sent error and ignore. void CPageView::OpenWebSite(int nTabIndex) { if(nTabIndex > 0 && nTabIndex < nSize+1) { CString strPagePath = pFrame->m_selWebPagePaths.GetAt(nTabIndex-1); theApp.OpenDocumentFile(strPagePath); } } Thanks Abm

    C / C++ / MFC c++ help

  • Application Crash problem
    A Atul23

    Hi ALL, I am doing project in VC++ 6.0, When I run the application, application gets crash. Message box is display with 3 button as "Don't Send" ,"Ignore" and "send". I check all values in my function if there is any NULL value.In my code there is no NULL value is occured any object. Please send me solution to this problem if anybody have. Tell me the possibilities of application crash. Thanks in Advance

    hi

    C / C++ / MFC c++ help

  • Application Crash error
    A Atul23

    Hi All, I my project when I run the application then it crash and when I debug that application then it is working fine. So can any body give me solution to this problem. Thanks in Advance am

    hi

    C / C++ / MFC help debugging

  • How to Access CStringArray object from one class to other
    A Atul23

    Hi ALL, I am using property page in my project. In Property page class i used pagePAth object of CStringArray class. I store paths in pagePath object. Now I want to retreive paths by using pagePAth object in CMyView class which is derived from CView class. I am unable to acces pahePAth object in CMyView class. Please send me solution if u have. Thanks in Advance am

    hi

    C / C++ / MFC tutorial

  • How to Access PropertSheet in MainFrame class
    A Atul23

    Hi ALL, I am using Propertysheet class in my project in which I add number of pages in it. I want to acccess pointer of this propersheet in one menu function. void CMainFrame::OnOpenWebSite() { COpenWebSiteShet openWebSiteDlg; // COpenWebSiteShet derived from CProperSheet class. if(ID_WIZFINISH == openWebSiteDlg.DoModal()) { COpenWebSiteShet *pSheet = (COpenWebSiteShet*)GetParent(); } pSheet is always get NULL handle. So how can get the correct handle of propertySheet in Mainframe class. Thanks in Advance :rolleyes: Om

    C / C++ / MFC tutorial

  • Problem in Getting Handle of EditBox.
    A Atul23

    Hi Friends, I have difficulties in getting handle of EditBox when I get the value of edit box. Following code is execute correctly when i set value to edit box CEdit *pOpenEdit = (CEdit *) GetDlgItem(IDC_FOLDER_PATH); if( NULL != pOpenEdit->GetSafeHwnd() ) { if( strOpenPath != "" ) pOpenEdit->SetWindowText(strOpenPath); } But when I want to get value of edit box , i did not get the handle of edit box. so it did not entered in if Block. CEdit *pOpenEdit = (CEdit *)GetDlgItem(IDC_FOLDER_PATH); if( NULL != pOpenEdit->GetSafeHwnd() ) { char buff[500]; pOpenEdit->GetWindowText(buff,256); strOpenLocation = buff; } So please let me know what is wrong in this code. Thanks in Advance Atul

    C / C++ / MFC help question

  • Error in getting Handle of editBox?
    A Atul23

    Hi Hamid, ID of Edit box is correct, because by using same ID i get the pointer for setting value to the window. CEdit *pOpenEdit = (CEdit *) GetDlgItem(IDC_FOLDER_PATH); if( NULL != pOpenEdit->GetSafeHwnd() ) { if( strOpenPath != "" ) pOpenEdit->SetWindowText(strOpenPath); } This code is execute well but in following code i did not get the handle. CEdit *pOpenEdit = (CEdit *)GetDlgItem(IDC_FOLDER_PATH); if( NULL != pOpenEdit->GetSafeHwnd() ) { char buff[500]; pOpenEdit->GetWindowText(buff,256); strOpenLocation = buff; } In this code I did not get handle so it is not entered in if block. Let me know what is wrong in this code. Thanks in Advance Om

    C / C++ / MFC question help

  • Error in getting Handle of editBox?
    A Atul23

    When I run above code I get null handle. so the code on next line is not execute. I use same code in other function of same class for Setting string value to editbox,the code is executed in that function. So why i did not get the handle od edit box in above code. Plz reply me. OM

    C / C++ / MFC question help

  • Error in getting Handle of editBox?
    A Atul23

    Hi All, In my project I want to get the string value set in text box. So I write following code as CEdit *pOpenEdit = (CEdit *) GetDlgItem(IDC_FOLDER_PATH); if( NULL != pOpenEdit->GetSafeHwnd()) { pOpenEdit->GetWindowText(buff,256); } In the above code I did not get handle of edit box. What is wrong in this code. Please send me solution if anybody have. Thanks Om

    C / C++ / MFC question help

  • How to create Directory on Remote Server.
    A Atul23

    Hi ALL, I want to create new dir on specified path of remote server. How to use CreateDir() function of CFtpConnection class. Thanks in Advance :wtf: atul

    C / C++ / MFC sysadmin tutorial

  • How to write copy constructor when returning any template object.
    A Atul23

    Hi ALL, I am writing function which return template object of type CArray. Following is the defintion for this. CArray COpenFolderPage::GetPagesPath() { CArray pagePathArray; // some code return pagePathArray; } When i compile this code, then there is error as "no copy constructor is found" So how to write copy constructor in this case. Thanks in Advance Atul

    C / C++ / MFC help tutorial

  • Problem in Accessing CArray object
    A Atul23

    Hi Chandu, I can not access value of temp in other class by using pointer. so could u give me next steps please. Thanks in Advance A23

    C / C++ / MFC data-structures help question

  • Problem in Accessing CArray object
    A Atul23

    I am accesssing CArray object in other class as follows CWebsiteCreatorWizard *pPtr = (CWebsiteCreatorWizard *)GetParent(); if(NULL != pPtr) nTotalWebPageCount = pPtr->m_WebSitePagesAry.GetSize(); Where CWebsiteCreatorWizard is wizardseet class in which i declare CArray m_WebSitePagesAry is array of strings could u guess why I get here Garbage value in nTotalWebPageCount. Regards A23

    C / C++ / MFC data-structures help question

  • Problem in Accessing CArray object
    A Atul23

    Hi All, I am using CArray object to store the strings in array. I used this object in one class where i add strings in to CArray object. I want to access this object in other class. But when i access it in other class it gives me garbage values. So how can i access it in another class. I created CArray object on the stack. Is there any need to create it on Heap. Thanks in Advance Atul

    C / C++ / MFC data-structures help question

  • Problem in Accessing CStringArray object,
    A Atul23

    Hi All, I am using CStringArray object to store the strings in array. I used this object in one class where i add strings in to CStringArray object. I want to access this object in other class. But when i access it in other class it gives me garbage values. So how can i access it in another class. Atul

    C / C++ / MFC data-structures help question

  • How to add strings in CStringArray object?
    A Atul23

    Hi David, Thank u very much.. problem gets solved Atul

    C / C++ / MFC tutorial question

  • How to add strings in CStringArray object?
    A Atul23

    Hi Chandu, I did not allocate memory to m_HTML_Page_arry object. I used it directly. So can I allocate memory to it. Thanks in advance Atul

    C / C++ / MFC tutorial question

  • How to add strings in CStringArray object?
    A Atul23

    Hi I use Add as following way, though there is Assertion, what is the problem in this code. m_HTML_Page_arry->Add(strPagePath); Thanks in Advance Atul

    C / C++ / MFC tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups