Search found 148 matches

by clum09
Wed Oct 10, 2012 5:34 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

I wrote an HTA script using the VBscript language. When I package my HTA script with PrimalScript 2009, I have the extracted script file output to the %temp% folder. I have a need to write the information generated by this HTA script to a file in the same folder as the packaged script. What is the w...
by clum09
Wed Oct 10, 2012 5:34 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

I wrote an HTA script using the VBscript language. When I package my HTA script with PrimalScript 2009, I have the extracted script file output to the %temp% folder. I have a need to write the information generated by this HTA script to a file in the same folder as the packaged script. What is the w...
by clum09
Wed Oct 10, 2012 5:31 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

HTA packaged script
by clum09
Fri Jan 06, 2012 6:24 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

I repackaged the script with the latest version of PrimalScript, and the error appears only at the end of the run. However, if I ran the unpackaged script using cscript, no error shows up. The script was packaged with PrimalScript installed on Windows XP Service Pack 3. I need to package the script ...
by clum09
Thu Jan 05, 2012 5:54 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

I did not encode the vbscript. I simply packaged the script right out of PrimalScript editor.

The script is very straightforward - no other script to call within the script except the functions and subroutines within the script.
by clum09
Thu Jan 05, 2012 12:47 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

But when I ran the script outside of the PrimalScript package (using cscript), I don't see this error.
by clum09
Wed Jan 04, 2012 8:38 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

Regardless of where the issue is, the packaged script should indicate the line where the error was generated from.
by clum09
Wed Jan 04, 2012 8:09 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

Alexander, I did not use any strange characters within the script. Nor did I use any international characters. Since the packaged script does not show any line number when it generated this error, I cannot pin point where location of the code that generated this error. The fact that when I ran the s...
by clum09
Wed Jan 04, 2012 7:45 am
Forum: PrimalScript
Topic: Error(2): Invalid character
Replies: 11
Views: 1788

Error(2): Invalid character

Hello, I tried to package a vbscript with PrimalScript 2009, and when I ran the packaged script, the scrpt ran for a while and then generated an error as "Error(2): Invalid character" without indicating what line of code the error was generated from. However, if I just ran the original script that w...
by clum09
Mon Mar 21, 2011 7:23 am
Forum: VBScript
Topic: Determine packaged script run
Replies: 5
Views: 1320

Determine packaged script run

Jvierra, I wrote a function to check the process that runs under the packaged script. Basically, it checks to see if the script's .exe file process is running or not. If the function finds the process running, it will return True. Otherwise, it will return False. Below is the code: Private Function ...