Support Forums

Search found 10507 matches

by jvierra
Mon Mar 27, 2017 10:49 am
Forum: PowerShell GUIs
Topic: Script Packager
Replies: 8
Views: 127

Re: Script Packager

Try this version:
by jvierra
Mon Mar 27, 2017 10:04 am
Forum: PowerShell GUIs
Topic: Comma Seperated to Datagridview?
Replies: 2
Views: 16

Re: Comma Seperated to Datagridview?

Use Import-Csv and add a header. Use Load-DataGrid to load the CSV into the grid.
by jvierra
Mon Mar 27, 2017 9:58 am
Forum: PowerShell GUIs
Topic: Script Packager
Replies: 8
Views: 127

Re: Script Packager

Start with this PSF and test again.
by jvierra
Sun Mar 26, 2017 12:50 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

The wrapping or cutoff is not due to the EXE, It is due to your output settings and the settings on the control.

To get scrollbars to work you must set "WordWrap" to $false.
by jvierra
Sat Mar 25, 2017 4:23 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

The following example shows you how to output an object collection.
by jvierra
Sat Mar 25, 2017 4:15 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

What hash table? Out-String does not terminate lines as expected. Format-Table does not.

This is not what you originally asked. $getAdUser is not a hash table it is a collection of objects.
by jvierra
Thu Mar 23, 2017 4:47 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

All of these methods should work. . $richtextbox1.Lines += 'Life is a Caberet' $richtextbox1.Lines += 'Life is a Caberet' $richtextbox1.Lines += 'Life is a Caberet' $richtextbox1.Lines += 'Life is a Caberet' $richtextbox1.Lines += '' $richtextbox1.Rtf += '...
by jvierra
Thu Mar 23, 2017 4:40 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

I guess I forgot my RTB but RTB works the same as a multiline textbox. You can just arr the lines ot the "Lines" collection $richtextbox1.Lines + = '=====================================` To make "AppendText" work in an exe use `r instead of `n $richtextbox1.AppendText("It's...
by jvierra
Thu Mar 23, 2017 3:58 pm
Forum: PowerShell GUIs
Topic: Running form exe in WinPE?
Replies: 1
Views: 37

Re: Running form exe in WinPE?

Have you tries it?

PE supports much bit may not have all components of the framework you need. I suggest starting by building for PS 2 then working up. Be sure the script works before trying is as an EXE.
by jvierra
Thu Mar 23, 2017 3:48 pm
Forum: PowerShell GUIs
Topic: Wordwrap? in GUI question
Replies: 11
Views: 137

Re: Wordwrap? in GUI question

The you want to use a Multiline textbox.

$textbox1.Lines += 'your text without a line terminator'

$textbox1.Lines + = '=====================================`


https://www.sapien.com/blog/2011/06/13/ ... ox-control

Go to advanced search