Page 1 of 1 1
Topic Options
#47268 - 2003-10-24 01:22 PM zero byte
kinder Offline
Lurker

Registered: 2003-10-24
Posts: 3
Loc: PARIS (FRANCE)
hi,

I searching a way to write a nul byte (&0) in a file....
when I use writeline($h,chr(0)) , nothing is writed (eq "")

Can someone help me ?

Top
#47269 - 2003-10-24 01:28 PM Re: zero byte
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
You cannot do this directly with KiXtart built-in functions, as the null byte terminates a string.

You may be able to use the FSO object to do it - search the board for examples.

If you explain more about what you are trying to do we may be able to offer better alternatives.

Top
#47270 - 2003-10-24 03:28 PM Re: zero byte
kinder Offline
Lurker

Registered: 2003-10-24
Posts: 3
Loc: PARIS (FRANCE)
I am writing a prog for creating a lnk file in 'My folders places', during the logon.

the shortcut must run in the explorer (visible tree) like a shortcut do by the wizard. (the target is an URL pointing to a web folder).

If you have another way to do this... thank's

Top
#47271 - 2003-10-24 03:49 PM Re: zero byte
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Search the UDF forum for ready built functions to manage shortcuts.

Here is one to get you started:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=12;t=000034

Top
#47272 - 2003-10-24 04:23 PM Re: zero byte
kinder Offline
Lurker

Registered: 2003-10-24
Posts: 3
Loc: PARIS (FRANCE)
I have already shearch and there is no UDF in the forum that can do this !
a shortcut to a web folder (mapi folder) is not a shortcut to a web page. The mapi folder has a structure like directories.
If I create a shortcut to a directory with these UDF i can't see the directory tree.

[Frown]

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 1146 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.061 seconds in which 0.031 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