displaying a file

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jeevan (fenn_j_at_rediffmail.com)
Date: 01/01/05


Date: Sat, 1 Jan 2005 13:50:22 +0530

I have problem regarding displaying a file....I have used CFileDialog to
create a open dialog but when i cancel it i am getting a dialog.And once i
have opened the file....i getting newline charaters as well in the edit
box.The formatting is totally gone.However when i display it on to a message
box,i getting the exact format.Please help.



Relevant Pages

  • Re: BeforeUpdate Event
    ... Even if you cancel Form_BeforeUpdate and undo the form, ... You can use the form's Error event to trap it: ... and go back the form displaying a ... >>The BeforeUpdate event of the form or that of a control? ...
    (microsoft.public.access.formscoding)
  • Re: Password prompt when mapping network shares
    ... dialog doesn't get displayed on this headless device. ... You could send the AddConnection function a window handle to your own dummy ... running on a headless device displaying the credentials prompt dialog is a ... inside a thread and simply cancel the thread after a timeout. ...
    (microsoft.public.windowsce.app.development)
  • Click event not raised when clicking a button after displaying a dialog box
    ... In the Validating event of a TextBox, I am displaying a Yes/No message ... I cancel any subsequent events. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • SHdocVw event problem
    ... I'd like to avoid even attempt to open files such as doc, pdf, ppt, etc. which cause displaying dialog box thus need user attention. ... Event object.Filedownload never fires. ... It is supposed to fire before that dialog box is displayed and theoretically can trigger sub to handle it e.g. Cancel = True. ...
    (microsoft.public.excel.programming)
  • Re: Segmentation fault
    ... OK button or Cancel button. ... message dialog displaying an appropriate message; ... Sorry, I should have specified this, MessageDialog is not from Gtk, it ... portion of the code that creates a dialog boxthat ...
    (comp.lang.perl.tk)