Search found 399 matches

by mxtrinidad
Mon Jun 11, 2018 10:48 am
Forum: PowerShell Studio
Topic: Executable launches after running with runas
Replies: 2
Views: 1316

Re: Executable launches after running with runas

Thank you for the identifying this issue.

I was able to replicate the condition. In general, it seems the execute the script twice.
When doing the "Build and Run" option, the script exe runs but when exiting, the script will run the second time.

Will be looking into it!
Thanks
by mxtrinidad
Thu Jun 07, 2018 10:57 am
Forum: PrimalSQL
Topic: cannot select database connection in dropdown
Replies: 2
Views: 14490

Re: cannot select database connection in dropdown

It's fix. It will be in place on the next product release. Soon!
by mxtrinidad
Thu Jun 07, 2018 10:22 am
Forum: PowerShell Studio
Topic: Remove reference to Assembly
Replies: 3
Views: 2175

Re: Remove reference to Assembly

I don't seem to replicate the issue on our end. Meaning, I create an empty form, dragged a button, graph control and then save/run the form. Finally, I removed the graph control including the Helper function, and save/run the form. Everything is working and no failed messages are shown in the consol...
by mxtrinidad
Thu Jun 07, 2018 7:57 am
Forum: PrimalSQL
Topic: cannot select database connection in dropdown
Replies: 2
Views: 14490

Re: cannot select database connection in dropdown

Will look into it and get back to you soon.

Thanks!
by mxtrinidad
Tue Jun 05, 2018 2:54 pm
Forum: PowerShell Studio
Topic: Compiled EXE Will Only Execute on Author Computer
Replies: 7
Views: 2841

Re: Compiled EXE Will Only Execute on Author Computer

The question still remains... Is it happening with any executable you create? If not, as one of my colleague mention, it's possible there's an error that's not showing while the form runs. Try adding the Try{...} Catch{..} block to trap any errors and use the $ConsoleOutput as suggested previously. ...
by mxtrinidad
Fri Jun 01, 2018 6:59 am
Forum: PowerShell Studio
Topic: Compiled EXE Will Only Execute on Author Computer
Replies: 7
Views: 2841

Re: Compiled EXE Will Only Execute on Author Computer

Sorry! I forgot to ask.

Is this happening with all executable you are creating?
by mxtrinidad
Fri Jun 01, 2018 6:57 am
Forum: PowerShell Studio
Topic: Compiled EXE Will Only Execute on Author Computer
Replies: 7
Views: 2841

Re: Compiled EXE Will Only Execute on Author Computer

If you're creating the executable. Can you please share your packager settings? (print screen)
At least on the following:
Script Engine
Output Setting
Execution Restrictions

Just in case! Are you using the Installer to create the MSI?
by mxtrinidad
Fri Jun 01, 2018 5:51 am
Forum: PowerShell GUIs
Topic: ERROR: Update-ComboBox : Cannot validate argument on parameter 'Items'.
Replies: 4
Views: 1810

Re: ERROR: Update-ComboBox : Cannot validate argument on parameter 'Items'.

The error states that $a is null. Because the one-liner error out. I can replicate the condition. Make sure the variable is not null. ## - this code will run! $buttonCombo_Click={ #TODO: Place custom script here $a = (Get-ChildItem).Name; ## - Combo2 using SAPIEN Helper Functions: Update-ComboBox -C...
by mxtrinidad
Fri Jun 01, 2018 4:46 am
Forum: PowerShell GUIs
Topic: ERROR: Update-ComboBox : Cannot validate argument on parameter 'Items'.
Replies: 4
Views: 1810

Re: ERROR: Update-ComboBox : Cannot validate argument on parameter 'Items'.

Instead of using $a.name, use " $a ".
$a already got the enum values, so the property ".Name" is not required.
by mxtrinidad
Wed May 30, 2018 8:05 am
Forum: PowerShell GUIs
Topic: Form freeze when running 'get-azurermvm'
Replies: 11
Views: 4250

Re: Form freeze when running 'get-azurermvm'

We've experience some issue when working with forms where the Azure command get hung up, when the script works OK on the console. So, seems appropriate when working with Windows Forms, to submit the Azure script(s) as a job, and get the results using the Receive-Job cmdlet. In the sample I sent, the...