Search found 7 matches

by gaiid_it
Sun Feb 26, 2012 10:48 pm
Forum: PrimalForms
Topic: Pass contents of checked list box to parent form
Replies: 1
Views: 3060

Pass contents of checked list box to parent form

Hi,My parent form opens a sub form that then displays all AD groups in a checked list box. Checked groups are shown in a listbox in the sub form and should then be passed back to the parent form and displayed in another listbox.I cannot pass the listbox contents back at all and if I try to pass the ...
by gaiid_it
Mon Feb 13, 2012 6:56 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

At least it is not just me then! Thanks for your time.
by gaiid_it
Thu Feb 09, 2012 8:49 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

BTW making the form visible = $false, instead of showintaskbar = $false also closes the form.Thanks
by gaiid_it
Thu Feb 09, 2012 8:46 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

This is my code. I have tried debugging and, in my very limited, experience didn't show anything obvious. function OnApplicationLoad { #Note: This function is not called in Projects #Note: This function runs before the form is created #Note: To get the script directory in the Packager use: Split-Pat...
by gaiid_it
Thu Feb 09, 2012 2:30 am
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

I created a check box to minimise it. The check sets a timer going and the intention was to minimise the form to the systray while the timer was going.
by gaiid_it
Thu Feb 09, 2012 1:21 am
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

Yeah, that is what I am trying to do but when I set the form ShowInTaskBar to $false it just closes the script and doesn't hide it. Is there an extra line I am missing to keep the script running?I had a look through the spotlight articles and they have helped me with many things, but unfortunatley n...
by gaiid_it
Thu Feb 02, 2012 11:14 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 13516

Minimise a form to the system tray

Hi,Could someone show me how to minimise a form to the system tray and not show it in the tasbar until the systry icon is double clicked? When I minimise the form with, $NotifyIcon = New-Object System.Windows.Forms.NotifyIcon $BalloonTipText = "text" $BalloonTipTitle = "title" Sh...