Connecting Tech Pros Worldwide Forums | Help | Site Map

Empty folders

Per Juul Larsen
Guest
 
Posts: n/a
#1: Aug 6 '08
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

Jan Hyde (VB MVP)
Guest
 
Posts: n/a
#2: Aug 7 '08

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
Per Juul Larsen
Guest
 
Posts: n/a
#3: Aug 7 '08

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
Jan Hyde (VB MVP)
Guest
 
Posts: n/a
#4: Aug 7 '08

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
Per Juul Larsen
Guest
 
Posts: n/a
#5: Aug 7 '08

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
Jan Hyde (VB MVP)
Guest
 
Posts: n/a
#6: Aug 8 '08

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