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

    VBS - show modeless Form

    I need to create a modeless Form or somethig else, to show that something happens.
    (MyForm.Show modless
    MyForm.Caption = "Doing something, please wait."
    .
    .
    .
    MyForm.Hide)
    in this way. How can I do this?
    please Help.


  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: VBS - show modeless Form


    option Explicit

    private Sub Form_Load()
    me.Show
    Dialog.Show vbModeless
    dosomething
    unload Dialog
    End Sub
    private Sub dosomething()
    Dim i as Integer
    for i = 1 to 10000
    Label1.Caption = i
    DoEvents
    next i
    End Sub





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