Search found 85 matches

by peter_mclean@dodo.com.au
Fri Oct 14, 2011 2:24 pm
Forum: PrimalScript
Topic: Primalscript 2011 V6.0.153 No ScriptDrivers
Replies: 2
Views: 649

Primalscript 2011 V6.0.153 No ScriptDrivers

Primalscript 2011 V6.0.153. Windows XP SP3 32-Bit. Before installing Primalscipt V6.0.153, I took a copy of the C:Program FilesSAPIEN Technologies, IncPrimalScript 2011 folder and all of its subfolders. After installing V6.0.153 I checked to see if there were ScriptDrivers in this folder. The 2 Scri...
by peter_mclean@dodo.com.au
Wed Oct 12, 2011 12:52 pm
Forum: PrimalScript
Topic: ScriptDriver
Replies: 11
Views: 1300

ScriptDriver

Thanks for the 4 updated script drivers. PS2011 V6.0.153 now works as normal in Debug->Go. The interesting thing was that after installing V6.0.153 to replace V6.0.152, the script drivers were not in the C:Program FilesSAPIEN Technologies, IncPrimalScript 2011 folder, ie I extracted all 4 scriptdriv...
by peter_mclean@dodo.com.au
Tue Oct 11, 2011 12:09 pm
Forum: PrimalScript
Topic: ScriptDriver
Replies: 11
Views: 1300

ScriptDriver

Definity did: - renamed C:Program FilesSAPIEN Technologies, IncPrimalScript 2011ScriptDriver32.exe to C:Program FilesSAPIEN Technologies, IncPrimalScript 2011ScriptDriver32_org.exe - extracted ScriptDriver32.exe dated 7/10/2011 from zip file into folder C:Program FilesSAPIEN Technologies, IncPrimalS...
by peter_mclean@dodo.com.au
Tue Oct 11, 2011 11:40 am
Forum: PrimalScript
Topic: ScriptDriver
Replies: 11
Views: 1300

ScriptDriver

Hi Alex. I have created a script with one line in it being: Const NO_OF_ARGUMENTS = 6 I placed a breakpoint on this line, being line 1. I then used Run Debug->Go and I get the "Encountered an improper agrument" Dialog. Also get same Dialog if change line 1 to: NO_OF_ARGUMENTS = 6. I have also cleare...
by peter_mclean@dodo.com.au
Tue Oct 11, 2011 11:04 am
Forum: PrimalScript
Topic: ScriptDriver
Replies: 11
Views: 1300

ScriptDriver

PS2011.6.0.152 Windows 7 Ultimate SP1 I have the same problem with the original ScriptDriver32.exe and the new ScriptDriver32.exe that you provided inside the zip file. Here's the snapshot... uploads/9145/DebugImproperArgument.JPG PS. I am debugging a Vb Script using 32 bit.pmclean@labelmakers.com.a...
by peter_mclean@dodo.com.au
Wed Oct 05, 2011 11:25 am
Forum: PrimalScript
Topic: $myinvocation.mycommand.path returning null
Replies: 3
Views: 1696

$myinvocation.mycommand.path returning null

Sorry Alex. I did not know about the blog. Will try to look for in future. Thanks for you prompt response.
by peter_mclean@dodo.com.au
Wed Oct 05, 2011 10:51 am
Forum: PrimalScript
Topic: Another Case of code folding bug in PS2011-6.0.150
Replies: 3
Views: 471

Another Case of code folding bug in PS2011-6.0.150

Still happening in PS V6.0.152.
by peter_mclean@dodo.com.au
Wed Oct 05, 2011 10:44 am
Forum: PrimalScript
Topic: $myinvocation.mycommand.path returning null
Replies: 3
Views: 1696

$myinvocation.mycommand.path returning null

V6.0.152 Windows XP SP3 X86 [string]$script:ExecutingScript = $myinvocation.mycommand.path.Trim() returns the name of the executing script when run from a .ps1 file, both in Primalscript and from the Powershell command prompt. However the code returns a null value when run as an executable. Here's t...
by peter_mclean@dodo.com.au
Thu Sep 22, 2011 1:25 pm
Forum: PrimalScript
Topic: Sapien Script Host doesn't close Excel application
Replies: 27
Views: 2819

Sapien Script Host doesn't close Excel application

I'm pretty sure this is the article that I used to develop the GC release code, ie Public Overridable Function ReleaseObject(ByRef xlObject As Object) As Boolean ReleaseObject = False Try System.Runtime.InteropServices.Marshal.ReleaseComObject(xlObject) If xlObject IsNot Nothing Then xlObject = Noth...
by peter_mclean@dodo.com.au
Thu Sep 22, 2011 12:40 pm
Forum: PrimalScript
Topic: Sapien Script Host doesn't close Excel application
Replies: 27
Views: 2819

Sapien Script Host doesn't close Excel application

Good work. Looks like this is what you have to do to kill Excel.