Click here to Skip to main content
15,913,225 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: How to chek file is in Progress Pin
Steven J Jowett29-Jun-09 1:24
Steven J Jowett29-Jun-09 1:24 
AnswerRe: How to chek file is in Progress Pin
Anubhava Dimri29-Jun-09 18:55
Anubhava Dimri29-Jun-09 18:55 
GeneralRe: How to chek file is in Progress Pin
Steven J Jowett29-Jun-09 22:38
Steven J Jowett29-Jun-09 22:38 
You are getting the error because the file is still open/being written too, therefore your program cannot gain access.

What you need to do is keep checking the state of the file until it has been released and the perform whatever tasks you need for example :-

Dim OK As Boolean
Do

Try
 'Open file and perform tasks here
  OK = True
Catch
  OK = False
End Try

Until OK


Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.

GeneralRe: How to chek file is in Progress Pin
Anubhava Dimri29-Jun-09 23:15
Anubhava Dimri29-Jun-09 23:15 
GeneralRe: How to chek file is in Progress Pin
Dave Kreskowiak30-Jun-09 1:33
mveDave Kreskowiak30-Jun-09 1:33 
AnswerRe: How to chek file is in Progress Pin
Anoop Brijmohun29-Jun-09 1:25
Anoop Brijmohun29-Jun-09 1:25 
QuestionDefault image in vb.net [modified] Pin
mirzamujib28-Jun-09 22:10
mirzamujib28-Jun-09 22:10 
AnswerRe: Default image in vb.net Pin
Christian Graus28-Jun-09 23:22
protectorChristian Graus28-Jun-09 23:22 
GeneralRe: Default image in vb.net Pin
mirzamujib29-Jun-09 2:06
mirzamujib29-Jun-09 2:06 
GeneralRe: Default image in vb.net Pin
Christian Graus29-Jun-09 10:33
protectorChristian Graus29-Jun-09 10:33 
QuestionFill FormName in ComboBox Pin
hamed200928-Jun-09 19:50
hamed200928-Jun-09 19:50 
AnswerRe: Fill FormName in ComboBox Pin
Christian Graus28-Jun-09 20:07
protectorChristian Graus28-Jun-09 20:07 
QuestionNull values vb6 + access97 [modified] Pin
spruha36928-Jun-09 18:02
spruha36928-Jun-09 18:02 
AnswerRe: Null values vb6 + access97 Pin
Rajesh Anuhya28-Jun-09 18:21
professionalRajesh Anuhya28-Jun-09 18:21 
GeneralRe: Null values vb6 + access97 [modified] Pin
spruha36928-Jun-09 20:58
spruha36928-Jun-09 20:58 
GeneralRe: Null values vb6 + access97 Pin
Nagy Vilmos29-Jun-09 3:06
professionalNagy Vilmos29-Jun-09 3:06 
AnswerRe: Null values vb6 + access97 Pin
Steven J Jowett29-Jun-09 1:27
Steven J Jowett29-Jun-09 1:27 
AnswerRe: Null values vb6 + access97 Pin
Thomas Krojer29-Jun-09 2:14
Thomas Krojer29-Jun-09 2:14 
AnswerRe: Null values vb6 + access97 Pin
paas29-Jun-09 2:43
paas29-Jun-09 2:43 
AnswerRe: Null values vb6 + access97 Pin
spruha36929-Jun-09 2:56
spruha36929-Jun-09 2:56 
QuestionFirebird and Vb.Net Pin
softhut28-Jun-09 13:39
softhut28-Jun-09 13:39 
AnswerRe: Firebird and Vb.Net Pin
Christian Graus28-Jun-09 14:53
protectorChristian Graus28-Jun-09 14:53 
Questionexcel add-ins Pin
ahawari0928-Jun-09 8:02
ahawari0928-Jun-09 8:02 
AnswerRe: excel add-ins Pin
Tiyani Miyambo28-Jun-09 21:05
Tiyani Miyambo28-Jun-09 21:05 
AnswerRe: excel add-ins Pin
Sonhospa28-Jun-09 21:06
Sonhospa28-Jun-09 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.