Search found 5 matches

by bjorn80
Thu Oct 31, 2013 1:29 am
Forum: Productivity Pack Support
Topic: How to automatically run application form as admin
Replies: 1
Views: 5739

How to automatically run application form as admin

Hi Ive created a sharepoint tool gui, and id love to be able to start it as administrator when people double click the .exe file. I allready have the code to start form as admin: If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Pri...
by bjorn80
Fri Aug 16, 2013 4:38 am
Forum: PowerShell Studio
Topic: Package PowerShell script in PowerShell Studio 2012
Replies: 5
Views: 3233

Re: Package PowerShell script in PowerShell Studio 2012

Duh... :shock:

Ok i put on STA mode in the package menu, then it worked :D
I thought i was only needed to be enabled on the standard "Home" tab..
Thanks!
by bjorn80
Fri Aug 16, 2013 4:29 am
Forum: PowerShell Studio
Topic: Form vs Form Project
Replies: 4
Views: 2590

Form vs Form Project

Hi
I have used a Form when i created my gui program.
What is the difference compared to Form Project?

br

Bjorn
by bjorn80
Tue Aug 13, 2013 6:16 am
Forum: PowerShell Studio
Topic: Package PowerShell script in PowerShell Studio 2012
Replies: 5
Views: 3233

Re: Package PowerShell script in PowerShell Studio 2012

Hi thanks for replies!
The "Sta mode" is enabled allready.

So when i go ahead and create the exe package, my program goes to not responding then i have to force it to close.

All the code i am using is withing the script.
This is strange.

br

Bjorn
by bjorn80
Mon Aug 12, 2013 5:29 am
Forum: PowerShell Studio
Topic: Package PowerShell script in PowerShell Studio 2012
Replies: 5
Views: 3233

Package PowerShell script in PowerShell Studio 2012

Hi I have a working Powershell Tool that i created in PowerShell Sudio 2012 for working with SharePoint. If i choose to export the program to PowerShell and run the ps1 file on my sharePoint servers everything works fine. However, when i try the fancy Package button to create an .exe file of my prog...