Page 2 of 2 <12
Topic Options
#76007 - 2003-07-21 11:26 AM Re: ENUMINI() - Trying to create a new UDF
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Thank you for the guidance.. This will be helpful for my project. [Smile]

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#76008 - 2003-07-21 11:44 AM Re: ENUMINI() - Trying to create a new UDF
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Delprofilestring ? PostPrep ?

Funny, now that you mention:
I was once (err, long time before PostPrep) about to start exactly that.

Well, only for 2 minutes or so before the great Doh! moment came [Roll Eyes] [Big Grin]

Postprep : Yes, I do use split by chr(10) on writeprofilestrings since quite a time now (also long before PP)
You will recognice my version by the appended redim preserve array[ubound(array)-1] as I always check for existence and always assume sections to be evaluated.

One might cry foul but it saves me a condition check inside the for loop [Razz]

[ 21. July 2003, 11:53: Message edited by: Jochen ]
_________________________



Top
#76009 - 2003-07-22 10:36 PM Re: ENUMINI() - Trying to create a new UDF
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Working on a new version of the script.. Using this method, I am running into an error when there is a space in the share.. Only 2000 or better clients.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#76010 - 2003-07-22 10:42 PM Re: ENUMINI() - Trying to create a new UDF
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I think I figured this out..

$resource='"'+readprofilestring($fl,$sectionentry,$sectionkey)+'"'

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#76011 - 2003-07-24 03:58 AM Re: ENUMINI() - Trying to create a new UDF
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I am running into some frustration with this script. If the share has any spaces within it, it causes trouble. I wound up going with a simplified IF INGROUP structure in a drive mapping script with Jens' MAPDRIVE() UDF..

I am half-tempted to yank the UDF until we get the bugs ironed out. [Frown]

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 905 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.056 seconds in which 0.029 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