Support Forums

Search found 10021 matches

by jvierra
Mon Nov 28, 2016 2:49 pm
Forum: PowerShell GUIs
Topic: Question about GUI Template
Replies: 8
Views: 88

Re: Question about GUI Template

Not that hard. Use Visual Studio to create a custom form and then replace "New-Object Windows.Systems.Forms.Form" with "Windows.Systems.Forms.MyForm" an you will have the customized chrome.
by jvierra
Mon Nov 28, 2016 2:27 pm
Forum: PowerShell GUIs
Topic: Question about GUI Template
Replies: 8
Views: 88

Re: Question about GUI Template

I see that option for the properties in powershell studio. But what if I wanted to create my own image and overlay it? Or what if I wanted a black/red theme? We cannot use WPF themes with custom borders with Windows Forms. You need to use WPF for that. Here is some background on creating a custom &...
by jvierra
Mon Nov 28, 2016 1:27 pm
Forum: PowerShell GUIs
Topic: Question about GUI Template
Replies: 8
Views: 88

Re: Question about GUI Template

Set the FormBorderStyle property.
https://msdn.microsoft.com/en-us/librar ... 1(v=vs.110).aspx
by jvierra
Mon Nov 28, 2016 12:52 pm
Forum: Windows PowerShell
Topic: Make exe
Replies: 26
Views: 1805

Re: Make exe

Check what? Advise what? You are asking a stream of unrelated questions. That is not really a good use of a Q/A forum. If you have a new specific question you would get better answers if you started a new topic/question. Your original post was on a single topic and was answered about 3 months ago. I...
by jvierra
Fri Nov 25, 2016 11:39 am
Forum: PowerShell GUIs
Topic: listview itemchecked
Replies: 8
Views: 159

Re: listview itemchecked

Here is a better example I had:
by jvierra
Fri Nov 25, 2016 11:21 am
Forum: PowerShell GUIs
Topic: listview itemchecked
Replies: 8
Views: 159

Re: listview itemchecked

Works fine for me.

This sample enables the button any time the second checkbox is checked and disables it when unchecked.
by jvierra
Fri Nov 25, 2016 10:30 am
Forum: PowerShell GUIs
Topic: listview itemchecked
Replies: 8
Views: 159

Re: listview itemchecked

You have to use you button and not the one I invented.
by jvierra
Fri Nov 25, 2016 8:19 am
Forum: PowerShell GUIs
Topic: listview itemchecked
Replies: 8
Views: 159

Re: listview itemchecked

That is what I posted.

Code: Select all

$listview1_ItemChecked = {
$buttinSomebutton.Enabled = $_.Item.Checked
}
by jvierra
Thu Nov 24, 2016 2:06 pm
Forum: Windows PowerShell
Topic: Storing the output from a foreach-object into seprate members
Replies: 7
Views: 118

Re: Storing the output from a foreach-object into seprate members

I gave you the answer to your question and your example. You cannot add members to lines of text. The output of a file is not an object it is an array of strings. There is no way to answer your question because it is not a question. You gave a few statements and a text file with some unstated purpos...

Go to advanced search

cron