G
Gary Roach
i'm using VBA with access under office XP and i want to execute a shell
function synchronously. i can get the task ID back from the shell call but
what do i do with it? the documentation on shell tells me:
By default, the Shell function runs other programs asynchronously. This
means that a program started with Shell might not finish executing before
the statements following the Shell function are executed.
which suggests that there is a way to override the default asynchronous
behaviour but it doesn't say how. currently i am using doevents but i don't
know if this is reliable. any ideas? your help is greatly appreciated.
gary
function synchronously. i can get the task ID back from the shell call but
what do i do with it? the documentation on shell tells me:
By default, the Shell function runs other programs asynchronously. This
means that a program started with Shell might not finish executing before
the statements following the Shell function are executed.
which suggests that there is a way to override the default asynchronous
behaviour but it doesn't say how. currently i am using doevents but i don't
know if this is reliable. any ideas? your help is greatly appreciated.
gary