Results 1 to 5 of 5

Thread: 2nd form lags open

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    fort wayne,In
    Posts
    4

    Post

    When my main form is open and i open a directory list form(i choose which file i want to open), after i select the file i want to open the form stays open until it is done reading in the whole file. I am sure there is a simple way to fix this but i do not know how. a msgbox helps ,but would like to get away from that.
    chuck

  2. #2
    New Member
    Join Date
    Jan 2000
    Location
    canada
    Posts
    15

    Post

    Do you mean that you use a new form for the directory list or that you use a dialog box. Let me know !!!

  3. #3
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Calgary Alberta
    Posts
    359

    Post

    If I'm correct, you have your main form, you open up a dialog to select a file. After selecting a file, that dialog stays up until the file is loaded. What are you loading the file into? Is it a pic, a text file? Where are you doing the code to load it? To get around it, have the Dialog form that you use to select a file send back that file name to what ever routine had opened it. Store that filename, close the form and then do your opening routine.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    fort wayne,In
    Posts
    4

    Post

    I am new at this so i will try to explain this better. I open a second form to load the file and use the dirlist box and filelist box and drivelist box. Should i have used a dialog box instead. if so which one. thanks for any help
    chuck

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    fort wayne,In
    Posts
    4

    Post

    One more thing, what i wanted to do was open a text file and read it into a database. it is a text file and takes up to 2 or 3 minutes to load.
    thanks
    chuck

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