Connecting Tech Pros Worldwide Help | Site Map

Empty folders

  #1  
Old August 6th, 2008, 07:55 PM
Per Juul Larsen
Guest
 
Posts: n/a
Hi.
My application creates empty libraries. How do I ensure that the user
copies at least one or more picture files (.jpg) in each of the empty
folders ? Result , no empty folders!
regards pjl
  #2  
Old August 7th, 2008, 12:55 PM
Jan Hyde (VB MVP)
Guest
 
Posts: n/a

re: Empty folders


Per Juul Larsen <juul@larsen.dk>'s wild thoughts were
released on Wed, 06 Aug 2008 20:51:35 +0200 bearing the
following fruit:
Quote:
>Hi.
>My application creates empty libraries. How do I ensure that the user
>copies at least one or more picture files (.jpg) in each of the empty
>folders ? Result , no empty folders!
>regards pjl
You can never ensure a user will do anything. If you are
creating the folders then why not put a file in them also.
Better still have your application cope with the folder
being empty.


--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde
  #3  
Old August 7th, 2008, 04:05 PM
Per Juul Larsen
Guest
 
Posts: n/a

re: Empty folders


Jan Hyde (VB MVP) skrev:

Thank you for your response
My application creates empty libraries (names drawn from a database) to
be filled with image files before another program can start .. (this
program corrects the images after a given parameter). For this to run right
there must be files present in the folds. So no empty folders.!Per
Juul Larsen <juul@larsen.dk>'s wild thoughts were
Quote:
released on Wed, 06 Aug 2008 20:51:35 +0200 bearing the
following fruit:
>
Quote:
>Hi.
>My application creates empty libraries. How do I ensure that the user
>copies at least one or more picture files (.jpg) in each of the empty
>folders ? Result , no empty folders!
>regards pjl
>
You can never ensure a user will do anything. If you are
creating the folders then why not put a file in them also.
Better still have your application cope with the folder
being empty.
>
>
--
Jan Hyde (VB MVP)
>
https://mvp.support.microsoft.com/profile/Jan.Hyde
Thank you for your response
My application creates empty libraries (names drawn from a database) to
be filled by the user with image files before another program can start
... (this program corrects the images after a given parameter). For this
to run right there must be files present in the folders. So no empty
folders.!

kind regards pjl
  #4  
Old August 7th, 2008, 04:15 PM
Jan Hyde (VB MVP)
Guest
 
Posts: n/a

re: Empty folders


Per Juul Larsen <juul@larsen.dk>'s wild thoughts were
released on Thu, 07 Aug 2008 16:58:51 +0200 bearing the
following fruit:
Quote:
> Jan Hyde (VB MVP) skrev:
>
>Thank you for your response
>My application creates empty libraries (names drawn from a database) to
>be filled with image files before another program can start .. (this
>program corrects the images after a given parameter). For this to run right
>there must be files present in the folds. So no empty folders.!Per
I'm failing to see the problem. If there are no files to
process then have your program say so to the user.

J
Quote:
>Juul Larsen <juul@larsen.dk>'s wild thoughts were
Quote:
>released on Wed, 06 Aug 2008 20:51:35 +0200 bearing the
>following fruit:
>>
Quote:
>>Hi.
>>My application creates empty libraries. How do I ensure that the user
>>copies at least one or more picture files (.jpg) in each of the empty
>>folders ? Result , no empty folders!
>>regards pjl
>>
>You can never ensure a user will do anything. If you are
>creating the folders then why not put a file in them also.
>Better still have your application cope with the folder
>being empty.
>>
>>
>--
>Jan Hyde (VB MVP)
>>
>https://mvp.support.microsoft.com/profile/Jan.Hyde
>
>Thank you for your response
>My application creates empty libraries (names drawn from a database) to
>be filled by the user with image files before another program can start
>.. (this program corrects the images after a given parameter). For this
>to run right there must be files present in the folders. So no empty
>folders.!
>
>kind regards pjl
--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde
  #5  
Old August 7th, 2008, 04:25 PM
Per Juul Larsen
Guest
 
Posts: n/a

re: Empty folders


