-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DisplayForm won't work #4
Comments
Hi! |
I am having the same issues |
Having the same issue. |
Issue confirmed in both Powershell 5.1 and 7 |
I made a mistake with my pull request a few weeks ago. The issue should be fixed. |
fixed via revert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to run PrepareWVDImage.ps1 with argument -DisplayForm, I get the following errors and the screen of the form stays blank:
PS C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage> .\Prepare-WVDImage.ps1 -DisplayForm
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1266 char:5
The property 'AutoSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1267 char:5
The property 'width' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1268 char:5
The property 'height' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1269 char:5
The property 'location' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1270 char:5
The property 'Font' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1271 char:5
Method invocation failed because [System.Boolean] does not contain a method named 'Add_CheckStateChanged'.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1273 char:5
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1328 char:5
The property 'AutoSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1329 char:5
The property 'width' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1330 char:5
The property 'height' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1331 char:5
The property 'location' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1332 char:5
The property 'Font' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1333 char:5
Method invocation failed because [System.Boolean] does not contain a method named 'Add_CheckStateChanged'.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1335 char:5
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1357 char:5
The property 'AutoSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1358 char:5
The property 'width' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1359 char:5
The property 'height' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1360 char:5
The property 'location' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1361 char:5
The property 'Font' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1362 char:5
Method invocation failed because [System.Boolean] does not contain a method named 'Add_CheckStateChanged'.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1364 char:5
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1386 char:5
The property 'AutoSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1387 char:5
The property 'width' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1388 char:5
The property 'height' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1389 char:5
The property 'location' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1390 char:5
The property 'Font' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1391 char:5
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1394 char:5
The property 'AutoSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1395 char:5
The property 'width' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1396 char:5
The property 'height' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1397 char:5
The property 'location' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1398 char:5
The property 'Font' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1399 char:5
Cannot convert argument "controls", with value: "System.Object[]", for "AddRange" to type "System.Windows.Forms.Control
[]": "Cannot convert value "True" to type "System.Windows.Forms.Control". Error: "Invalid cast from 'System.Boolean' to
'System.Windows.Forms.Control'.""
At C:\Users\lbke\Downloads\Customizations\Prepare-WVDImage\Prepare-WVDImage.ps1:1437 char:5
Can you investigate what is going wrong?
Thx
The text was updated successfully, but these errors were encountered: