Search found 7 matches

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

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 7:56 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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 9:49 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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 9:46 pm
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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 3:30 am
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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 2:21 am
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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
Fri Feb 03, 2012 12:14 am
Forum: PrimalForms
Topic: Minimise a form to the system tray
Replies: 9
Views: 8647

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" Show-NotifyIcon $Notif...