Results 1 to 3 of 3

Thread: Login form takes long time to load

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    110

    Login form takes long time to load

    The Login form is the first form of the application.
    It is called by the Sub Main().
    No big tasks (like connecting to the DB, etc) take place "till the form is just displayed".

    Then why is it taking so much time ?
    Anis Bombaywala

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Its hard to say, but the first time your app is run it gets compiled to machine code which slows things down a bit. After the first time it should be all good though. Maybe consider showing a splash screen if you want.

  3. #3
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    A splash screen would take just as long if the form you are trying to display is basic, as you state.

    You might have to reset your security settings cache by executing:

    caspol -f -reset

    from the VS.NET command prompt. I had the same issue and this solved it.

    Besides this, make sure you have enough memory for your PC.

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