From: LondonLad on
Hi
I have about 100 plus folders, within those folders can be files from 2 to 15
which I want to edit so I thought the best way was display the contents of
each folder in a listbox select the file by clicking on it, amend and return
it to a new folder.
I can select and load the listbox without a problem, and then I can edit the
data but i cannot seem to be able to put the data into a new folder.
Can you help please.

Ron
From: Jeff Johnson on
"LondonLad" <LondonLad(a)discussions.microsoft.com> wrote in message
news:CFF70CFC-FCAA-4CFE-9B61-E082026F2C48(a)microsoft.com...

> I have about 100 plus folders, within those folders can be files from 2 to
> 15
> which I want to edit so I thought the best way was display the contents of
> each folder in a listbox select the file by clicking on it, amend and
> return
> it to a new folder.
> I can select and load the listbox without a problem, and then I can edit
> the
> data but i cannot seem to be able to put the data into a new folder.
> Can you help please.

More details please. Sample code would be nice.


From: Karl E. Peterson on
LondonLad wrote:
> Hi
> I have about 100 plus folders, within those folders can be files from 2 to 15
> which I want to edit so I thought the best way was display the contents of
> each folder in a listbox select the file by clicking on it, amend and return
> it to a new folder.
> I can select and load the listbox without a problem, and then I can edit the
> data but i cannot seem to be able to put the data into a new folder.
> Can you help please.

It's unclear what you're really trying to do, and where you are having
problems. The listboxes list files? And you can load the files and
edit them okay? Is the only problem you're having saving these data
files to a different location than you found them? If so, it's really
just the reverse of loading them. You open a file in the destination
folder, and write the data to it.

--
..NET: It's About Trust!
http://vfred.mvps.org


From: MikeD on


"LondonLad" <LondonLad(a)discussions.microsoft.com> wrote in message
news:CFF70CFC-FCAA-4CFE-9B61-E082026F2C48(a)microsoft.com...
> Hi
> I have about 100 plus folders, within those folders can be files from 2 to
> 15
> which I want to edit so I thought the best way was display the contents of
> each folder in a listbox select the file by clicking on it, amend and
> return
> it to a new folder.
> I can select and load the listbox without a problem, and then I can edit
> the
> data but i cannot seem to be able to put the data into a new folder.
> Can you help please.


Please don't take this the wrong way. It's intended as constructive
criticism. It's not intended to be a flame, or insult, or ridicule or
anything like that.

It's been awhile since I've, at least, seen any posts from you. I suppose
that means you're getting along in your programming endeavors fairly well
and not requiring as much help any more. That's great.

But when you do ask for help, it's still the same old thing. You simply
don't provide enough information. The first few replies to your questions
are almost always "need more information". Your tendency is to describe what
you want to do, but not the problem you're encountering or only a vague
description of the problem. With this post, you only say you can't "put the
data into a new folder". Well, that's not much to go on. You need to be
specific.

We'll help with the problem. That's why many of us are here. But we have to
know what the problem is. So, while knowing what you want to do assists if
the problem is known (i.e. it can help to clarify the problem), it's the
specific difficulty you're encountering that you need to explain. And that's
what you generally don't do until there have been numerous questions asked
and answered. All I'm getting at is that you can save yourself, and all of
us, a lot of time and trouble if you'd just provide details about the
*problem" you're encountering up front.

--
Mike


From: Nobody on
"LondonLad" <LondonLad(a)discussions.microsoft.com> wrote in message
news:CFF70CFC-FCAA-4CFE-9B61-E082026F2C48(a)microsoft.com...
> Hi
> I have about 100 plus folders, within those folders can be files from 2 to
> 15
> which I want to edit so I thought the best way was display the contents of
> each folder in a listbox select the file by clicking on it, amend and
> return
> it to a new folder.
> I can select and load the listbox without a problem, and then I can edit
> the
> data but i cannot seem to be able to put the data into a new folder.
> Can you help please.

As others said, it's not clear what you have problem with, and what error
message you are getting. However, I know it's common to forgot to call
MkDir, or the full path that you are giving to VB is not correct, like
having a missing "\", or dual "\\". Try adding Debug.Print to display the
full path that you are giving to VB.