Search found 23 matches

by mssapien
Tue Mar 27, 2012 9:40 pm
Forum: PrimalForms
Topic: Powershell cannot be instantiated
Replies: 21
Views: 20897

Powershell cannot be instantiated

I am experiencing the same problem. This is a new/blank forms project. I am quite sure I am not entering the wrong password.When choosing impersonate, the error message is: PowerShell cannot be instantiatedWhen choosing run as, the error message is: The directory name is invalidThe same error messag...
by mssapien
Mon Mar 05, 2012 11:27 pm
Forum: PrimalForms
Topic: TabControl cannot be resized
Replies: 1
Views: 2738

TabControl cannot be resized

$tbc.Width = "999" worked. Case closed.
by mssapien
Mon Mar 05, 2012 11:24 pm
Forum: PrimalForms
Topic: TabControl cannot be resized
Replies: 1
Views: 2738

TabControl cannot be resized

I try resizing the TabControl in Run-Time with the code $tbc.Size.Width = "999", but nothing happens.
by mssapien
Mon Mar 05, 2012 10:45 pm
Forum: PrimalForms
Topic: Passing data in a Multiform Project
Replies: 8
Views: 11249

Passing data in a Multiform Project

How do I fetch controls from Form1 to Form2?Code in Form1:Call-Form2_pffCode in Form2:Write-Host $Form1_TextBox1.TextDoes not work..
by mssapien
Sat Mar 03, 2012 8:16 pm
Forum: Customer Service
Topic: Search does not work in PrimalForms Customer Forum
Replies: 3
Views: 3488

Search does not work in PrimalForms Customer Forum

I am not sure where I got that link. I see it's dev now. Okay, thanks.
by mssapien
Fri Mar 02, 2012 12:54 am
Forum: Customer Service
Topic: Search does not work in PrimalForms Customer Forum
Replies: 3
Views: 3488

Search does not work in PrimalForms Customer Forum

The search button doesn't work at : PrimalForms Customer Technical Support, http://dev.sapien.com/forums/support/fo ... asp?FID=27
by mssapien
Thu Feb 16, 2012 9:40 pm
Forum: PrimalForms
Topic: Import-Module when EXE-packaged
Replies: 7
Views: 7937

Import-Module when EXE-packaged

Sorry, I may have misunderstood your instructions. I thought you were speaking about the 64-bit vs 32-bit choice in the Home tab. I found a similar option in the dialog box when building EXE, and when I selected 64-bit there, it worked.
by mssapien
Thu Feb 16, 2012 6:08 pm
Forum: PrimalForms
Topic: Import-Module when EXE-packaged
Replies: 7
Views: 7937

Import-Module when EXE-packaged

I tried that code, but still no messagebox or something of information appears. test.exe runs silently for a brief moment and then exits, as shown in task manager.Absolute path did not work either:Import-Module C:Windowssystem32WindowsPowerShellv1.0ModulesServerManagerServerManager.psd1I am using Pr...
by mssapien
Thu Feb 16, 2012 5:51 pm
Forum: PrimalForms
Topic: Import-Module when EXE-packaged
Replies: 7
Views: 7937

Import-Module when EXE-packaged

The EXE just silently runs with no error messages. It did not help to package the EXE as 32-bits instead of 64-bits, or with elevation rights.I updated the code to this:try { Import-Module ServerManager Get-WindowsFeature > c:windowsfeatures.txt Get-Command > c:commands.txt} catch { $_ > c:exception...
by mssapien
Thu Feb 16, 2012 5:25 pm
Forum: PrimalForms
Topic: Import-Module when EXE-packaged
Replies: 7
Views: 7937

Import-Module when EXE-packaged

It does not work. Try exporting the following script package to an EXE and run it on a Windows Server 2008 R2, and you will see that c:command.txt gets created since it is an innate cmdlet to PowerShell, while c:windowsfeatures.txt does not get created since it is dependent on the module ServerManag...