Search found 101 matches

by mtartaglia
Sat Jan 01, 2022 9:35 am
Forum: Customer Service
Topic: Mac version of Powershell Studio?
Replies: 1
Views: 8523

Mac version of Powershell Studio?

Are there any plans on making Powershell studio work on Mac. I have had powershell available on Mac for a while now and was hoping you were considering a release of Powershell Studio for the Mac.
by mtartaglia
Sun Aug 02, 2020 7:45 am
Forum: PowerShell GUIs
Topic: Different text colors for each item in a listbox
Replies: 1
Views: 1033

Different text colors for each item in a listbox

Is it possible to have different text colors for each item depending on an expression in a listbox? If so, please point me in the right direction .

Thank you,
Mike
by mtartaglia
Sat Aug 01, 2020 7:22 am
Forum: PowerShell
Topic: Problem with invoke-command and forms
Replies: 3
Views: 2002

Re: Problem with invoke-command and forms

thank you so much! I was able to use example 9 to help me. I just can't believe I have never ran into this before. LOL
by mtartaglia
Fri Jul 31, 2020 1:15 pm
Forum: PowerShell
Topic: Problem with invoke-command and forms
Replies: 3
Views: 2002

Problem with invoke-command and forms

Could use some help as to why I am getting the following errors. SEE CODE at the bottom of this post ---------------------- Product, version and build:Powershell Studio 5.7.1.179 32 or 64 bit version of product: Operating system: windows 10 32 or 64 bit OS: 64 ERROR: Cannot bind argument to paramete...
by mtartaglia
Wed Sep 18, 2019 4:59 pm
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Re: Sorting by column in a datagridview

$currentsort ended up being null in the debugger. I set it when someone sorts a column.

Obviously I am missing something. Sorry to ask this, but I am hoping you can be a little more specific as to where your two suggestions should be put.
by mtartaglia
Wed Sep 18, 2019 10:58 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Re: Sorting by column in a datagridview

Sorry, I am not being clear enough... If I click on the 'Name' column to sort after the form loads the first time, then the form reloads (because the timer ran out), how can I keep the sort by 'Name' without doing it in SQL. The reason why I say that is I could have another column sorted, not necess...
by mtartaglia
Wed Sep 18, 2019 10:51 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Re: Sorting by column in a datagridview

Awesome. I will try that. On another note, is there a way for the form to "reload" and keep the existing sort? That's ultimately what should be done in this instance.

Another words, if I click one of the columns and the form reloads, can the existing sort stay some how?
by mtartaglia
Wed Sep 18, 2019 10:38 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Re: Sorting by column in a datagridview

I put it in at the bottom of the previously posted code, but since it's not working, I assume that is not the correct place.
by mtartaglia
Wed Sep 18, 2019 10:22 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Re: Sorting by column in a datagridview

Yes I know how to do that, that was way too obvious. But what I am trying to do is have the form reload using a timer (say 1 minute). But when it does reload, the sort reverts back to the data in order of when the data was entered not by the sort how you mentioned.
by mtartaglia
Wed Sep 18, 2019 8:09 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 5436

Sorting by column in a datagridview

I have a datagridview from a MS-SQL database that gets displayed in a form. I used the code that the database connection object created automatically. I want to sort by one of the columns as soon as the form opens. I assume it's done in the last list in the code below. Just not sure what to change. ...