Thank you!
Thanks you for your reply, your solution actually did the trick!
so far, I'm almost there with my program :)
there's just one tiny little thing that isn't working yet.
I don't suppose you'd have an answer for that either?
It's where I'm programming a scheduled task through CMD, but...
seems like the 2nd array code was a bit mixed up
Dim di as New IO.DirectoryInfo("C:\data")
Dim aryFi as IO.FileInfo() = di.GetFiles("*.txt")
Dim fi As IO.FileInfo
For Each fi in aryFi
Messagebox.Show(fi.Name & VbCrlf)
Next
the code
What I mean is, to explain it with a part of my code
I need to write a VBScript with VB.net when a button is clicked, when clicked, the script needs to be written.
And to do this is, I'm using an array to write the specific lines in the textfile (or VBScript in this case)
All this is...
hi there,
I'm trying to solve a problem I'm having with writing in a text file using 2 arrays
the first array is the normal text, line by line
e.g.
dim arrCode as string()
arrcode(0) = "This is the first line"
arrcode(1) = "The second line etc."
now, the 2nd array would have to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.