How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists?
How do you check to see if a file exists? How do you check to see if a file exists?
How do you check to see if a file exists?
Go Back  Xtreme Visual Basic Talk > > > How do you check to see if a file exists?


Reply
 
Thread Tools Display Modes
  #1  
Old 12-16-2003, 12:43 PM
theberzerker69 theberzerker69 is offline
Centurion
 
Join Date: Dec 2003
Posts: 148
Default How do you check to see if a file exists?


In VB.NET, how do you check to see if a file exists or not. Maybe with a reply of a true/false statement? thanks
Reply With Quote
  #2  
Old 12-16-2003, 02:18 PM
reboot's Avatar
rebootHow do you check to see if a file exists? reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

Code:
Imports System.IO If File.Exists(fileName) Then 'file exists End If
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File I/O GavinO Tutors' Corner 5 04-17-2013 01:18 PM
Installation Problem - PLs help urgenlty dpdsouza Installation / Documentation 4 12-02-2004 07:09 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists? How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists? How do you check to see if a file exists?
How do you check to see if a file exists?
How do you check to see if a file exists?
 
How do you check to see if a file exists?
How do you check to see if a file exists?
 
-->