Loading files into memory

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello all,

I'll start by saying that I am relatively new to Visual Basic, so I
apologize in advance if this is a stupid question, but I haven't found
any information on this anywhere else on the web.

I'm writing a program that will play several different videos, but
there is a noticeable delay when I have the program wait until the
videos are needed to load them. I'm trying to figure out how to load
all of the video files into the system memory when the application
first starts up, so there is no delay later (or at least minimize the
delay). Can anybody make a recommendation on the best way to do this?
Also, how can I determine how much information I can load into memory
without overloading the system?

I'm using Visual Studio 2005 Professional Edition, and the Windows
Media Player COM component to play avi videos.

Thanks,
Grant

.



Relevant Pages

  • Loading files into memory
    ... I'm writing a program that will play several different videos clips, ... but there is a noticeable delay when I have the program wait until the ... I'm trying to figure out how to load ... all of the video files into the system memory when the application ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Slow startup of Deployed Application
    ... You could try writting a simple single form applicaton and add the ... this way the delay will only happen when the OS starts. ... I don't think the issue is the .NET framework but probably the JIT ... the same time to load for the client as does the production application we ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 30 second delay once i get to desktop in XP-why?
    ... Not that I think the post-desktop appearance delay is a real failure ... I suspect it's trying to load ... system tray shorten the delay. ...
    (microsoft.public.windowsxp.general)
  • Re: Slow startup of Deployed Application
    ... the same time to load for the client as does the production application we ... it is the first time they experience the delay ... ... It opens in 1 maybe 1.5 seconds. ... Yes it is slower than VB6, but not 10 seconds slower or even 4 seconds ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Getting started with IAR+MCB2130?
    ... I can load and verify code OK, but the 8 LEDs remain stuck on even ... Change blink delay to inline code of a long delay. ... Normally I would have the reset vector jump to initialisation code ...
    (comp.arch.embedded)