Iterating through dir of JPG file displaying each in turn

ukdan2k2k
ukdan2k2k used Ask the Experts™
on
I have a program that records up to 10 JPG files per second to a directory, the files are sequentially named by date, time and millisecond, i.e.:

pic 17 24 55 23.jpg
pic 17 24 55 53.jpg
pic 17 24 56 27.jpg
 
basically I have an ActiveX control with a SetImage method to display these JPG images, i.e.:

myActiveXControl.Setimage("c:\test\pic 17 24 55 23.jpg")

My question is I need a routine that would iterate through the files in the directory displaying each file in turn, it would need to have 2 cmd buttons, Start (which would start cycling through the files one by one sequentially), and Stop (which presumably would stop cycling, make a note of the current file to start from when the start button is pressed).

Kind Regards,

Dan
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Author of the Year 2009

Commented:
Hi ukdan2k2k,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

ukdan2k2k, Please DO NOT accept THIS comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial