|
by: Matthias Ludwig |
last post by:
I'm trying to create a directory on the web server with a
vb.net code:
....
Dim dirName As String = "w:\filepath\images"
If Not Directory.Exists(dirName) Then
Directory.CreateDirectory(dirName)
Label1.Text = "Directory created"
Else
|
by: Frederico Caldeira Knabben |
last post by:
Hello,
I'm having a problem when trying to use the Directory.CreateDirectory()
method. It throws a DirectoryNotFoundException exception. I'll try to
illustrate it:
Suppose you have the following (existing) directory:
d:\Sites\MySite\
And you whant to create the following:
|
by: Andy Lim |
last post by:
Hello all,
I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:
System.IO.DirectoryNotFoundException
What's wrong here? and how to resolve it?
|
by: Jacques Wentworth |
last post by:
I'm trying to access a Folder on a different Server using ASP.NET, and
are getting a DirectoryNotFoundException. It works fine when I access
the local drives on the server. I made sure the folder does exist.
I've put my code below to show what I'm trying to do.
Thanks
Jacques Wentworth
|
by: Joe |
last post by:
Hi,
I have written a webpage that allows a user to delete files in asp.net with
I am having a small problem.
To access this page a user has to login via login.aspx page. After
successful login, user is directed to a page called view.aspx which shows the
user the files in a directory and allows them to delete the files. This page
has a data grid having 4 columns - delete button, File Name, Last Write Time
and File Size. When a user...
|
|
by: Larry Viezel |
last post by:
I posted this problem on another forum previously, any help here would
be appreciated:
Two developers here are working on the same code in slightly different
environments. Jason programmed code to access a public folder on an
outside machine "\\usnynyc01ap002\". The code works fine on his box. He
is running Win2k3. I am running Windows 2000 Server. Running the same
code I get:
System.IO.DirectoryNotFoundException: Could not find a...
|
by: Bruce W. Darby |
last post by:
My application, prior to building it into an .exe, was working as it should.
As soon as I performed the build and attempted to run the application
outside the IDE, I got an error message stating DirectoryNotFoundException
unhandled. It then gives me the directory that it cannot find and I know why
it can't find it... It doesn't exist! What the program is now doing is
concatenating the projects directory with the filename of the folder that...
|
by: Dan Christensen |
last post by:
Hi, I've been using MSBee to build a small program for some time now
(since not everyone seems to have the 2.0 CLI installed yet).
Recently I decided to add some buttons that used images, so I naturally
placed the images in the project directory, then assembled them into a
resource file using the resource editor, which VS2005 placed the final
resource file in Properties\Resources.resx. All seemingly normal, no
hiccups thus far. ...
|
by: cw808 |
last post by:
Hi all. I'm new here but hoping I can get some help for my problem.
My situation is that I need to upload files through a C# .NET web application to a file server. I done a search and followed some advice on how to set it up.
My environment is Windows 2003 file server, Windows 2000 web service (IIS) and .NET v1.1.4.
So far I've done this.
Windows 2003 file server: Created an account SHAREUSER. Created a share MEDIA. SHAREUSER is...
|
by: Berryl Hesh |
last post by:
I don't know where the "%" sysmbols are coming from, but without them this
is a valid directory. I've pasted both the exception and code that
triggeered it below. The purpose of this code block is to gather a list of
dll's.
Thanks - BH
Here is the Code
/-------------------------------/
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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: 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...
|