Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
VB script file input

VB script file input

2004-02-12       - By duncan_burch@(protected)

 Back
Reply:     1     2     3     4     5  

Hy thanks for that, brill!! :)
One more little question, when you read in from the text file, how do I get
this data into an array?
Thx for answering my silly questions
dunk
-- -- Original Message -- --
Wrom: KJVZCMHVIBGDADRZFSQHYUCDDJBL
To: <XSI@(protected)>
Sent: Thursday, February 12, 2004 3:59 PM
Subject: RE: VB script file input


> Hi, Dunk!
>
> Look at this example:
>
> Function ReadTextFileTest
>
>    Const ForReading = 1, ForWriting = 2, ForAppending = 8
>    Dim fso, f, Msg
>
>    Set fso = CreateObject("Scripting.FileSystemObject")
>
>    Set f = fso.OpenTextFile("c:\testfile.txt", ForWriting, True)
>    f.Write "Hello world!"
>    f.close
>
>    Set f = fso.OpenTextFile("c:\testfile.txt", ForReading)
>    ReadTextFileTest = f.Read(5)   ' "5" is numbers of character to read
>    f.close
>
> End Function
>
> i hope it's usefull for you.
>
> Juan.
>
> -- --Mensaje original-- --
> De: owner-xsi@(protected) [mailto:owner-xsi@(protected)] En nombre
> de duncan_burch@(protected)
> Enviado el: jueves, 12 de febrero de 2004 16:19
> Para: XSI@(protected)
> Asunto: VB script file input
>
> Hi guys,
> Anyone help me out with a simple question.
>
> In vbscript i want to be able to read in a sequence of numbers from a
> text file.
> Any clues.
>
> Ta all
> Dunk
>
>
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi