473,385 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How To Know a File or Folde is Exist in Specific Folder Using vb.net2005

mafaisal
142 100+
Hello Experts

I am Using vb.net2005
How To Know a File or Folde is Exist in Specific Folder Using vb.net2005
eg : test.txt this file is exist in D:\Faisal
Hw to check this

Faisal
Mar 21 '08 #1
2 1164
balabaster
797 Expert 512MB
Hello Experts

I am Using vb.net2005
How To Know a File or Folde is Exist in Specific Folder Using vb.net2005
eg : test.txt this file is exist in D:\Faisal
Hw to check this

Faisal
If System.IO.File.Exists("D:\Faisal\Test.txt") Then...
Mar 21 '08 #2
mafaisal
142 100+
Hello Balabaster

Thanx For ur Reply
Its i needed

Faisal

If System.IO.File.Exists("D:\Faisal\Test.txt") Then...
Mar 21 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: fripper | last post by:
When testing a VB .Net application on my system (with IIS installed) I get an error message when using the fileopen function and the file does not exist ... i.e. I want fileopen to create the file....
0
by: Rob Tomson | last post by:
--C#, VS.net 2003, WinXP SP1- how can i copy a file to a website, ie. file.ext ---> http://site.site.com/folde the way i've been putting my files in is creating a webfolder in windows and then...
8
by: Mr. B | last post by:
I'm writing an app where I'm trying to look for and List all specific file 'types' found. So I point to a specific start top level Folder... and I want to drill down through ALL sub folders to...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
3
by: OdAwG | last post by:
Hello All, I would i check to see if a file exist and if it does exist, then rename the file with the date and time attached to the name: Example: If...
8
seshu
by: seshu | last post by:
hi every body this is seshu i have a problem in moveing files in a folder to to anther file the problem is like this in a folder with name files i have nine files with names...
20
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, If in an ASP program, I need to display a pdf file link for users to print and read. Is there any security issue? We are thinking about doing this is many mail servers block emails with...
5
by: Eugene Anthony | last post by:
ds1.Tables.Rows.ItemArray.GetValue(0).ToString() contains the string path: images/5/Video1/qbert.flv if (File.Exists(ds1.Tables.Rows.ItemArray.GetValue(0).ToString())) { //code to execute } ...
2
by: =?Utf-8?B?TWFyYyBBbGxhcmQ=?= | last post by:
Hello, I have posted this message in the normal newsgroup instead of posting it in the managed ones. I have a project in VB6 (GDI+) that will read a WMF File (created by my customer) and then...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.