Search found 5279 matches

by davidc
Tue Dec 18, 2012 11:18 am
Forum: PowerShell Studio
Topic: Can't reinstall PS 2012 on Windows 8!
Replies: 5
Views: 1206

Can't reinstall PS 2012 on Windows 8!

Can you describe what you mean by corrupted?

If you want to restore the Panels to their original state use the Reset to Default State button in the Options->Panel tab.

David
by davidc
Tue Dec 18, 2012 4:34 am
Forum: PowerShell Studio
Topic: Variable Declaration in PowerShell Studio 2012
Replies: 1
Views: 1409

Variable Declaration in PowerShell Studio 2012

This is the result of PowerShell and not PowerShell Studio. Variables declared in a local scope (in this case inside an event) are not accessible outside of the event unless you specify a script or global scope. The difference you noting is probably a V3 vs. V2 change. V2 was probably more lenient w...
by davidc
Tue Dec 18, 2012 4:25 am
Forum: PowerShell Studio
Topic: Tabless TabControl or custom control.
Replies: 4
Views: 1841

Tabless TabControl or custom control.

To add a custom control you will have to use Add-Type and manually add it in the code.

An alternative is to remove all other tabs and only leave in the active tab.
Or you can use a stack panel controls instead and hide the non-active panels.

David
by davidc
Mon Dec 17, 2012 4:35 am
Forum: PowerShell Studio
Topic: Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0
Replies: 5
Views: 1313

Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0

This is caused by PowerShell's scoping rules.

Try using the script scope otherwise the ObjConnectionReader may not be accessable in events:

$script:ObjConnectionReader = Sgbd_OpenConnectionToIdm

David
by davidc
Fri Dec 14, 2012 10:00 am
Forum: PowerShell Studio
Topic: Can't get Powershell v3 to be recognized by PowerShell Studio 2012
Replies: 11
Views: 3215

Can't get Powershell v3 to be recognized by PowerShell Studio 2012

I have a few questions for you: 1. Can you verify if the Exchange Module is the cause? Can you temporarily remove the snapin? 2. Can you post any Windows Log Errors? 3. What versions of .NET do you have installed? 4. Look in the install folder of PowerShell Studio and check if the following files ex...
by davidc
Fri Dec 14, 2012 8:28 am
Forum: PowerShell Studio
Topic: Code Signining / Certification Suggestion please...
Replies: 2
Views: 617

Code Signining / Certification Suggestion please...

In the Options->PowerShell you can specify an external tool for signing. You just have to provide the command for the tool including its arguments:

For example:

signingtool.exe f "%File%"

David
by davidc
Fri Dec 14, 2012 6:23 am
Forum: PowerShell Studio
Topic: Can't get Powershell v3 to be recognized by PowerShell Studio 2012
Replies: 11
Views: 3215

Can't get Powershell v3 to be recognized by PowerShell Studio 2012

What version of PowerShell Studio do you have installed?

David
by davidc
Fri Dec 14, 2012 5:50 am
Forum: PowerShell Studio
Topic: Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0
Replies: 5
Views: 1313

Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0

Please zip and email your project to support@sapien.com and we will see if we can recreate the problem.

Just in case, make sure you are running the Project (Ctrl + F4) and not the single file (Ctrl + F5).

David
by davidc
Fri Dec 14, 2012 5:48 am
Forum: PowerShell Studio
Topic: Can't get Powershell v3 to be recognized by PowerShell Studio 2012
Replies: 11
Views: 3215

Can't get Powershell v3 to be recognized by PowerShell Studio 2012

Yes, press the Refresh button in the PowerShell Explorer (First tab of the Object Browser Panel) when you have the 64Bit platform selected.

If you can't select the platform, then you will have to manually delete the cache:

C:ProgramDataSAPIENCachedData 2012

David
by davidc
Fri Dec 14, 2012 5:28 am
Forum: PowerShell Studio
Topic: Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0
Replies: 5
Views: 1313

Strange modification of comportment between Studio v3.11 and upper versions With Powshell v 3.0

When you say 'no longer global' do you mean when you run the script or the PrimalSense is not displaying the variables?

David