Jan Hyde (VB MVP) skrev:
Quote:
Per Juul Larsen <juul@larsen.dk>'s wild thoughts were
released on Thu, 07 Aug 2008 16:58:51 +0200 bearing the
following fruit:
>
Quote:
> Jan Hyde (VB MVP) skrev:
>>
>Thank you for your response
>My application creates empty libraries (names drawn from a database) to
>be filled with image files before another program can start .. (this
>program corrects the images after a given parameter). For this to run right
>there must be files present in the folds. So no empty folders.!Per
>
I'm failing to see the problem. If there are no files to
process then have your program say so to the user.
>
J
>
Quote:
>Juul Larsen <juul@larsen.dk>'s wild thoughts were
Quote:
>>released on Wed, 06 Aug 2008 20:51:35 +0200 bearing the
>>following fruit:
>>>
>>>Hi.
>>>My application creates empty libraries. How do I ensure that the user
>>>copies at least one or more picture files (.jpg) in each of the empty
>>>folders ? Result , no empty folders!
>>>regards pjl
>>You can never ensure a user will do anything. If you are
>>creating the folders then why not put a file in them also.
>>Better still have your application cope with the folder
>>being empty.
>>>
>>>
>>--
>>Jan Hyde (VB MVP)
>>>
>>https://mvp.support.microsoft.com/profile/Jan.Hyde
>>
>Thank you for your response
>My application creates empty libraries (names drawn from a database) to
>be filled by the user with image files before another program can start
>.. (this program corrects the images after a given parameter). For this
>to run right there must be files present in the folders. So no empty
>folders.!
>>
>kind regards pjl
>
--
Jan Hyde (VB MVP)
>
https://mvp.support.microsoft.com/profile/Jan.Hyde
Thank You. fast answer.
The program is a batchscript running in the background, with no interact
to the user.
But You are right. This script could scan for empty folders and stop my
application.
Some times the solution is right in front of you, but you can not see it.
regards pjl
  #6  
Old August 8th, 2008, 08:55 AM
Jan Hyde (VB MVP)
Guest
 
Posts: n/a

re: Empty folders


Per Juul Larsen <juul@larsen.dk>'s wild thoughts were
released on Thu, 07 Aug 2008 17:20:37 +0200 bearing the
following fruit:
Quote:
>Jan Hyde (VB MVP) skrev:
Quote:
>Per Juul Larsen <juul@larsen.dk>'s wild thoughts were
>released on Thu, 07 Aug 2008 16:58:51 +0200 bearing the
>following fruit:
>>
Quote:
>> Jan Hyde (VB MVP) skrev:
>>>
>>Thank you for your response
>>My application creates empty libraries (names drawn from a database) to
>>be filled with image files before another program can start .. (this
>>program corrects the images after a given parameter). For this to run right
>>there must be files present in the folds. So no empty folders.!Per
>>
>I'm failing to see the problem. If there are no files to
>process then have your program say so to the user.
>>
>J
>>
Quote:
>>Juul Larsen <juul@larsen.dk>'s wild thoughts were
>>>released on Wed, 06 Aug 2008 20:51:35 +0200 bearing the
>>>following fruit:
>>>>
>>>>Hi.
>>>>My application creates empty libraries. How do I ensure that the user
>>>>copies at least one or more picture files (.jpg) in each of the empty
>>>>folders ? Result , no empty folders!
>>>>regards pjl
>>>You can never ensure a user will do anything. If you are
>>>creating the folders then why not put a file in them also.
>>>Better still have your application cope with the folder
>>>being empty.
>>>>
>>>>
>>>--
>>>Jan Hyde (VB MVP)
>>>>
>>>https://mvp.support.microsoft.com/profile/Jan.Hyde
>>>
>>Thank you for your response
>>My application creates empty libraries (names drawn from a database) to
>>be filled by the user with image files before another program can start
>>.. (this program corrects the images after a given parameter). For this
>>to run right there must be files present in the folders. So no empty
>>folders.!
>>>
>>kind regards pjl
>>
>--
>Jan Hyde (VB MVP)
>>
>https://mvp.support.microsoft.com/profile/Jan.Hyde
>
>Thank You. fast answer.
>The program is a batchscript running in the background, with no interact
>to the user.
>But You are right. This script could scan for empty folders and stop my
>application.
>Some times the solution is right in front of you, but you can not see it.
>regards pjl
One thing is for sure and that is that you cannot rely on a
user for these things. All it will do is generate support
calls.


--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ignore/avoid empty folders in PHP ? samz answers 0 November 23rd, 2008 11:26 PM
Re: Writing Empty folders into ZipFile Christian Heimes answers 1 June 27th, 2008 05:27 PM
Locked folders =?Utf-8?B?TWFjaw==?= answers 8 February 14th, 2007 02:35 PM
Empty folders after System Restore =?Utf-8?B?YW5keQ==?= answers 1 February 13th, 2007 02:45 AM