Page 1 of 1

Using SaveFileDialog with Community Edition

Posted: Thu Apr 10, 2014 7:16 am
by colby911
I'm trying to leverage the SaveFileDialog component using the Community Edition. I've been doing a lot of digging to see how to fire off the dialog box, however I have not found anything (samples or otherwise) that would show me how to do this.

Does anyone have anything that would help me on this?

Cheers

Re: Using SaveFileDialog with Community Edition

Posted: Thu Apr 10, 2014 8:28 am
by davidc
We have a forum dedicated to answering GUI related questions here:

http://www.sapien.com/forums/viewforum.php?f=21


You can refer to this topic for GUI resources and samples:

http://www.sapien.com/forums/viewtopic.php?f=21&t=6451


David

Re: Using SaveFileDialog with Community Edition

Posted: Thu Apr 10, 2014 3:12 pm
by colby911
David,

Thanks for getting back to me. I had actually been through all those links before I posted this morning. I will be happy to post within the GUI forum, I only posted here as my reading had led me to believe that it was an issue with the Community Edition.

Re: Using SaveFileDialog with Community Edition

Posted: Thu Apr 10, 2014 3:18 pm
by davidc
When you run a GUI script, make sure the console or HOST is running in STA (Single Threaded Apartment) mode since some controls require it and will not function correctly.

PowerShell.exe defaults to MTA so you have to use the -STA parameter.

David