Search found 31 matches

by zztemp
Thu Jan 07, 2021 12:33 am
Forum: PowerShell GUIs
Topic: [SOLVED]Select multiple lines by code in a listbox
Replies: 2
Views: 212

Re: Select multiple lines by code in a listbox

Ok that's my bad, i'll try to clarify. I have computer1 and i retrieve it's groupmembership. It is member of Group 1 and Group 2 I retrieve these groups by selecting the computer from a list. Upon selecting that computer, a second listbox gets filled, it holds all possible groups. What i want to do ...
by zztemp
Wed Jan 06, 2021 9:08 am
Forum: PowerShell GUIs
Topic: [SOLVED]Select multiple lines by code in a listbox
Replies: 2
Views: 212

[SOLVED]Select multiple lines by code in a listbox

So i have a listbox that has a set of AD-group objects. Then i have a "memberof" list comming from a computer object. When rendering the listbox, i'd like to select the groups that match. I've build myself an example. # build list with groups into listbox1 $groups = get-adgroup -LDAPFilter "(name=gc...
by zztemp
Wed Jan 06, 2021 1:57 am
Forum: Former and Future Customers - Questions
Topic: tab form project practical questions
Replies: 4
Views: 269

Re: tab form project practical questions

So what you're saying is, copy paste both your GUI-objects and all of your code into a new project and that should work? separate your tabs into two forms Hmm got any examples of that laying around? I was thinking more in the lines of: Say i have a project : - Mainform.psf - Globals.ps1 - Startup.PS...
by zztemp
Tue Jan 05, 2021 6:03 am
Forum: Former and Future Customers - Questions
Topic: tab form project practical questions
Replies: 4
Views: 269

tab form project practical questions

Product: PowerShell Studio 2020 (64 Bit) Build: v5.7.172 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.18363.0 So i developed a form application to help us out with our computer staging. It creates AD computer objects within certain OU's and adds certain information to the objects. This is when ne...
by zztemp
Thu Oct 22, 2020 8:08 am
Forum: Former and Future Customers - Questions
Topic: [SOLVED]Lost gui objects (Radiobuttons)
Replies: 2
Views: 921

Re: Lost gui objects (Radiobuttons)

Thank you Brittnevr !! The outline option was my saviour.
Been searching for hours :lol:
by zztemp
Thu Oct 22, 2020 2:53 am
Forum: Former and Future Customers - Questions
Topic: [SOLVED]Lost gui objects (Radiobuttons)
Replies: 2
Views: 921

[SOLVED]Lost gui objects (Radiobuttons)

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: PS Studio 2020 5.7...
by zztemp
Tue Aug 07, 2018 2:18 am
Forum: PowerShell GUIs
Topic: RAM-Usage of an application
Replies: 3
Views: 1036

Re: RAM-Usage of an application

I appreciate the input. That was quite the rabbit hole ... . The more i read the more it became blurred :/ This topic got me way out of my scope but i picked up a thing or two. However, putting your finger on how much ram my application actually uses isn't really clear. We have the book you are talk...
by zztemp
Thu Aug 02, 2018 11:36 pm
Forum: PowerShell GUIs
Topic: RAM-Usage of an application
Replies: 3
Views: 1036

RAM-Usage of an application

Hello, I have created a GUI that sits in the systemtray, it get's some computerinformation from the WMI. It has a secundary runspace that has a never ending while-loop that constantly checks something. Now the GUI itself mainly just sits in the systemtray after logon of the user. When clicked it wil...
by zztemp
Tue Jul 17, 2018 3:39 am
Forum: PowerShell GUIs
Topic: Runspaces with Winform, are they disposed ?
Replies: 9
Views: 2154

Re: Runspaces with Winform, are they disposed ?

So i wanted to thank you for pointing me into the direction i needed. I've copy\pasted the general outline of how i'm doing it now. This way works perfectly. On one clickevent i know have 2 runspaces started, one for doing the actual work and a second one to go through a imagelist and showing an ani...