Page 1 of 1 1
Topic Options
#16690 - 2002-01-27 07:08 AM Getting Zero's When writing out text files
Dingers Offline
Lurker

Registered: 2002-01-27
Posts: 3
Loc: St. Petersburg Florida
When i do this:
If $vers2 > 0
writeline(2, $userentry2)
;$Selection = MessageBox("Writing Citrix.txt, " + @error +", "+ $userentry2, "Error Message", 64,50)
endif

I get a zero on the screen... Cani get rid of it? I am currently running Kixtart 3.51.
Tanks

Top
#16691 - 2002-01-27 11:18 AM Re: Getting Zero's When writing out text files
Anonymous
Unregistered


Your problem is that "writeline" sends a return-code (zero), because the operation succeeded. You can get rid of it by doing something like $result=writeline.... or catching the return-code in an IF statement.
Top
#16692 - 2002-01-27 01:42 PM Re: Getting Zero's When writing out text files
Dingers Offline
Lurker

Registered: 2002-01-27
Posts: 3
Loc: St. Petersburg Florida
Jeez, that was quick! and that fixed it, you guys are good... wouldnt happen to have a quick script to remove citrix version 3, 4, 6 and reintall a new one one that parces all the old ini files, for information, then rebuild new ones, oh and don't forget each one of the 2,000 users can only have the icons on the desktop that they need.. and i need it by monday.

Thanks again..

quote:
You want it when????

Top
#16693 - 2002-01-27 08:14 PM Re: Getting Zero's When writing out text files
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
LOL
Don't think you really need to remove the old Citrix clients. They are designed to upgrade themselves. You don't even need KiX for that. You can setup the Citrix server to push the new client automatically.

The icons on the desktop are a different matter...

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#16694 - 2002-01-27 08:53 PM Re: Getting Zero's When writing out text files
Dingers Offline
Lurker

Registered: 2002-01-27
Posts: 3
Loc: St. Petersburg Florida
Yea, it's suppose to, Unfortunantly, we have 7 Citrix Servers, and it seems everyone has a different version on it. And then the Citrix Guru's arent sure which version they should push to be compatible with all the Apps on the floor. And not to mention they dont have time, We're installing a WHOLE NEW system Hospital wide next week.
quote:
2,000 desktops, all wrong, and i got 5 days to fix em.

Top
#16695 - 2002-01-28 07:09 PM Re: Getting Zero's When writing out text files
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
better move quick... if you need help with the icons on the desktop I think I can help you.. the Kix I am new at... contact me through email if you would like some help.. you can do it. Have faith! Just imagine if you pull it off how good you will look.
_________________________
Austin Henderson

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 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.055 seconds in which 0.028 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