NewsArchive
02-13-2008, 02:35 AM
I have an installation, which includes 6 different add-ons.
It has been a bit messy, but now I get a checkbox page, and allows my
customers to check what add-ons they want, and add passwords for each
add-on.
In the program, I controll it with an encrypted tps file which add-on is
used, where field 2 to 7 can have the value 1 or 0.
As all combinations as possible, its next to impossible just to install the
file with if..then ..else, but it is quite easy to make a program, that can
update the stamlic.tps file. baed upon the values of the password variables.
As SB6 can use dll's, I think it should be a dll, and I have been looking at
the examples.
The attached script is a sample, just to try to make it.
It gives %SB_ERRORCODE% of -1, and nothing happens.
What does errorcode -1 mean.
Can you see anything wrong with the example?
Edvard Korsbæk
It has been a bit messy, but now I get a checkbox page, and allows my
customers to check what add-ons they want, and add passwords for each
add-on.
In the program, I controll it with an encrypted tps file which add-on is
used, where field 2 to 7 can have the value 1 or 0.
As all combinations as possible, its next to impossible just to install the
file with if..then ..else, but it is quite easy to make a program, that can
update the stamlic.tps file. baed upon the values of the password variables.
As SB6 can use dll's, I think it should be a dll, and I have been looking at
the examples.
The attached script is a sample, just to try to make it.
It gives %SB_ERRORCODE% of -1, and nothing happens.
What does errorcode -1 mean.
Can you see anything wrong with the example?
Edvard Korsbæk