Hello. I think i'm doing this correctly, but I want to create an object and have primalsense show the members of that object.
so i did,
[System.Data.SqlClient.SqlConnection] $connection = New-Object "System.Data.SqlClient.SqlConnection" $connectionString
But when i type $connection. nothing shows up. Shouldn't it expand the members of the SqlConnection class?
Declaring types doesn't to trigger PrimalSense
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- greatbarrier86
- Posts: 11
- Last visit: Fri Aug 28, 2015 7:22 am
- Alexander Riedel
- Posts: 8488
- Last visit: Mon Apr 15, 2024 3:28 pm
- Been upvoted: 37 times
Declaring types doesn't to trigger PrimalSense
Yes it should. What's the OS and what framework versions do you have installed?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8488
- Last visit: Mon Apr 15, 2024 3:28 pm
- Been upvoted: 37 times
Declaring types doesn't to trigger PrimalSense
Please look in your PrimalScript application folder and tell us what size and version PSInfo.dll is.
Please also include the complete PrimalScript version and build number.
Please also include the complete PrimalScript version and build number.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8488
- Last visit: Mon Apr 15, 2024 3:28 pm
- Been upvoted: 37 times
Declaring types doesn't to trigger PrimalSense
We have found an issue that relates to an update to the .NET framework. One of the types prior to the System.Data assembly throws an exception and terminates loading. A fix is included in the next service build.
Explicit declaration of types should not be required if you use New-Object with the full type.
Explicit declaration of types should not be required if you use New-Object with the full type.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- greatbarrier86
- Posts: 11
- Last visit: Fri Aug 28, 2015 7:22 am
Declaring types doesn't to trigger PrimalSense
Sorry for the delay
Windows 7 Professional x32
All .NET Versions including 4.0 (Visual Studio is also installed)
PSInfo.dll version is 2.0.379.27495
Pre-upgrade, PrimalScript version was 5.0.637greatbarrier862010-12-06 11:26:17
Windows 7 Professional x32
All .NET Versions including 4.0 (Visual Studio is also installed)
PSInfo.dll version is 2.0.379.27495
Pre-upgrade, PrimalScript version was 5.0.637greatbarrier862010-12-06 11:26:17
- greatbarrier86
- Posts: 11
- Last visit: Fri Aug 28, 2015 7:22 am
Declaring types doesn't to trigger PrimalSense
Update: the new version fixed the issues i was describing.
Question though, should it expand this?
$oShell = New-Object -ComObject WScript.Shell
I only ask because $oShell. does not expand the primalsense box.
Question though, should it expand this?
$oShell = New-Object -ComObject WScript.Shell
I only ask because $oShell. does not expand the primalsense box.
- Alexander Riedel
- Posts: 8488
- Last visit: Mon Apr 15, 2024 3:28 pm
- Been upvoted: 37 times
Declaring types doesn't to trigger PrimalSense
Enclose ProgIds in quotes:
$oShell = New-Object -ComObject "WScript.Shell"
$oShell = New-Object -ComObject "WScript.Shell"
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- greatbarrier86
- Posts: 11
- Last visit: Fri Aug 28, 2015 7:22 am