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
S

swaapu

@swaapu
About
Posts
45
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Third Party Controls
    S swaapu

    Hello! Thanx for replying. But, i dun wanna this type of controls. I want a control like XMLEdit view. It should be more or less like the document area of xml Editor. Thanx "If you change then change for the good."

    C / C++ / MFC c++ question

  • Third Party Controls
    S swaapu

    Hello! Could anybody, plz tell me the list of third party controls available, which can be used in an MFC Application. Is there any third party control like XmlEditView? Thanx a lot "If you change then change for the good."

    C / C++ / MFC c++ question

  • Tech Interviews
    S swaapu

    Hello! could anybody tell me some gud sites which have questions on different subjects for preparing for an online Assesment Test/Interviews Thanx "If you change then change for the good."

    IT & Infrastructure

  • XmlCDataSection
    S swaapu

    HI!!! Could anybody tell me the usage XmlCDataSection. Is this can be used in mfc application, in windows xp environment. Wat for is this used?? How to use it?? or can anybody provide me with an example of it, for reference. Thanx "If you change then change for the good."

    C / C++ / MFC tutorial c++ question workspace

  • XML Parsing
    S swaapu

    Hi!! Can anybody tell me . what is IXMLDOMDocument or IXMLDOMDocumentPtr?? And how is it related with xml pARSING. i want to convert my old ini files into xml files by using XML Parsing functions in an MFC SDI application. I had done the conversion by using old C Functions, but how to do it using MFC functions. Thanx "If you change then change for the good."

    C / C++ / MFC question c++ xml json tutorial

  • Showing file in edit control
    S swaapu

    Hi!! I have an mfc sdi application. I have a dialog in which , i had put a text box. I want to open some file(text file), entered by user( in another EDIT CONTROL). I want that the Edit Control(for displaying file) to remain invisible, until the user clicks on SHOW FILE BUTTON. Which function should, I use for opening it?? How to do this at button_click?? "If you change then change for the good."

    C / C++ / MFC c++ tutorial question

  • Macros
    S swaapu

    Hi! Could anybody suggest me some good books, or free tutorials about MACROS IN vc++. tHANX "If you change then change for the good."

    C / C++ / MFC c++

  • setting dialog size at run time
    S swaapu

    Hello!! I want to display text file. Thanx a lot "If you change then change for the good."

    C / C++ / MFC c++ tutorial question

  • setting dialog size at run time
    S swaapu

    Hi!! I m working on an mfc sdi application. I hav a dialog in which , i have "SHOW FILE" button. On it`s click event, i want to show the file on the same dialog. But, before clicking the "SHOW FILE" button, i want a small dialog only. Now, I hav two problems: 1. In which control, should I display(show) the file to the user? 2. How to set the dialog size at run time? Thanx a lot "If you change then change for the good."

    C / C++ / MFC c++ tutorial question

  • PIDL of a selected file
    S swaapu

    Hi!! Go through Q167834. U will definitely get some hint from there. "If you change then change for the good."

    C / C++ / MFC

  • Working with INI Related functions
    S swaapu

    Hi!!!!!!!!!!!! Yes, it`s working. Thanx a lot for ur kind support. "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • FindNextFile( ) not working in 2nd iteration
    S swaapu

    Hello! Ur question is not very clear. "If you change then change for the good."

    C / C++ / MFC help

  • PIDL of a selected file
    S swaapu

    Yes, u can get the full path of the file by using this function. to display the full path: SHGetPathFromIDList This function converts an item identifier list to a file system path. WINSHELLAPI BOOL WINAPI SHGetPathFromIDList( LPCITEMIDLIST pidl, LPSTR pszPath ); Parameters pidl [in] Pointer to an item identifier list that specifies a file or directory location relative to the root of the namespace (the desktop). pszPath [out] Pointer to a buffer to receive the file system path. This buffer must be at least MAX_PATH characters in size. Return Values TRUE indicates success. FALSE indicates failure. Remarks If the location specified by the pidl parameter is not part of the file system, this function will fail. "If you change then change for the good."

    C / C++ / MFC

  • Adding dialog to sdi
    S swaapu

    Hello!! I am doing MFC programming after a very long time. I had forgot all the basic concepts. I am working on an mfc sdi application. Could anybody tell me how to add a dialog to it. I want the dialog to be displayd when i click on a specific menu item. Thanx "If you change then change for the good."

    C / C++ / MFC c++ tutorial

  • Working with INI Related functions
    S swaapu

    Hi!! For INI file: [SECTION1] KEY1=500 KEY2=VALUE [SECTION2] KEY3=500 KEY4=100 [SECTION3] KEY5=xyz The corresponding XML file would be: 500 VALUE 500 100 xyz "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • Working with INI Related functions
    S swaapu

    Hi!! The above code is also not working. Wat to do now? Thanx "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • Working with INI Related functions
    S swaapu

    Hello Anil!! I m providing u here with a sample ini file and its converted form in XML. For Ini File: [SECTION1] KEY1=500 KEY2=VALUE [SECTION2] KEY3=500 KEY4=100 [SECTION3] KEY5=XYZ This is the XML format: 500 VALUE 500 100 xyz Thanx a lot for ur so kind support.Bye "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • Working with INI Related functions
    S swaapu

    HI!! Could u plz tell me how to modify the program , to print all the section names. Thanx "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • Working with INI Related functions
    S swaapu

    Hello Anil! But, I need more help. Could u Plz tell me how should i write in the file, if with fprintf, it is not possible. I am new to VC++. Thanx a lot "If you change then change for the good."

    C / C++ / MFC help c++ xml tutorial question

  • Working with INI Related functions
    S swaapu

    Hi! iam working on an mfc sdi project in which , i hav to read ini file and to change it into its corresponding xml file. I am doing it with the help of GetPrivateProfileSectionNAmes and GetPrivateProfileSection functions. My sample ini file is: [SECTION1] KEY1=500 KEY2=VALUE [SECTION2] key3=500 key4=100 [SECTION3] key5=xyz My code is like dis: void CNewIni2XmlDlg::OnBConvert() { // TODO: Add your control notification handlcode here FILE *fpr,*fpw; CHAR buffer[50]; DWORD nSize=50; LPTSTR lpszReturnBuffer; CHAR buff[50]; fpr = fopen("C:\\users\\SG\\SWATI.INI","r"); fpw = fopen("C:\\users\\SG\\Ss.txt","w"); lpszReturnBuffer = buff; fprintf(fpw,""); GetPrivateProfileSectionNames(buffer,nSize,"C:\\users\\SG\\SWATI.INI"); fprintf(fpw,"\n<%s>",buffer); fflush(fpw); GetPrivateProfileSection(buffer,buff,nSize,"C:\\users\\SG\\SWATI.INI"); fprintf(fpw,"\n%s",buff); fclose(fpr); fclose(fpw); AfxMessageBox("ok"); } Now, the problem is , this method is returning only the SECTION1 and KEY1=500. ##How to get names of all the remaining sections?? ##What should , I do to get all the key value pairs for any section?? Thanx a lot for ur kind support. "If you change then change for the good."

    C / C++ / MFC help c++ xml 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