Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: VB.NET Question

  1. #1

    Default VB.NET Question


    My forms has so many objects inside na and muslow down gyud sya if i.load. So is there a way para paspas gihapon pagload bsag daghang objects sa sulod?

  2. #2

    Default Re: VB.NET Question

    What do you mean objects? child forms? controls?

    Is this a database driven application? Do you connect to the database upon the load of the form?

  3. #3

    Default Re: VB.NET Question

    himo ka og preloader page bai... mao rana akong ma huna hunaan.

  4. #4

    Default Re: VB.NET Question

    Quote Originally Posted by DeathFox
    My forms has so many objects inside na and muslow down gyud sya if i.load. So is there a way para paspas gihapon pagload bsag daghang objects sa sulod?
    bro try this solutions:

    1st --> Tune-up your query (if you have an event that calls a procedure or function that retrieved recs from a database)
    2nd --> Replace those spaghetti loops
    3rd --> Apply the Cyclomatic complexity on your coding practices.
    4th --> If you have third party component on that form re-install it or remove it and use the native.

    Hope this help. Have a nice day!

  5. #5

    Default Re: VB.NET Question

    Still doesn't work Code is fairly optimized, but there are just about 50+ objects in there and it connect to the database at start.

  6. #6

    Default Re: VB.NET Question

    Quote Originally Posted by DeathFox
    Still doesn't work Code is fairly optimized, but there are just about 50+ objects in there and it connect to the database at start.
    unsa imo database bro? can u pm ur code? unsa mga 3rd party ana nga com?

  7. #7

    Default Re: VB.NET Question

    abi ko imo probs is daghan kaau objects imong form?. like GUI?.. or is it too many records to display?.

    anyway if you have too many records to show. use "pagination" (ambot onsa term ana sa scrollers) technique bro.

    if your using a scrollbar then override that scrollbar in a way when it scroll it queries the db to get the offset.. of records

    ex: you have 1000000 records

    you can represent the scrollbar value as "pages" which you can do a scaling (so the scrollbar doesnt look funny) you can show "100" per view.. when you scroll.. you query the next offset of records. and display it.. dont display the record at once when the list is too big.

    pro kong GUI.. onsa man mostly imong mga objects bro? buttons? checkboxes?. or what?.

  8. #8

    Default Re: VB.NET Question

    @silent-kill

    bro IMHO. There's not a prob if nag retrieved siya ug bulk of recs as long as tuned iya query and naka index ang cols nga angayan e index. ang iya prob is naa both sa front-end and sa back-end. duha man gud ang scenarios sa iya prob the first is overload daw siya sa objects(front-end) and second it retrieved recs on form load (back-end).

    @DeathFox
    e pm nalang sa amo imo codes para matabangan namu analyze.

  9. #9

    Default Re: VB.NET Question

    @dlanyer77

    IMHO bro, i guess there is, if its not a problem i dont see why most high performance tool would implement the same solution.

    @DeathFox
    paste nalang ka screenshot bai para makita ang form og hatag statistics kong mga pila ka records imo i display
    or paste ka sa imong procedure sa form load. or i thread nalang na imong app bai oi.

  10. #10

    Default Re: VB.NET Question

    @silent-kill

    Hmmm... Hehehe! I have detailed answer to that bro but no comments nalang. Basin maka offend napud ko. Ato nalang ibalik ang topic to help those in need. We can solve it anyway by all means. Ato nalang ipa detail niya ang prob para ato matabangan.

  11.    Advertisement

Page 1 of 3 123 LastLast

Similar Threads

 
  1. VB.NET question. Please help...
    By dreamboy in forum Programming
    Replies: 13
    Last Post: 07-19-2013, 01:30 PM
  2. Replies: 6
    Last Post: 06-26-2006, 10:33 AM
  3. Wanted: VB .Net Part-time Instructor
    By TaughtWorks in forum Programming
    Replies: 1
    Last Post: 05-19-2006, 08:55 PM
  4. Replies: 10
    Last Post: 12-20-2005, 08:53 AM
  5. Replies: 0
    Last Post: 12-05-2005, 05:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top