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

Thread: Hide

  1. #1
    Join Date
    Apr 2001
    Posts
    33

    Hide

    is there any code for hide a message box.

    example,

    message ("asdd");

    how to hide this message

    Regards,
    Wilson Chai

  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Hide

    You cannot hide the message box. You can make it disappear automatically.

    'add reference to Windows Scripting host Object model

    Dim wshShell As New IWshShell_Class
    Dim lngReturn As Long
    Dim intSeconds2Wait As Integer
    intSeconds2Wait = 1
    lngReturn = wshShell.Popup("Place Your Text Here", intSeconds2Wait)



    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

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