Search found 91 matches

by IanUoY
Thu Jul 30, 2020 7:30 am
Forum: PowerShell GUIs
Topic: datagridview event firing
Replies: 15
Views: 4185

Re: datagridview event firing

Apologies, could a moderator move to the correct forum please?
by IanUoY
Thu Jul 30, 2020 7:27 am
Forum: PowerShell GUIs
Topic: datagridview event firing
Replies: 15
Views: 4185

datagridview event firing

I have a datagridview with a checkbox column. I've been unable to fire an event immediately after I've ticked the checkbox. eg CellClick etc obviously fire immediately, but I wish to execute some code after I've ticked the checkbox. How do I do this. Tried so many cell events and none seem to work I...
by IanUoY
Wed Jul 22, 2020 8:40 am
Forum: PowerShell GUIs
Topic: Outputting textbox.text into html table
Replies: 3
Views: 1566

Re: Outputting textbox.text into html table

Perfect...thank you :)
by IanUoY
Wed Jul 22, 2020 2:26 am
Forum: PowerShell GUIs
Topic: Outputting textbox.text into html table
Replies: 3
Views: 1566

Outputting textbox.text into html table

Hi there My form emails information to end users, and I format it as html and use the BodyAsHTML parameter. For all intents and purposes this works fine. However, my problem arises when I want to include textbox.text within a table. If I save to a variable first and include that, works fine. If I ju...
by IanUoY
Fri May 01, 2020 7:51 am
Forum: PowerShell GUIs
Topic: Writing to output file fails after build
Replies: 1
Views: 692

Writing to output file fails after build

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: Powershell Studio ...
by IanUoY
Tue Apr 23, 2019 4:20 am
Forum: PowerShell
Topic: 1 day date difference between gui and attribute
Replies: 2
Views: 1826

Re: 1 day date difference between gui and attribute

Ah, presumably because in GUI, it's "End of"

Hmm wish attributes accurately reflected GUI.
by IanUoY
Tue Apr 23, 2019 4:17 am
Forum: PowerShell
Topic: 1 day date difference between gui and attribute
Replies: 2
Views: 1826

1 day date difference between gui and attribute

Hi there, I'm just using powershell to update the accountexpirationdate. If I query the attribute or view using ADUC, it's set correctly, however, when I view on the Account tab, no matter what I set it to, it always displays a day earlier.

See screenshots below. Any clues?

Ian
aed1.PNG
aed1.PNG (2.56 KiB) Viewed 1826 times
aed2.PNG
aed2.PNG (2.7 KiB) Viewed 1826 times
by IanUoY
Tue Apr 23, 2019 1:36 am
Forum: PowerShell GUIs
Topic: Change background colour of checkbox box
Replies: 1
Views: 1463

Change background colour of checkbox box

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: 2019 5.6.161 32 or...
by IanUoY
Wed Apr 17, 2019 5:33 am
Forum: PowerShell Studio
Topic: datagridviewimagecolumn size of icon
Replies: 3
Views: 2007

Re: datagridviewimagecolumn size of icon

Fixed or at least a workaround.

I changed code to (and used different icon file to test) :
$crossIcon = [system.drawing.image]::FromFile("I:\xxxxx\Hopstarter-Rounded-Square-Button-Delete.ico")

As you can see, this had the desired result.
ss4.PNG
ss4.PNG (1.76 KiB) Viewed 1975 times
Cheers

Ian
by IanUoY
Wed Apr 17, 2019 1:41 am
Forum: PowerShell Studio
Topic: datagridviewimagecolumn size of icon
Replies: 3
Views: 2007

Re: datagridviewimagecolumn size of icon

Oops, forgot screenshots...attached now.