Using SaveFileDialog with Community Edition

This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
Locked
User avatar
colby911
Posts: 3
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Fri Jan 31, 2014 4:35 pm

Using SaveFileDialog with Community Edition

Post 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

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Using SaveFileDialog with Community Edition

Post 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
David
SAPIEN Technologies, Inc.

User avatar
colby911
Posts: 3
Joined: Fri Jan 31, 2014 4:35 pm

Re: Using SaveFileDialog with Community Edition

Post 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.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Using SaveFileDialog with Community Edition

Post 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
David
SAPIEN Technologies, Inc.

Locked