Results 1 to 4 of 4

Thread: Strange Prb

  1. #1

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Strange Prb

    well i have got three forms, one is the main form, on the button click of the main form, it gets disappeared n the second form comes up which doesnt have ne button, after a few seconds its task is finished n the third form has to load but it does not load ! n says invalid procedure call ! here is da code

    Private Sub Command1_Click()
    RasDial.UserName = "kmangi"
    RasDial.Password = "kmangi"
    RasDial.PhoneNumber = "13112311"
    RasDial.Dial
    Me.Hide
    frmRas.Show

    n then eventually i call
    frmRas.hide
    frmBrowser.show

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Strange Prb

    don't you want to show the third form before you hide the second one?

  3. #3

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Re: Strange Prb

    well first of all the second form disappers it self after some event i have called its .hide method, n ne ways showing two forms simultaneously shoud'nt have been a problem !

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Strange Prb

    I thought that you didn't have any on the screen, so was suggesting that you show one before hiding the second one.

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