Search found 26 matches

by swatto86
Sun Jul 07, 2019 1:14 pm
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 15279

Re: GUI - Mimic Console Window?

Found an easy way to output the robocopy output to a textbox:

Code: Select all

robocopy $source $destination /E | ForEach-Object {

$txtOutput.AppendText($_ + "`r`n")
}
by swatto86
Fri Jul 05, 2019 11:59 pm
Forum: Former and Future Customers - Questions
Topic: Monthly Subscription
Replies: 1
Views: 11802

Monthly Subscription

Hi,

Is there a possibility of monthly subscription for the product - if not then is there a reason for this please?

Thanks :)
by swatto86
Fri Jul 05, 2019 10:05 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 15279

Re: GUI - Mimic Console Window?

Thanks david, guess I will have to update my version - so expensive for a hobbyist :/
by swatto86
Fri Jul 05, 2019 9:19 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 15279

Re: GUI - Mimic Console Window?

davidc wrote: Fri Jul 05, 2019 7:21 am I recommend looking at the Text Box - Redirect Process Output form template.

It allows you to run an external executable and the output is redirected to the TextBox control.
Thanks for the response davidc - is this available in Powershell Studio 2016? I cannot seem to find it.
by swatto86
Fri Jul 05, 2019 1:01 am
Forum: PowerShell Studio
Topic: GUI - Mimic Console Window?
Replies: 6
Views: 15279

GUI - Mimic Console Window?

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...
by swatto86
Sun Oct 04, 2015 1:52 pm
Forum: PowerShell Studio
Topic: Custom Drawing - Powershell Studio?
Replies: 1
Views: 2468

Custom Drawing - Powershell Studio?

Good Evening,

Is it possible to custom draw with an OnPaint method or something similar in Powershell Studio? or can we only use the WinForms controls available in the toolbox?

Thanks
by swatto86
Sun Oct 04, 2015 3:06 am
Forum: PowerShell Studio
Topic: Connecting to Office 365/MSOnline...
Replies: 2
Views: 2779

Re: Connecting to Office 365/MSOnline...

Good Morning,

The script is run as an executable forms application. I guess I can use the $ConsoleOutput variable.

Thanks very much.
by swatto86
Sat Sep 26, 2015 1:20 pm
Forum: PowerShell Studio
Topic: Connecting to Office 365/MSOnline...
Replies: 2
Views: 2779

Connecting to Office 365/MSOnline...

Good Evening,

Is it possible to show the output in my GUI that happens when I make the connection to Office 365.

If I run the command in a powershell console window I get the output about connection and loading cmdlets but I do not get this in the GUI.

Is this possible please?
by swatto86
Tue Jun 09, 2015 9:10 pm
Forum: PowerShell GUIs
Topic: Get powershell function output?
Replies: 3
Views: 2566

Re: Get powershell function output?

Cheers found a great article on that blog section.
by swatto86
Tue Jun 09, 2015 2:56 pm
Forum: PowerShell GUIs
Topic: Get powershell function output?
Replies: 3
Views: 2566

Get powershell function output?

Hello all, I have a form that runs a number of powershell functions but I do not know how to display the console output of what happens when the function runs in a label control on my form? I can see the text within 'Output' in the IDE but when I build my app if a function has an error during execut...