🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Hein Ragas Mon, 25 Jan 1993 14:10
HELP wanted: filehandling in Visual Basic
#445
Author: Hein Ragas
Date: Mon, 25 Jan 1993 14:10
17 lines
951 bytes
Hello.

I am fairly new to Visual Basic, but I have been working in Basic for a 
long time now.

However, I have a problem, and I hope that someone more experienced with
Visual Basic can help me solve it.

Basically, it boils down to this:
 How can I determine whether a file (in this case a .BMP) exists in the
 given path?

If someone can tell me what I have to do to solve this problem, please,
mail me. I would be very grateful.

Greetings,
          Hein Ragas
Re: HELP wanted: filehandling in Visual Basic
#456
Author: Phillip Cooper
Date: Tue, 26 Jan 1993 15:59
26 lines
1125 bytes
In article <C1Ey0r.6z3@sci.kun.nl> heinr@sci.kun.nl (Hein Ragas) writes:
>Hello.
>
>I am fairly new to Visual Basic, but I have been working in Basic for a 
>long time now.
>
>However, I have a problem, and I hope that someone more experienced with
>Visual Basic can help me solve it.
>
>Basically, it boils down to this:
> How can I determine whether a file (in this case a .BMP) exists in the
> given path?
>
>If someone can tell me what I have to do to solve this problem, please,
>mail me. I would be very grateful.
>
>Greetings,
>          Hein Ragas
>

Use the Dir$ function
-- 
===================================================================
Phillip Cooper
Microsoft Developer Support Services
Only 7 more weeks to go!!!
Re: HELP wanted: filehandling in Visual Basic
#457
Author: Dennis Gellert
Date: Tue, 26 Jan 1993 22:00
30 lines
1492 bytes
In article <C1Ey0r.6z3@sci.kun.nl> heinr@sci.kun.nl (Hein Ragas) writes:
>From: heinr@sci.kun.nl (Hein Ragas)
>Subject: HELP wanted: filehandling in Visual Basic
>Summary: Help me please!
>Keywords: Visual Basic
>Date: Mon, 25 Jan 1993 14:10:02 GMT
>Hello.
>
>I am fairly new to Visual Basic, but I have been working in Basic for a 
>long time now.
>
>However, I have a problem, and I hope that someone more experienced with
>Visual Basic can help me solve it.
>
>Basically, it boils down to this:
> How can I determine whether a file (in this case a .BMP) exists in the
> given path?
>
>If someone can tell me what I have to do to solve this problem, please,
>mail me. I would be very grateful.
>
>Greetings,
>          Hein Ragas
>
Try the Dir$ function

eg:  tofind$ = Dir$("d:\path\filename.BMP")
If found, tofind$ will return the filename, else it will contain a null
string.
Dennis
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads