Tech Support Guy banner
Status
Not open for further replies.
1 - 6 of 6 Posts

· Registered
Joined
·
52 Posts
Discussion Starter · #1 ·
I HAVE A DOS PROGRAM i.e. A C PROG. THAT WRTE TO THIS FILE CONTINOUSLY.

NOW I WANT AT SAME TIME IT SHOULD BE READ THROUGH vb CODE.

IS THIS POSSIBLE?
IS SO HOW??
IF NOT WHY?
 

· Registered
Joined
·
52 Posts
Discussion Starter · #3 ·
its a text file that is continously written by DOS program
 

· Registered
Joined
·
52 Posts
Discussion Starter · #5 ·
its saying file cannot be accessed as its in use .
 

· Registered
Joined
·
2,313 Posts
Exactly that is what is likely to happen. As soon as one of the applications opens it, it is locked. Only when it is closed will it be unlocked.

Even otherwise, it is not advisable to have two applications accessing the same file (especially a text file).

You can try opening the file as read-only in one of the applications. You can't open as Read-Write thru both of them. May create a mess of it.

But still, please tell me the purpose of doing this. May be you don't need to open it through both the applications.
 
1 - 6 of 6 Posts
Status
Not open for further replies.
Top