Help Needed Urgently (for school) 
Author Message
 Help Needed Urgently (for school)

I need to finish this computer programming assignment by tomorrow, but I've
ran into a problem.

Briefly....

I need to access an unknown amount of *.mrk files (I made them).  they are
all in the current directory.  I've been trying to use the Dir function, but
with no luck.  All I can muster is a single file.  This needs to be done
automatically, and the file names will be changing with every use of the
program, so the program must find them.  It's 3:05 AM, and I'm not near
completion of this thing.  Of course it's due tomorrow, and yes, I've had
months to do it.  But nothing can be done about any of that now.  If someone
can give me a solution very soon (preferably through email), it would be
appreciated greatly!  I leave for school at about 9:00 AM, so any time from
now until then would be good (the sooner the better.)

I've been up for like 20 hours straight, so I don't know if this is making
any sense.  I'll go over it again, in case that first part was jibberish
(like my {*filter*}y code).  I need to find the file names of all files with a
specific extension (.mrk), in a single directory (the same directory the
program is running in, the CurDir).  I have tried using the Dir function,
but can only get one filename.  The help file says something about leaving
out attributes, and it will get the rest of the names or something (1 at a
time).  It doesn't seem to be working for me.  If you have any type of
solution PLEASE, mail me, or post it.  thank you.

Lovedeep Saran



Mon, 09 Jul 2001 03:00:00 GMT  
 Help Needed Urgently (for school)
Working off the top of my head it goes something like this...

Dim sTemp as String

sTemp = Dir("C:\MYDIR\*.MRK")

Do While sTemp <> ""

'    Add file to your list, or operate on it...

  sTemp = Dir

Wend

Quote:

>I need to finish this computer programming assignment by tomorrow, but I've
>ran into a problem.

>Briefly....

>I need to access an unknown amount of *.mrk files (I made them).  they are
>all in the current directory.  I've been trying to use the Dir function,
but
>with no luck.  All I can muster is a single file.  This needs to be done
>automatically, and the file names will be changing with every use of the
>program, so the program must find them.  It's 3:05 AM, and I'm not near
>completion of this thing.  Of course it's due tomorrow, and yes, I've had
>months to do it.  But nothing can be done about any of that now.  If
someone
>can give me a solution very soon (preferably through email), it would be
>appreciated greatly!  I leave for school at about 9:00 AM, so any time from
>now until then would be good (the sooner the better.)

>I've been up for like 20 hours straight, so I don't know if this is making
>any sense.  I'll go over it again, in case that first part was jibberish
>(like my {*filter*}y code).  I need to find the file names of all files with a
>specific extension (.mrk), in a single directory (the same directory the
>program is running in, the CurDir).  I have tried using the Dir function,
>but can only get one filename.  The help file says something about leaving
>out attributes, and it will get the rest of the names or something (1 at a
>time).  It doesn't seem to be working for me.  If you have any type of
>solution PLEASE, mail me, or post it.  thank you.

>Lovedeep Saran




Mon, 09 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. I need urgently need help

2. HELP!!! - need VB5 help, urgently

3. Help Needed Urgently? Please Help

4. school project need help now

5. newbie - need help for timer proj for school

6. Need Help on a school project

7. I need help for school

8. Urgent Help needed for School Project!!

9. Need help urgently

10. I need some DAO help urgently

11. Help Needed Urgently!!! (MS-ACCESS 2.0)

12. Excell Help needed URGENTLY!!!

 

 
Powered by phpBB® Forum Software