|
by: vince |
last post by:
MSDN help says you can use a UNC path for any methods
that accept a path, and I'm wondering if I can also
substitute an IP address for the UNC....???
Example:
Using System.IO.File.Move()
File.Move("\\\\MyServer\\share\\dir\\myfile.txt",
"\\\\YourServer\\share\\dir\\myfile.txt");
|
by: Maurice Mertens |
last post by:
Hi all,
is it possible to programmatically determine the current users permissions
on a file / directory? I want to check if the user can add/delete files to
a folder.
--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering
|
by: Aryeh Katz |
last post by:
I'd like to set the permissions on a file (directory) so that a user (and
only that user) is granted full control for that file.
Using c++, I was able to use the BuildExplicitAccessWithName, and
SetEntriesInAcl calls.
Is there a native c# way to do this?
Aryeh
|
by: Ollie Riches |
last post by:
I am executing a DTS programmatically from C# using COM interop. Is it
possible to set the 'script file directory' from the C# code?
For anyone else you gets an 'Access Denied Error' when attempting to run a
DTS package from code it is because the local machine attempting to run the
remote DTS package does not have the 'script file directory' defined on the
local machine.
Cheers
|
by: Antonio-F100 |
last post by:
Hello,
I need help creating the code for a macro
button on a form that will open a file
directory with windows explorer.
I have about 500 directories with very
long names and only want to input part
of the directory name into the table
that the form uses.
|
|
by: samjnaa |
last post by:
Please check for sanity and approve for posting at python-dev.
Currently file-directory-related functionality in the Python standard
library is scattered among various modules such as shutil, os,
dircache etc. So I request that the functions be gathered and
consolidated at one place. Some may need renaming to avoid conflicts
or for clarification.
|
by: peruron |
last post by:
Hello again!
I've been discussing the advantages of Python over C-Shell. I was asked if I can replace the use of "grep" in searching for a specific string in a multi-file directory - I have to go through all the files, and find all the occurrences of a specific string.
Can anyone suggest an idea?
Thanks!
|
by: anupkkumar |
last post by:
Hi All,
Is there any way to copy a file/ directory from one location to the other? The file or the directory name should be given by the user. This is the criteria.
For example:
My.Computer.FileSystem.CopyDirectory("C:\abc\<file/dir>", "D:\cde\<File/dir>")
Here the file/dir should be obtained from the user during runtime. Please let me know the code or the logic.
Thanks,
|
by: ateale |
last post by:
Hi Guys,
I am using ruby on rails trying to develop a basic cms/dam for our company.
The work we do is post production for television commercials. Each tv commercial we do broken down into 'shots' (or edit), and each shot usually goes through multiple versions/iterations. And lastly each of these shots incorporates elements from 2d and 3d artists - each having multiple versions.
What I want to do is find a way for artists/clients to be...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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.
|