RE: strange problem with dlg.ShowDialog(); - Help !!!



Are you sure this is a problem with the showdialog().
Looks more like its with the comparison you are doing. If your code jumps to
the catch block, it shows something's wrong. what's the error message you get
from the catch block?

is m_is_it_exist a boolean or a numeric type?
Look at that. I think you are assuming its one of these, but it is in fact
the other.


hope this helps a bit.
.



Relevant Pages

  • c# - Detecting Properties button click on PrintDialog
    ... I display the print dialog using the ShowDialog() function. ... moving between portrait + landscape settings. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: dispose the login form
    ... Normally all your not with showdialog showed forms are disposed ... Therefore it is managed code. ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Advanced MessageBox form
    ... Can you tell us what your messagebox is different from a form showed with ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Detecting the instance of a form
    ... A midi ... A showdialog ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)