- Joined
- Nov 8, 2008
- Messages
- 779 (0.13/day)
- Location
- Sydney, Australia
System Name | Gearbox || Server |
---|---|
Processor | i5 3570K @ 4.0Ghz || E8400 @ Stock 3Ghz |
Motherboard | Gigabyte Z68XP-UD3 || Gigabyte EP41-UD3L |
Cooling | Stock || Stock |
Memory | 8GB G.Skill RipjawX DDR3 @ 1600mhz || 4GB Kingston Value DDR2 800Mhz |
Video Card(s) | ASUS R9 270X Direct CU II TOP @ 1120/1500 || N/A |
Storage | Samsung 840 EVO 250GB || 1TB WD Green, 2TB WD Green, 3TB WD Red |
Display(s) | HP x23 LED 23" Full HD Panel |
Case | Corsair 200R || Open-Air |
Audio Device(s) | Audioengine D1 + Logitech Z623/Audio Technica ATH-M50 || N/A |
Power Supply | Antec EarthWatts Platinum 650 W || Antec Neo Eco 450 W |
Software | Windows 8.1 Update 3 Pro 64 || Ubuntu Server 14.04 64 |
Heres mai code:
I wanted to add a boolean so it would automatically overwrite the directory like so:
But it wont accept it :[
How can i copy a folder so it automatically overwrites while showing the copy boxes?
FYI I have already tried this:
And there are End if's lol
This is really puzzling me :[
Code:
If CheckBox1.Checked Then
My.Computer.FileSystem.CopyDirectory(folder, newlocation, FileIO.UIOption.AllDialogs, FileIO.UICancelOption.DoNothing)
I wanted to add a boolean so it would automatically overwrite the directory like so:
Code:
If CheckBox1.Checked Then
My.Computer.FileSystem.CopyDirectory(folder, newlocation, FileIO.UIOption.AllDialogs, FileIO.UICancelOption.DoNothing, True)
But it wont accept it :[
How can i copy a folder so it automatically overwrites while showing the copy boxes?
FYI I have already tried this:
Code:
[CODE]If CheckBox1.Checked Then
My.Computer.FileSystem.CopyDirectory(folder, newlocation, FileIO.UIOption.AllDialogs, FileIO.UICancelOption.DoNothing, True)
On Error Resume Next
And there are End if's lol
This is really puzzling me :[