|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Copying csv files
I'm trying to copy a csv file in VB.net using "CopyTo()" it copies the file but.... it copies none of the data,
also when I try to open the file in Access an error pops-up stating that Access is "unable to read file". Thanks in advance for any help! |
|
#2
|
|||
|
|||
|
Quote:
Okay I've now got it copying a file (had to copy it then overwrite), but if the file is smaller than 1kb it won't copy (same problem as above). Anybody have any insight into copying small files? The size shouldn't matter should it? |
|
#3
|
|||
|
|||
|
Have you tried shell (I don't know .net but in VB6)?
if command.com exists shell "c:\command.com /C copy file1 file2 > NULL" if not shell "c:\Windows\system32\cmd.exe /c copy file1 file2 >Null" |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Copying csv files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|