FactoryTalk SE Visual basic loading text file to a string array

I'm just trying to load from a text file into a string. I don't get why this doesn't work.


Function LoadFile(FileName As String) As String()

LoadFile = System.IO.File.ReadAllLines(FileName)

End Function
 

Similar Topics

I am trying to get a local instance of FT View SE to connect to a local SQL database for some stored recipe information. All of this was backed up...
7
Replies
1,440
Views
I am attempting to change the time span of a TrendX graphic display with VBA code - unsucessfully. I'm using FactoryTalk View Site Edition...
13
Replies
1,713
Views
Hello, Im trying to learn how to use VBA with factorytalk view so i can later design displays using tags from PLCs and im having some trouble...
2
Replies
4,783
Views
I have a small application where i want to use a numeric input to change the tags for another numeric input i am referring to dynamically. I am...
6
Replies
3,498
Views
from visual basic I am trying to write to a variable in factorytalk called alarm, this variable is of binary type, should not be a problem but I...
4
Replies
4,980
Views
Top