Page 1 of 1 1
Topic Options
#12307 - 2001-09-17 12:30 AM Ingroup crashes
Anonymous
Unregistered


Since this is my first time using Kixtart (i'm impressed so fare), my problem is properly caused by something I have overlooked.

I run a Win2k Server on a network with win95/98 clients.

When i run the follwing line in my script, the login script terminates.

IF INGROUP("TIDOM ING") = 1
USE M: "\\TIFILSRV\ING"
IF @ERROR <> 0
? "Not mapped"
ELSE
? "Mapped (M "
ENDIF
END IF

I'm running the kxrpc on the server, and in my NetLogon folder, i've placed the following files:
kix32.exe
kx16.dll
kx32.dll
kx95.dll

plus ofcourse the script, and the bat file which initialise the process.

Everything works fine, the system time is set properly, etc. until I get to the ingroup test.

Does anyony have an idea why my script crashes?

Thanks,

AIS_DK

Top
#12308 - 2001-09-16 05:36 PM Re: Ingroup crashes
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
you last "ENDIF" statment is "END IF"

Bryce

Top
#12309 - 2001-09-18 12:26 AM Re: Ingroup crashes
Anonymous
Unregistered


Oh yeah... Eagle Eye Bryce catches another VBer!
Top
#12310 - 2001-09-25 09:29 PM Re: Ingroup crashes
Anonymous
Unregistered


Thanks to both of you, I found my error. It seems, that you are not allowed yo have spaces in the string, you are sending to ingroup, when using it under win95, that is.

And yes, I'm a VB'er and quite happy about it.

Top
#12311 - 2001-10-21 06:11 AM Re: Ingroup crashes
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Welcome to the board.
With our tool kixstrip you can do a quick verify of your kixtart script.
You find it on our site http://home.wanadoo.nl/scripting .

After running it with the call kixstrip input.kix output.kix /block_check /show_structure
you get following output:

code:

IF INGROUP("TIDOM ING") = 1
USE M: "\\TIFILSRV\ING"
IF @error <> 0
? "Not mapped"
ELSE
? "Mapped (M "
ENDIF
END
IF


;($begin)
;
; sun 21-oct-2001 02:57:47 (kix 4.00 vs 2.29e)
;
;Informative KIXSTRIP: input=9 output=9 skip=0
;
;Warning KIXSTRIP: 2 errors in block structure(s). missing statement(s).
; - do:until [0:0]
; - for|each:in|to:step|next [0|0:0|0:0|0]
; - function:endfunction [0:0]
; -ERROR- - if:else:endif [3:1:1]
; - select:case:endselect [0:0:0]
; - while:loop [0:0]
;Warning KIXSTRIP: some lines contains errors or possible errors.
;Informative KIXSTRIP: 3 block_structures found.
;Informative KIXSTRIP: no UDF's found.
;Informative KIXSTRIP: no labels found.
;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE
;Informative KIXSTRIP: 1 USE
;
;($end)



Greetings.


Symbol on our homepage has been linked to related http://kixtart.org topic.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


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

Who's Online
0 registered and 857 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.05 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

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