A family of Microsoft relational database management systems designed for ease of use.
I think you been mislead on the workings of that command. The ipconfig /flushdns does not “flush” the data cache used by Access or the disk drive cache used by Access + the operating system.
So such a command would not help nor free up any resources used by Access nor make any signification more resources available.
In other words, the above command has ZERO relation to the workings of Access and the amounts of memory related or used by the flushdns is VERY TINY and would not effect nor help or free up any kind of resources that would help or enable to Access to run faster or better in any reasonable way I can think of.
The DNS entries (network resolution) entries are “cached” to enhance performance, and the above simply flushes out that cache. Within several seconds of such a flush, the cache would be re-filled with the DNS entries again. In other words, such a command will flush out a VERY small cache, and re-load it. (say if a web site was moved to a different server – your ip resolution to that web site would be re-loaded).
Regardless, that cache and resources used is VERY tiny. The “act” of having an option to flush that IP cache was NEVER for the concept of freeing up resources, but only to force a RE-LOAD of the cache. So this is certainly not something that frees up resources, but only in effect forces a re-load of that resource.
At the end of the day that IP resolution system is not seen or used or does anything that would effect or be relevant to Access in terms of resources used, or being freed up in any way that affects operation of Access.
You can certainly execute the above command from VBA with by using the VBA shell() function, but use of such a command would not help nor release any resouces that would help or improve access operation.
Are you saying when you execute this command manual at the command prompt, then noticeable resources are freed up? (fire up task manager to view free memory). Then simply execute your above ip command and look at free memory. I betting you will NOT see or notice a increase in free memory.
Regards,
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada