I need to change my code because I have some problem with it, and I need a replacement for the FileOpen function.
Do you know what could I use insted of FileOpen function ?
I thinked to writeline function but I don't know how to use it, because I need to import some option into the output (I'm making a builder app based).
Here is the actual code I need to replace :
Dim myfile, opt() as string
FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared)
myfile = Space(LOF(1))
FileGet(1, myfile)
FileClose(1)
Label1.Text = opt(1)
Label2.Text = opt(2)
Label3.Text = opt(3)
How you can see I receive in the output file the options (opt) I checked before in my builder, but I need another way to do this.
Could writeline - filestream function do same work?
Hope you can help me.