Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Copying multiple files using SHFILEOPSTRUCT


Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2001, 02:54 PM
paulcat
Guest
 
Posts: n/a
Default Copying multiple files using SHFILEOPSTRUCT


Hi From cd to harddrive, the code using SHFILEOPSTRUCT
'is working and it shows the progress bar just like when
'you copy files in windows to another folder or drive
'In the cd, we have 3 files to copy to harddrive
'and now what it is doing is, it ask us to replace the existing
'file on the harddrive 3x because there are three files to
'be replaced. Is there any way, it can ask, Yes To All? Or perhaps
'is there a way we can remove that confirmation dialog box? like
'just copy the files without asking if we want to replace the exisitng files?
'THANKS
Reply With Quote
  #2  
Old 10-12-2001, 03:18 PM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default Re: Copying multiple files using SHFILEOPSTRUCT

I believe you would include the FOF_NOCONFIRMATION value in your
fFlags.
Private Const FOF_NOCONFIRMATION = &H10&
__________________
Posting Guidelines
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->