Search found 91 matches

by IanUoY
Thu Dec 07, 2017 4:45 am
Forum: PowerShell GUIs
Topic: Auto sizing cell height on word wrap
Replies: 2
Views: 1479

Auto sizing cell height on word wrap

v5.4.145 64-bit Ok, I cannot get cells with text displayed in a datagridview to increase the size of the cell to accommodate the text when word wrap set to true. The really bizarre thing is that I have other forms where it does seem to work (and I cannot for the life of me see any difference in setu...
by IanUoY
Wed Nov 29, 2017 12:45 am
Forum: PowerShell Studio
Topic: DataGridView bug?
Replies: 6
Views: 3416

Re: DataGridView bug?

Hi David
The situation seems to have resolved itself.
Just gone in to check, and no longer do I see the multiple Add/Edits.
If the situation recurs I will post the psf.
How bizarre.
Thanks for checking though.
Cheers
Ian
by IanUoY
Tue Nov 21, 2017 8:20 am
Forum: PowerShell
Topic: Remote Powershell Session oddity
Replies: 6
Views: 3186

Re: Remote Powershell Session oddity

Aha....thanks for clearing that up for me.

Ian
by IanUoY
Tue Nov 21, 2017 5:56 am
Forum: PowerShell Studio
Topic: DataGridView bug?
Replies: 6
Views: 3416

Re: DataGridView bug?

Could it be because my form already has dgv's on it that are configured with columns, formatting etc?

Certainly now I have 3 dgv's and 4 Add/Edit columns.

Not sure what to suggest as I can't really say what I could have done to cause the issue.

Ian
by IanUoY
Tue Nov 21, 2017 2:55 am
Forum: PowerShell Studio
Topic: DataGridView bug?
Replies: 6
Views: 3416

Re: DataGridView bug?

In fact, checking it out further, it is not just when copying and pasting. Even when adding a new dgv component. In fact when I do that, I now have 3 edit and adds.

Ian
by IanUoY
Tue Nov 21, 2017 2:52 am
Forum: PowerShell Studio
Topic: DataGridView bug?
Replies: 6
Views: 3416

DataGridView bug?

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. *** PowerShell Studio 2017 v5.4.145 Windows 10 64-...
by IanUoY
Mon Nov 20, 2017 11:40 pm
Forum: PowerShell
Topic: Remote Powershell Session oddity
Replies: 6
Views: 3186

Re: Remote Powershell Session oddity

I thought that was what I was doing. Creating a new session to my DC and importing the AD commands into the local session. Indeed, if I run the commands above in a powershell windows on a PC that doesn't have RSAT, the commands produce the desired effect and I can run the get-aduser cmdlet as expect...
by IanUoY
Mon Nov 20, 2017 8:06 am
Forum: PowerShell
Topic: Remote Powershell Session oddity
Replies: 6
Views: 3186

Re: Remote Powershell Session oddity

I thought it just imported the reference to the cmdlets, a bit like having RSAT. Certainly there are many blogs etc out there referencing the ability to Import the active directory module into the current session. Rather confusing. However, as I now have working, I will continue to use the Invoke Co...
by IanUoY
Mon Nov 20, 2017 7:12 am
Forum: PowerShell
Topic: Remote Powershell Session oddity
Replies: 6
Views: 3186

Remote Powershell Session oddity

I cannot get a remote session working properly. If I use the following code: $cred = Get-Credential $session = New-PSSession -ComputerName DC1 -Credential $cred Invoke-Command $session -Scriptblock { Import-Module ActiveDirectory } Import-PSSession -Session $session -Module ActiveDirectory #-Prefix ...
by IanUoY
Wed Jan 18, 2017 9:29 am
Forum: PowerShell GUIs
Topic: Adding buttons to DataGridView Column cells
Replies: 11
Views: 7168

Re: Adding buttons to DataGridView Column cells

You don't know me, my memory's worse than a fish :D

I've captured the CellContentClick successfully, will just figure out syntax to amend cell properties.

However, it's a good point to have a recap on stuff.

Regards

Ian