VB.net application loading time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kwankwan08
    New Member
    • Feb 2008
    • 4

    VB.net application loading time

    I was currently writting a Cyber Cafe for the client side which start up with a form that maximize and block all the client control like shortcut key and other security. It's fine to work in my pc and it take only about 5 second to startup the application and lock the client. But when i run the application in a pc that installed with games, it took about 40 second to run my apllication. I notice in task manager panel, the process need to read the whole application before it could load my first form. Is there any idea i can speed up my loading time? I have try to set the process priority to "real time" and startup using batch files, but it still need 30 second to load my first form.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Set debug to false and test on other pc. HTH.

    Comment

    • kwankwan08
      New Member
      • Feb 2008
      • 4

      #3
      The PC I was using to test the apllication was the cilent pc that will be used by the customer. So i cannot test on other PC.

      Comment

      • abev
        New Member
        • Jan 2008
        • 22

        #4
        kwank I have a really hacky solution for this which I have done once. I had a similar problem with a client machine that turned in to pebcak anyway what I did was I wrote to the database with a time as the code executed. Just info I could understand e.g. ("Sub: executeLoad, line 128, 1/12/2008 12:04:44.000").

        If you dont want to write to a database store the data in a string and pop it up in a msgbox after the app loads and just ask the user to save then info for you.

        HTH

        Comment

        • kwankwan08
          New Member
          • Feb 2008
          • 4

          #5
          Originally posted by abev
          kwank I have a really hacky solution for this which I have done once. I had a similar problem with a client machine that turned in to pebcak anyway what I did was I wrote to the database with a time as the code executed. Just info I could understand e.g. ("Sub: executeLoad, line 128, 1/12/2008 12:04:44.000").

          If you dont want to write to a database store the data in a string and pop it up in a msgbox after the app loads and just ask the user to save then info for you.

          HTH
          I don't quite understand what u mean. Could you explain in details? Thank You.

          Comment

          Working...