Darren_W
(Hey THIS is FUN)
2009-06-10 05:09 PM
Problem with udf

I'm running a script ( Cominfo3.kix) by Radimus and I have added the functon fnGetFolderProp() it is giving this error:

ERROR : undefined variable []!
Script: C:\temp\INVENT~1\COMPINFO3.KIX
Line : 1

Any one able to shed any light on what is going wrong?

I'm assuming this is something to do with this line in the function:

 Code:
$nul=Execute("$$fnGetFolderProp = $$objFldr."+$sProp)


Cant be sure though?


Darren


Glenn BarnasAdministrator
(KiX Supporter)
2009-06-10 05:21 PM
Re: Problem with udf

If you are running your main script with NoVarsInStrings=on, then the excute line may need to be changed to use single $.

Glenn


Darren_W
(Hey THIS is FUN)
2009-06-10 05:31 PM
Re: Problem with udf

Yes that it, thanks for that.

Darren \:\)


jprado
(Just in Town)
2009-06-10 05:41 PM
Re: Problem with udf

hi everybody
i have a kix script in my network and i would like to know how to add the proxy settings ( i need force the internet settigs to change for my proxy settings )
my question is ? what is the less complicated way to do it , is my first time what i use kix i'll try to read a lot, but is no easy way to find it this basic stuff
thanx for your help


Darren_W
(Hey THIS is FUN)
2009-06-10 05:59 PM
Re: Problem with udf

You could use the Setproxy() udf?

Darren


Glenn BarnasAdministrator
(KiX Supporter)
2009-06-10 07:15 PM
Re: Problem with udf

You could (should, really) open a new post and not hijack an existing post that has nothing to do with your problem. You'll get more feedback that way..

There are UDFs to accomplish what you need, but personally, GPO or using WPAD services are easier to manage than poking values into reg settings everywhere.

Glenn