Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > system.Io function

Reply
Thread Tools

system.Io function

 
 
rahim
Guest
Posts: n/a
 
      12-18-2003
hi, i want to know whether a file exists are not in a
particular directory.

how to write a function for it in asp.net using vb


 
Reply With Quote
 
 
 
 
SSW
Guest
Posts: n/a
 
      12-18-2003
File.Exists(path)

HTH

Thanks,

sswalia
MCAD, MCSD, OCA

"rahim" <(E-Mail Removed)> wrote in message
news:059d01c3c523$20c4c700$(E-Mail Removed)...
> hi, i want to know whether a file exists are not in a
> particular directory.
>
> how to write a function for it in asp.net using vb
>
>



 
Reply With Quote
 
 
 
 
Jerry Boone
Guest
Posts: n/a
 
      12-18-2003
If System.IO.File.Exists("C:\somefile.txt") then
'it exists
End If

--
Jerry Boone
Analytical Technologies, Inc.
http://www.antech.biz



"rahim" <(E-Mail Removed)> wrote in message
news:059d01c3c523$20c4c700$(E-Mail Removed)...
> hi, i want to know whether a file exists are not in a
> particular directory.
>
> how to write a function for it in asp.net using vb
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function versus pointer to function, in context of std::function,huh? Alf P. Steinbach C++ 10 07-27-2011 05:51 AM
Function pointer to void function and int function Giannis Papadopoulos C Programming 5 09-05-2005 09:06 PM
How override ALL function calls? (Is there a "function call function"?) seberino@spawar.navy.mil Python 2 08-01-2005 12:38 PM
write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function parameter komal C++ 6 01-25-2005 11:13 AM
Passing a C++ object's member function to a C function expecing a function pointer! James Vanns C++ 7 01-21-2004 02:39 AM



Advertisments