Search found 8 matches

by r41z0r
Tue Dec 05, 2017 3:20 am
Forum: Wish List and Feature Requests
Topic: DPI Aware PM Support
Replies: 3
Views: 3680

Re: DPI Aware PM Support

Hello, thanks for the quick reply. Attached is a screenshot of the problem. You can see there, it's the Powershellstudio Manifest: "Embed a default manifest for elevation" If you compile the script and make an *.exe File and open that with notepad++ you can see, that the dpi state is: <dpiAware>true...
by r41z0r
Tue Dec 05, 2017 12:04 am
Forum: Wish List and Feature Requests
Topic: DPI Aware PM Support
Replies: 3
Views: 3680

DPI Aware PM Support

Hey there, I have a spimple request, since the beginning of Windows 8 more and more applications (compiled) need the feature to be DPI-Aware. In Powershell Studio 2017 (act. Version) the predefined Manifest-Files from you set the DPI-Awareness only to "System-Aware" which results in the bad behavior...
by r41z0r
Mon Nov 13, 2017 6:53 am
Forum: PowerShell GUIs
Topic: DataGridView in Runspace Scrollbar error
Replies: 2
Views: 819

DataGridView in Runspace Scrollbar error

The other post was closed to early: https://www.sapien.com/forums/viewtopic.php?f=21&t=11528 $colVTScanner = New-Object 'System.Windows.Forms.DataGridViewTextBoxColumn' $colVTScanner.AutoSizeMode = 'DisplayedCells' $colVTScanner.HeaderText = 'Process' $colVTScanner.Name = 'colVTScanner' $colVTScanne...
by r41z0r
Tue May 30, 2017 9:28 am
Forum: PowerShell GUIs
Topic: using get-adcomputer or an alternative
Replies: 3
Views: 1483

Re: using get-adcomputer or an alternative

You can use this DirectorySearcher here, which is a query to search your Active Directory for a specific item, in this case it is "objectCategory=computer", your Searchstring is then $computername Replace <DOMAIN> with your domain LDAP Path e.g.: "DC=contose,DC=COM" function findADPC { param ( [Syst...
by r41z0r
Thu May 25, 2017 10:43 pm
Forum: PowerShell GUIs
Topic: DataGridView in Runspace Scrollbar error
Replies: 5
Views: 1183

Re: DataGridView in Runspace Scrollbar error

Amazing, working like a charm.
Thanks for that

Damn, to early to be happy.
I need to use it with BeginInvoke(), so that the window isn't freezing.
Damn...
by r41z0r
Wed May 24, 2017 1:25 am
Forum: PowerShell GUIs
Topic: DataGridView in Runspace Scrollbar error
Replies: 5
Views: 1183

DataGridView in Runspace Scrollbar error

Hello, I have a problem, if I run a Task for query the eventlog in an runspace, pass my Datagridview to that runspace with a SessionStateProxy Variable and fill the DataGridView with elements in the runspace, it works fine to fill and show the result in the gui, but the problem is, that the scrollba...
by r41z0r
Sun Sep 04, 2016 9:36 pm
Forum: PowerShell Studio
Topic: DPI-Aware GUI Application
Replies: 3
Views: 1621

Re: DPI-Aware GUI Application

Well it's not working as aspected in my case... We have a Domainaccount with standard privileges, there I have turned the DPI to 100%, with my Administrative Account, the default value is 150 DPI and my Application is changing it's size. The First Picture shows the result on a display with 125 DPI, ...
by r41z0r
Fri Aug 19, 2016 12:19 am
Forum: PowerShell Studio
Topic: DPI-Aware GUI Application
Replies: 3
Views: 1621

DPI-Aware GUI Application

Product, version and build: Powershell Studio 2016 Version 5.2.127 Version of product: 64 bit Operating system: Windows 10 64 bit PowerShell Version: 5.0.10586.494 Hello there, is there an option the make your Application directly DPI-Aware via manifest or do I have to create my own manifest file wi...