Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

file existing ?

Posted on 1999-07-15
5
Medium Priority
?
131 Views
Last Modified: 2010-05-02
which function do check whether a file is exist ?
I think it is a easy question
0
Comment
Question by:adrianmak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 10

Expert Comment

by:caraf_g
ID: 1524928
You still haven't graded all your locked questions.
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 1524929
Just in case you don't know how.. Click on your ID which is displayed at the top of your question. This will bring you into your user ID. This is an overview screen. But there is a "View" button on it.

Click the view button, and you'll see a list of all the questions you have asked/answered so far.

There are a lot there that are "Locked". Open them, and accept or reject the answers. But don't just leave them sitting there.
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1524930
sorry don't answer questions below 50 points.
0
 
LVL 18

Accepted Solution

by:
deighton earned 0 total points
ID: 1524931
Dim sfile

sfile = "c:\autoexec.bat"
If Dir(sfile) <> "" Then
    MsgBox "exists"
Else
    MsgBox "No exists"
End If
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 1524932
Of course, as long as people keep answering your questions you keep getting away with it.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question