|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Hide confirmation dialog to appear when a file is copied using scr Hi I have this vb script running on XP - SP2 I'm using the FOF_SILENT flag to hide the progress dialog but It sill diaplays. Here is the code: Set oApp = CreateObject("Shell.Application") Set oZipFolder = oApp.Namespace("C:\Temp\") oZipFolder.MoveHere "C:\ABC\XYZ.TXT\", FOF_SILENT Please help. Thank you |
| |||
| Re: Hide confirmation dialog to appear when a file is copied using scr Add this at the top: Const FOF_SILENT = &H4& -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] Windows® Troubleshooting http://www.winhelponline.com "Ben" <Ben@discussions.microsoft.com> wrote in message news:71FB8AD2-2658-473E-AEB4-92DBBC8F94AB@microsoft.com... Hi I have this vb script running on XP - SP2 I'm using the FOF_SILENT flag to hide the progress dialog but It sill diaplays. Here is the code: Set oApp = CreateObject("Shell.Application") Set oZipFolder = oApp.Namespace("C:\Temp\") oZipFolder.MoveHere "C:\ABC\XYZ.TXT\", FOF_SILENT Please help. Thank you |
| |||
| Re: Hide confirmation dialog to appear when a file is copied using scr There are many other options that you can use. See also: MoveHere Method (Folder): http://msdn2.microsoft.com/en-us/library/ms630715.aspx -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] Windows® Troubleshooting http://www.winhelponline.com "Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message news:u%23ywzK%23eHHA.5052@TK2MSFTNGP06.phx.gbl... Add this at the top: Const FOF_SILENT = &H4& -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] Windows® Troubleshooting http://www.winhelponline.com "Ben" <Ben@discussions.microsoft.com> wrote in message news:71FB8AD2-2658-473E-AEB4-92DBBC8F94AB@microsoft.com... Hi I have this vb script running on XP - SP2 I'm using the FOF_SILENT flag to hide the progress dialog but It sill diaplays. Here is the code: Set oApp = CreateObject("Shell.Application") Set oZipFolder = oApp.Namespace("C:\Temp\") oZipFolder.MoveHere "C:\ABC\XYZ.TXT\", FOF_SILENT Please help. Thank you |
| |||
| Re: Hide confirmation dialog to appear when a file is copied using Hi Ramesh, Thank you for your response, I alredy have Const FOF_SILENT = &H4& and I have tryed all the other options from the web site and still have the pop up dialog. Is it a bug in the script dll? Ben. "Ramesh, MS-MVP" wrote: > There are many other options that you can use. See also: > > MoveHere Method (Folder): > http://msdn2.microsoft.com/en-us/library/ms630715.aspx > > -- > Regards, > > Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] > Windows® Troubleshooting http://www.winhelponline.com > > > "Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message news:u%23ywzK%23eHHA.5052@TK2MSFTNGP06.phx.gbl... > Add this at the top: > > Const FOF_SILENT = &H4& > > -- > Regards, > > Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] > Windows® Troubleshooting http://www.winhelponline.com > > > "Ben" <Ben@discussions.microsoft.com> wrote in message news:71FB8AD2-2658-473E-AEB4-92DBBC8F94AB@microsoft.com... > Hi I have this vb script running on XP - SP2 > > I'm using the FOF_SILENT flag to hide the progress dialog > but It sill diaplays. > > Here is the code: > Set oApp = CreateObject("Shell.Application") > Set oZipFolder = oApp.Namespace("C:\Temp\") > oZipFolder.MoveHere "C:\ABC\XYZ.TXT\", FOF_SILENT > > Please help. > Thank you > |
| |||
| Re: Hide confirmation dialog to appear when a file is copied using Ben, >> I alredy have Const FOF_SILENT = &H4& I don't see that in the original code you posted. It works fine here after adding the "Const" line. No progress bar displayed. -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] Windows® Troubleshooting http://www.winhelponline.com "Ben" <Ben@discussions.microsoft.com> wrote in message news:497B55AA-86BB-48D7-A11A-5D0B3F6848C5@microsoft.com... Hi Ramesh, Thank you for your response, I alredy have Const FOF_SILENT = &H4& and I have tryed all the other options from the web site and still have the pop up dialog. Is it a bug in the script dll? Ben. "Ramesh, MS-MVP" wrote: > There are many other options that you can use. See also: > > MoveHere Method (Folder): > http://msdn2.microsoft.com/en-us/library/ms630715.aspx > > -- > Regards, > > Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] > Windows® Troubleshooting http://www.winhelponline.com > > > "Ramesh, MS-MVP" <ramesh@XOX.mvps.org> wrote in message news:u%23ywzK%23eHHA.5052@TK2MSFTNGP06.phx.gbl... > Add this at the top: > > Const FOF_SILENT = &H4& > > -- > Regards, > > Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] > Windows® Troubleshooting http://www.winhelponline.com > > > "Ben" <Ben@discussions.microsoft.com> wrote in message news:71FB8AD2-2658-473E-AEB4-92DBBC8F94AB@microsoft.com... > Hi I have this vb script running on XP - SP2 > > I'm using the FOF_SILENT flag to hide the progress dialog > but It sill diaplays. > > Here is the code: > Set oApp = CreateObject("Shell.Application") > Set oZipFolder = oApp.Namespace("C:\Temp\") > oZipFolder.MoveHere "C:\ABC\XYZ.TXT\", FOF_SILENT > > Please help. > Thank you > |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Confirmation dialog - checked as default ? | Poster | Windows Vista | 0 | 01-09-2008 09:20 AM |
| Copying Dialog appears over Confirm File Replace dialog | theclyde | Windows Vista | 1 | 06-12-2007 04:20 PM |
| Windows dialog doesn't show filename of file being copied or moved? | theFATboy | Windows Vista | 6 | 06-03-2007 03:50 PM |
| Re: Refresh button (F5) and Turn off confirmation dialog in IE | Matt Phipps | Internet Explorer | 0 | 05-06-2007 08:28 AM |
| File size different on disk and copied file Why? | Spikey | Windows XP | 11 | 01-23-2007 09:30 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |