Re: can the loading of a large number of records go as quick as in DOS

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you are using OBDC/DAO/whatever to read from a MDB then it should be OK.
From your posting it seems that the old program only loaded data as it was
needed, why can't you use a similar philosophy here?
Secondly is there an apparent delay because the program does not display
until the data is loaded? if so move the data load out of the Form_Load, let
the program show itself then add then records.
There are at least as many different ways to do this as there are
programmers, but as you have given us virtually zero information as to how
you are doing this now, it's not easy to offer firm suggestions as to how to
improve matters.

Regards
Dave O.

"catharinus" <csvanderwerf@xxxxxxxxx> wrote in message
news:3f8a6703-6f51-450d-96ac-397caa442bd4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello

I have build a windows-copy of a DOS-accounting program.
All works nice, but the only thing that bothers me is the fact
that loading a large number of records is not as quick as in DOS.
How can I solve that problem. The data are shown in a MSHFlexGrid and
comes from an Access-database.

The diference between the DOS-and Windows program is probarbly caused
by using a different technic. It looks as DOS reads all the time from
and to the hard disk (and thus has only the visible records /data in
the memory) as Windows first loads all the records and so has all
these records all the time in memory.

Am I right and is there a solution for the delaying loading in the
windows-
program?
Thanks
Catharinus van der Werf
csvanderwerf@xxxxxxxxx


.



Relevant Pages

  • Re: MAKEINTRESOURCE
    ... few bytes here and there to keep from overflowing a 64K data segment was ... My memory of those days is fuzzy now (I once knew this ... "far" keyword you still see in many of the Windows headers to this day). ... this was more of an issue for DOS than it ...
    (microsoft.public.vc.language)
  • Re: Accessing bios information (windows)
    ... The 32-bit dos build would work, but the Windows build - way down at the bottom of the page - is probably what you want. ... debug is usefull enough: ... That will allow you to poke around in memory. ...
    (comp.lang.asm.x86)
  • Re: screenshots
    ... Back in the days of DOS, the PrtScn key used to print the screen. ... press alt-PrtScn to capture an image of the active window. ... captures the image to the Windows clipboard (in memory). ...
    (microsoft.public.windows.vista.general)
  • Re: Ram Drive
    ... DOS did not do pre-emptive multi-tasking. ... Data is literally left in memory ... > Is it possible to setup a ramdrive in Windows XP? ...
    (microsoft.public.windowsxp.general)
  • RE: Virtual memory
    ... You can configure virtual memory in windows xp and thereby improve the ... How to set performance options in Windows XP ... if you have background programs such as printing or disk ... It is also known as the paging file. ...
    (microsoft.public.windowsxp.perform_maintain)