Search found 399 matches

by mxtrinidad
Wed Nov 22, 2017 9:13 am
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 1750

Re: Data entry form to reappear in the existing process

Awesome! Let us know if there's anything else we can assist.

Thanks and Happy Thanksgiving!
by mxtrinidad
Tue Nov 21, 2017 4:19 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 1750

Re: Data entry form to reappear in the existing process

I can only assume that somewhere in your code that in button event is causing the close of the form. For example, the following code is in my test blank form: 1. I added a textbox, then under Properties "Behavior" change to be: "MultilLine=True" and "ReadOnly=True". 2. The code behind under the Scri...
by mxtrinidad
Tue Nov 21, 2017 12:22 pm
Forum: PowerShell Studio
Topic: Data entry form to reappear in the existing process
Replies: 6
Views: 1750

Re: Data entry form to reappear in the existing process

You don't need to show the form again. One option would be to have $global:variable to allow the changes values to reappear in the main form. This way every time you click on the button, the values will be updated. You can do a quick test by having a textbox (set as readonly) with a default value "M...
by mxtrinidad
Tue Nov 21, 2017 11:00 am
Forum: PowerShell Studio
Topic: very annoying behavior (at least for me)
Replies: 22
Views: 9067

Re: very annoying behavior (at least for me)

We starting to spot the behavior. But, it would help if you can provide a screen shot before and after.
This way we can narrow down what's going on.

Thanks!
by mxtrinidad
Tue Nov 21, 2017 8:34 am
Forum: PowerShell Studio
Topic: very annoying behavior (at least for me)
Replies: 22
Views: 9067

Re: very annoying behavior (at least for me)

I neither was able to reproduce the behavior. The only thing you may want to try is, under "Options", to unchecked the "Auto-insert closing string quote". So, while trying to find the behavior, create a little code snippet that may help using DOS cmd "netstat" as an example: function runExecFile { p...
by mxtrinidad
Tue Nov 21, 2017 5:47 am
Forum: PowerShell Studio
Topic: DataGridView bug?
Replies: 6
Views: 2664

Re: DataGridView bug?

Hum! I wasn't able to replicate the issue on my machine: Windows 10 64bit with PowerShell Studio 2017 v5.4.145. I'm not getting the duplicate Add/Edit. I even copy/paste the datagridview1. Is it possible you can tell us the correct steps? SP_Dg_02_2017-11-21_8-40-56.png SP_Dg_01_2017-11-21_8-40-56....
by mxtrinidad
Thu Nov 16, 2017 4:18 pm
Forum: PowerShell
Topic: Powershell create multicast listener
Replies: 12
Views: 7067

Re: Powershell create multicast listener

Yes! You can write it with PowerShell, as it's a .NET technology, you can consume .NET code snippet as JVierra show you in the link. Please read the Get-Help on Add-Type which show you how to do this. Get-Help Add-Type -showwindow This is one way to extend PowerShell using .NET Framework components ...
by mxtrinidad
Tue Nov 14, 2017 1:45 pm
Forum: PowerShell
Topic: Run is producing this error but run in console does not
Replies: 2
Views: 1572

Re: Run is producing this error but run in console does not

Make sure to have set the execution policy on the machine before running the script. If this system is on a domain network, you may need your security team to set the proper Security Policy to allow the script to execute. As the error message said, you can run the following command to get informatio...
by mxtrinidad
Tue Nov 14, 2017 11:11 am
Forum: PowerShell GUIs
Topic: Output is formatted differently after build
Replies: 17
Views: 5164

Re: Output is formatted differently after build

Curious! Can you please provide the PowerShell Studio version?

Thanks
by mxtrinidad
Tue Nov 14, 2017 9:03 am
Forum: PowerShell GUIs
Topic: Output is formatted differently after build
Replies: 17
Views: 5164

Re: Output is formatted differently after build

Try the following command as I've seen it working with RichTextBox.

"... | Out-string -width 1000"

Hope this help!