Page 1 of 1 1
Topic Options
#194209 - 2009-06-10 05:09 PM Problem with udf
Darren_W Offline
Hey THIS is FUN
*****

Registered: 2001-10-10
Posts: 208
Loc: Bristol, England
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
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.

Top
#194211 - 2009-06-10 05:21 PM Re: Problem with udf [Re: Darren_W]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4306
Loc: New Jersey
If you are running your main script with NoVarsInStrings=on, then the excute line may need to be changed to use single $.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#194212 - 2009-06-10 05:31 PM Re: Problem with udf [Re: Glenn Barnas]
Darren_W Offline
Hey THIS is FUN
*****

Registered: 2001-10-10
Posts: 208
Loc: Bristol, England
Yes that it, thanks for that.

Darren \:\)
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.

Top
#194214 - 2009-06-10 05:41 PM Re: Problem with udf [Re: Darren_W]
jprado Offline
Just in Town

Registered: 2009-06-10
Posts: 1
Loc: québec , Canada
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

Top
#194216 - 2009-06-10 05:59 PM Re: Problem with udf [Re: jprado]
Darren_W Offline
Hey THIS is FUN
*****

Registered: 2001-10-10
Posts: 208
Loc: Bristol, England
You could use the Setproxy() udf?

Darren


Edited by Darren_W (2009-06-10 06:01 PM)
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.

Top
#194218 - 2009-06-10 07:15 PM Re: Problem with udf [Re: jprado]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4306
Loc: New Jersey
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
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 158 anonymous users online.
Newest Members
Jodey, Hiker, GTRoberts, KatieQuinn, Brennnnn
17684 Registered Users

Generated in 0.031 seconds in which 0.012 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org