FactoryTalk SE Visual basic loading text file to a string array

Rompot

Member
Join Date
Oct 2018
Location
Ohio
Posts
26
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

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...
Replies
2
Views
3,799
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...
Replies
6
Views
2,667
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...
Replies
4
Views
4,049
Good morning! I've run into a stopping point with a Visual Basic task on a View Studio SE project and was wondering if anyone could point me in...
Replies
3
Views
26,947
I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
3
Views
154
Back
Top Bottom