|
by: andrewcw |
last post by:
Is there a simpler way to rename a file other than copy
the source file to the target file, then deleting the
source file ? { i did not see any rename in the File
class )
|
by: Kathy Burke |
last post by:
Hello. In asp.net, when I rename a web form, it changes only the @page
name and the class name (as expected). It does not, of course, change
the Inherited reference in the @page. When I change it manually (because
my page only inherits itself) I get runtime error that it can't find the
orginal form. The form of course no longer exists in the active
project...and I don't want it to...
Any clues as to what reference change I must be...
|
by: Jason |
last post by:
Why is it that whenever I rename a form from Form1 to something else it
fails during the build. I get an error - Sub Main not found......
What is the problem? If I rename the form back to Form1, it works fine.
is there a fix?
|
by: Laurence Nuttall |
last post by:
I have a solution that has two projects
one a class library, and the other a windows
application that I use to test the class library.
The class library project has a class called Class1.
When I reference the class in the windows app
I say
Dim clsAbout As New About.Class1
clsAbout.ShowAbout()
|
by: Tony Meyer |
last post by:
On Windows, if I do os.rename(old, new) where old is a file that is
in-use (e.g. python itself, or a dll that is loaded), I would expect
that an error would be raised (e.g. as when os.remove is called with
an in-use file). However, what happens is that a copy of the file is
made, and the old file still exists.
For example:
C:\>c:\python24\python.exe
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) on win32
|
|
by: mantrid |
last post by:
Im trying to move a file but am having luck
my code is below. The temp and target paths are valid as they echo
correctly. but I cant get the copy() function to work, or the rename()
function
$target_path = $targetdir . basename($uploadedfile);
$temp_path = $tempdir. basename($uploadedfile);
echo "Target - ".$target_path." Temp - ".$temp_path."<br>";
|
by: hardik |
last post by:
can anyone tell me how i can change the filename which is going to
uploaded
here is a code for uploading a file
<!-- #include file="clsUpload.asp" -->
Set objUpload = New clsUpload
If objUpload.Files.Count 0 Then
objUpload.Files.Item(0).Save Server.MapPath("cupload\")
|
by: rn5a |
last post by:
An inquisitive question......
A ListBox lists all the directories & files residing in a directory on
the server. Assume that the ListBox lists 2 directories & 4 files. Also
assume that one of the directories is named 'mydir' (without the
quotes). Note that the all the letters in the directory name are in
lowercase.
To rename any directory/file, one can use the Move method of the
Directory/File class respectively but ASP.NET doesn't...
|
by: Bob Altman |
last post by:
Using VS 2008 SP1, is there a way to rename a CSS style and all of the
references to that style (short of doing a global find-and-replace in the
code)? You'd think that the Manage Styles and Apply Styles windows would
have a simple "rename this style" option that does this, but I can't find
it...
TIA - Bob
|
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: 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: 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: 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.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|