AnsweredAssumed Answered

vrf Creating A Directory II

Question asked by g.nied on Feb 7, 2001
Shawn,
look in your ActiveX Automation References and activate Microsoft Scripting
Runtime. With the file system object you can easily check if a folder exists
and create it if needed.
The fille name dialog box does not fire an error output pin but gives the
user a possibility to locate OR enter a file name. Then use the
'FolderExist' method of the file system object and find out if the folder
exists and create it if needed.

        Georg Nied
   Software-Development
Hansestr.7 - 51149 Cologne
        Germany
Mail: info@gn-software.de



> -----Original Message-----
> From: owner-vrf@lvld.agilent.com [mailto:owner-vrf@lvld.agilent.com]On
> Behalf Of Shawn Crossland
> Sent: Thursday, February 08, 2001 11:06 AM
> To: Vee Group (E-mail)
> Subject: vrf Creating A Directory II
>
>
> All,
> Thanks to the people who responded with the way to create a
> directory within
> Vee.
>
> Now, my problem is I can never get to that spot of the code.
>
> I am using a File Name Selection box (Data -> Dialog Box -> File Name
> Selection).  I added an Error Output Pin.  My assumption is
> if the directory
> does not exist, then the Error pin should fire.  From that pin I have
> another dialog box that allows the user to create the directory.
> The directory does not exist, and the Error Pin does not
> fire.  Instead, Vee
> prompts the user to save the file in the directory where Vee
> was started.
> Under what conditions does the Error pin fire and how do I
> get it to fire if
> the directory does not exist?
>
> Thanks in advance,
> -Shawn
>
> Shawn Crossland
> Digital Receiver Technology Inc.
> (301) 916-5554 ext. 148
>
> ---------------------------------------------------------------------
> This is the "vrf" maillist, managed by Majordomo.  To send messages to
> this maillist, just email to "vrf@lvld.agilent.com".
> Subscriptions and
> unsubscriptions are done through the address
> "vrf-request@lvld.agilent.com".
> If you need details, just send a message containing the text "help"
> to "vrf-request@lvld.agilent.com".
> ---------------------------------------------------------------------

---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes