Search found 97 matches

by miketartaglia
Wed Sep 18, 2019 4:59 pm
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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 miketartaglia
Wed Sep 18, 2019 10:58 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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 miketartaglia
Wed Sep 18, 2019 10:51 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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 miketartaglia
Wed Sep 18, 2019 10:38 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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 miketartaglia
Wed Sep 18, 2019 10:22 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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 miketartaglia
Wed Sep 18, 2019 8:09 am
Forum: PowerShell GUIs
Topic: Sorting by column in a datagridview
Replies: 12
Views: 417

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. ...
by miketartaglia
Wed May 15, 2019 12:20 pm
Forum: PowerShell Studio
Topic: Powershell Service information
Replies: 1
Views: 1185

Powershell Service information

My question here is more of a general question. I have been using powershell studio for some time now. I am just starting learning how to create a powershell service and would like to know where i can find indepth information on this with PSS.
by miketartaglia
Mon Apr 01, 2019 8:41 am
Forum: PowerShell Studio
Topic: Project to EXE file
Replies: 4
Views: 1234

Re: Project to EXE file

I created a new project again and brought the files in and now I can create the EXE file.
by miketartaglia
Fri Mar 29, 2019 5:55 pm
Forum: PowerShell Studio
Topic: Project to EXE file
Replies: 4
Views: 1234

Re: Project to EXE file

Here is the screenshot
screenshot.jpg
screenshot.jpg (43.54 KiB) Viewed 1212 times
by miketartaglia
Fri Mar 29, 2019 2:02 pm
Forum: PowerShell Studio
Topic: Project to EXE file
Replies: 4
Views: 1234

Project to EXE file

I have copied a .psf file into a new blank project. However I no longer have the option to create an EXE file. The Packager settings are all grayed out. Let me know if I am supposed to be able to create an EXE file from a project or not. Please let me know what I need to do to create an EXE file. I ...