|
by: Brad |
last post by:
I have been working on a class that moves files around and have come to a need to move an entire directory at one time. I thought that this would be really simple (some kind of CopyDirectory command) but no such luck. How can you move a Folder/Directory in vb.net
Thank
Brad
|
by: Karel |
last post by:
Hello,
I have a VB.NET application where I want to move directories over a
network.
I tried this with system.io.directory.move, but that doesn't work over
different volumes.
Has anyone a sollution for this problem?
thx
|
by: Paul Bromley |
last post by:
How can I create a directory within a shared ntwork directory??
sServerName - is the Server name
"\Docs" - is the shared directory
"\Others" - is the directory to create.
The following does not work, although I can through code open and copy files
from "\Docs"
|
by: Phil Galey |
last post by:
In VB.NET, is there any way to copy a directory and all its contents to a
new location using io.Directory or io.DirectoryInfo etc. without having to
import the Scripting.FileSystemObject?
io.Directory and DirectoryInfo only seem to have a Move command, but what
about copying?
|
by: **Developer** |
last post by:
Is there an easy way to copies all files in a directory into another
directory?
What about coping subdirectories too?
Thanks in advance for any info
|
|
by: samoore33 |
last post by:
I found a real nice article on how to copy a directory on MSDN. The
only problem is that I can not figure out how to get the namespace
Microsoft.VisualBasic.MyServices. I wanted to know if anyone else has
had experience with this, or knows of a different way to copy a
directory using VB.
I found ways to copy files, but not having a lot of luck with finding a
way to copy a directory other then this information I am finding on
MSDN.
|
by: Toolsmith |
last post by:
The following code:
C# code:
Directory.CreateDirectory("D:\\somewhere\\somewhereelse\\here\\")
works, but the following does flags the error:
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
|
by: Robert |
last post by:
Greetings
New to Visual Studio 2008.
Always us VB6.0 SP5.
I am trying to copy files from A to B.
I select a directory, and copy files. Works ok, but it does not create the
directory first.
snippet.
Private Sub cmdTo_Click(ByVal sender As System.Object, ByVal e As
|
by: Tom |
last post by:
This is really weird, but I have the following code:
private static readonly string mString = "tempUnzipDir" +
Path.DirectorySeparatorChar;
....
public static string ExtractToTempLocation(string aZip)
{
try
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|