Click here to Skip to main content
15,912,400 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalupdating Access Pin
monkeyjoe12-Aug-04 8:03
monkeyjoe12-Aug-04 8:03 
GeneralDataSet and DataGrid Pin
Member 129483012-Aug-04 7:53
Member 129483012-Aug-04 7:53 
GeneralRe: DataSet and DataGrid Pin
monkeyjoe12-Aug-04 8:16
monkeyjoe12-Aug-04 8:16 
GeneralRe: DataSet and DataGrid Pin
Member 129483012-Aug-04 8:52
Member 129483012-Aug-04 8:52 
GeneralRe: DataSet and DataGrid Pin
Anonymous13-Aug-04 9:50
Anonymous13-Aug-04 9:50 
QuestionWhat is the best 3rd Party Grid Control? Pin
mudbuddy1112-Aug-04 6:19
mudbuddy1112-Aug-04 6:19 
AnswerRe: What is the best 3rd Party Grid Control? Pin
cvp7712-Aug-04 21:55
cvp7712-Aug-04 21:55 
GeneralAccessing files while being copied Pin
Simon Kearn12-Aug-04 6:13
sussSimon Kearn12-Aug-04 6:13 
I have a VB 6.0 DLL application (not .NET) that monitors an FTP directory at a specific interval. When a file gets place in the directory the DLL then moves it to another location and puts it under configuration Management control. This all seems to work fine.

Recently though the files being transferred from an AIX system to the NT system are becoming quite large, approx 20Mb. My problem is that the monitoring of a file in the FTP directory can coincide with a file actually appearing. This can then cause the scenario where the file is being moved from the FTP directory before the FTP copy has completed, and therefore I get files where the size is seriously reduced. Since these files are Zip files it means that I then get a corruption error when I try to unzip the files.

Is there any way that I can check to ensure that a file is not in the middle of being copied before I move it.

I noticed that there was a MoveFileEx Win32 API where you can state that the move function will only complete once the file has been successfully transferred, but that doesn't really help me out here as the file is coming from an AIX box and not from another NT directory.

Simes
GeneralRe: Accessing files while being copied Pin
Dave Kreskowiak12-Aug-04 7:22
mveDave Kreskowiak12-Aug-04 7:22 
GeneralAI Project Pin
Anonymous12-Aug-04 5:54
Anonymous12-Aug-04 5:54 
GeneralRe: AI Project Pin
Dave Kreskowiak12-Aug-04 6:58
mveDave Kreskowiak12-Aug-04 6:58 
QuestionCan anyone suggest the right approach for the below mentioned issue/combination in Horizontal approuch on vb to .net migration Pin
ramarao21212-Aug-04 4:29
sussramarao21212-Aug-04 4:29 
GeneralCreateRemoteThread fails with Custom VB6 DLL Pin
Dr Memory12-Aug-04 3:25
Dr Memory12-Aug-04 3:25 
GeneralCreateRemoteThread fails with ActiveX DLL Pin
Dr Memory12-Aug-04 11:00
Dr Memory12-Aug-04 11:00 
Generali need to make search engine...!! Pin
Ashraf Fathy12-Aug-04 3:02
Ashraf Fathy12-Aug-04 3:02 
GeneralRe: Modify .xls from VB6 Pin
Purple Monk12-Aug-04 2:54
Purple Monk12-Aug-04 2:54 
GeneralModify .xls from VB6 Pin
Pablo.ar12-Aug-04 2:34
Pablo.ar12-Aug-04 2:34 
QuestionHow to Delete a file in C# or VB.NET Pin
Prabhu Ram Prasath12-Aug-04 1:59
Prabhu Ram Prasath12-Aug-04 1:59 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 3:07
Member 53081012-Aug-04 3:07 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 3:11
mveDave Kreskowiak12-Aug-04 3:11 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 3:37
mveDave Kreskowiak12-Aug-04 3:37 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 4:32
Member 53081012-Aug-04 4:32 
GeneralRe: How to Delete a file in C# or VB.NET Pin
Dave Kreskowiak12-Aug-04 5:22
mveDave Kreskowiak12-Aug-04 5:22 
AnswerRe: How to Delete a file in C# or VB.NET Pin
Member 53081012-Aug-04 4:34
Member 53081012-Aug-04 4:34 
GeneralUnlocking Crystal Reports - vb6 Pin
steff kamush11-Aug-04 23:18
steff kamush11-Aug-04 23:18 

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.