CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: GetFileExt() ;

  1. #1
    Join Date
    Apr 1999
    Posts
    15

    GetFileExt() ;

    I need name Extension (GetFileExt()) after save file by use CommonDiag save for write program.
    Please answer me urgent.
    Thank you very much.


  2. #2
    Guest

    Re: GetFileExt() ;

    CFileDialog fDlg(TRUE);
    fDlg.m_ofn.Flags |= OFN_ALLOWMULTISELECT;
    fDlg.DoModal();
    CString strFile= fDlg.GetFileExt( );
    POSITION pos=fDlg.GetStartPosition( );
    while(pos!=NULL)
    CString strFn=fDlg.GetNextPathName(pos);



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured