Save File Dialog only once

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 9 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
androidandparanoid
Posts: 1
Last visit: Sat Nov 05, 2016 9:29 am

Save File Dialog only once

Post by androidandparanoid »

Good day

I´m trying to create a Form that logs errors or successes when user checks a box. Save file dialog works fine, my problem is that I just want it to prompt once, instead every time you click on run it prompts for a new file. Where do I need to declare the Save File dialog to run only once?

Your help is greatly appreciated. I´m attaching my code for your review.
Attachments
SaveFileDialog.ps1
(10.93 KiB) Downloaded 425 times
This topic is 9 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked