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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Andrew Medvedev

@Andrew Medvedev
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CFileDialog trouble
    A Andrew Medvedev

    Thanks for your reply... "NULL", "AfxGetMainWnd()","this" perfectly work, but under win2k and XP. NT4 don't want to show dialog. DoModal() returns IDCANCEL after call.:((

    C / C++ / MFC csharp help visual-studio sysadmin question

  • Is it the codec? Or maybe a driver...
    A Andrew Medvedev

    Try to update your video codec (possible DivX from www.divx.com) and video driver (www.nvidia.com). This must help.

    System Admin help question

  • Cannot delete a file
    A Andrew Medvedev

    Maybe this is system file? If this file located on NOT-system drive just start chkdsk from console with "Force dismount" option (/X). After check try to kill it.

    System Admin

  • CFileDialog trouble
    A Andrew Medvedev

    I agree with you... I've just tested. :-O In original MSDN article dialog created normaly, as variable. I will correct my post...

    C / C++ / MFC csharp help visual-studio sysadmin question

  • CFileDialog trouble
    A Andrew Medvedev

    Hi. I'll trying to open simple file dialog from view of my single document application. MSDN->Help... ////////////////////// begin /////////////////////////////////////// // szFilters is a text string that includes two file name filters: // "*.my" for "MyType Files" and "*.*' for "All Files." char szFilters[]= "MyType Files (*.my)|*.my|All Files (*.*)|*.*||"; // Create an Open dialog; the default file name extension is ".my". CFileDialog *fileDlg =new CFileDialog(TRUE, "my", "*.my", OFN_EXPLORER | OFN_HIDEREADONLY, szFilters, this); // Display the file dialog. When user clicks OK, fileDlg.DoModal() // returns IDOK. if( fileDlg->DoModal ()==IDOK ) { CString pathName = fileDlg->GetPathName(); // Implement opening and reading file in here. ... //Change the window's title to the opened file's title. CString fileName = fileDlg->GetFileTitle (); } delete fileDlg; /////////////////////////////// end //////////////////////////////// fileDlg->DoModal() return IDCANCEL and dialog window is not showed... :(( I try to create dialog based application, insert this block of code and get my dialog... Where is mistake???? :eek: This bug is ONLY on windows NT4 server... XP works fine. :~ :confused: Used Visual Studio .NET (VC7++) Thanks for help and sorry for bad english. ;)

    C / C++ / MFC csharp help visual-studio sysadmin 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