Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21452

[RESOLVED] Picture

$
0
0
dim x as integer
dim myday as string
myday = format$(now,"mm")
for x = 0 to 11
image(x).picture = image(index).picture
next
if myday = myday then image1(index).picture= app.path & "\*.jpg"
' that's okej

Now is the question
when I have in app.path 12 pictures
numbered from 01 to 12
How can I get the picture for the month
that myday is corresponding to.

Say myday = july then picture should be
the picture 07.jpg and next month
shold it be picture 08.jpg and so on

Viewing all articles
Browse latest Browse all 21452

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>