On 1/23/06, chem engineer <chemical_engr@yahoo.com> wrote:
> http://www.aracnet.com/~cmorgan/gzdll_driver/ is the link
> to find a key tool which can help you solve your problem.
>
> If you have specific questions on how to make this work for you ... email
> me.
Don,
Thank you for the prompt response. I did finally get a moment today to
look at gzdll - which at first glance appears to be exactly what I
want. In practice however I cannot seem to make it work. Looking at
your message again, I appreciate the Socratic method but fear that
more detail is required.
The example code below runs, but with unexpected results:
dll = LoadDLL("gzdllgz.dll");
dll << CallDLL("gzdll_status_file", "c", "c:\temp\status.txt");
dll << CallDLL("gzdll_browse_initial_dir", "c", "c:\temp");
dll << CallDLL("gzdll_browse", "c", "All Files (*.*)|*.*");
dll << UnloadDLL();
This opens a dialog box that awaits for confirmation. Upon completion
the list of files is written to status.txt.
Questions: Can I avoid the dialog box (or automatically close it?) and
Am I missing a more direct way to obtain a list of files (other than
re-loading status.txt after completion?)
Trying another method,
dll << CallDLL("gzdll_exec", "c", "dir c:\temp");
also fails. I expected the directory to be written to status.txt - but
'dir' does not appear to be executable from this method.
Your assistance is most appreciated. How can I populate a list with
filenames using gzdll?
Kyle
|