Re: FileInfo.CopyTo
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Wed, 25 Apr 2007 12:54:43 +0000 (UTC)
Hello Jon,
Set the TRUE in the second params of FileInfo.CopyTo
http://msdn2.microsoft.com/en-us/library/aa328782(VS.71).aspx
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:
http://spaces.live.com/laflour
Team blog:
http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
JJ> In VB I use FileInfo.CopyTo and get an error when the destination
JJ> file already exists. What do I use to copy to a destination and
JJ> write over the existing file?
JJ>
JJ> Thanks,
JJ> Jon
.
Relevant Pages
- Re: Hiding Controls
... WBR, Michael Nemtsev [.NET/C# MVP]. ... Team blog: http://devkids.blogspot.com/ ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... j> am looking for is if I have a grid and then below that another grid, ... (microsoft.public.dotnet.framework.aspnet) - Re: Classic ASP pages living among a ASP.NET Web App
... WBR, Michael Nemtsev [.NET/C# MVP]. ... Team blog: http://devkids.blogspot.com/ ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... Some OutOfMemory exceptions and a few other seemingly ... (microsoft.public.dotnet.framework.aspnet) - Re: aspnet_regiis.exe is not a valid Win32 application
... WBR, Michael Nemtsev [.NET/C# MVP]. ... Team blog: http://devkids.blogspot.com/ ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... Substitute the correct drive letter if you're booting from a drive ... (microsoft.public.dotnet.framework.aspnet) - Re: small problem with ASP 1.1 version problem in IIS6
... WBR, Michael Nemtsev [C# MVP]. ... Team blog: http://devkids.blogspot.com/ ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... Leaving other sites on the same server ... (microsoft.public.dotnet.framework.aspnet) - Re: Disallow download of certain file type
... WBR, Michael Nemtsev [.NET/C# MVP]. ... Team blog: http://devkids.blogspot.com/ ... "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" Michelangelo ... I can't place an mdb database above the http root, ... (microsoft.public.dotnet.framework.aspnet) |
|