Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 15 January 2019 01:20 PM


Public Function GetEntry(FileName As String, LineNumber As Long ) As String

This function is used to read text from a file by a given the line number.


Key Description 
FileName Path and name of a file to be read, value of type String.
LineNumber Number of line in a file that needed to read, a value of type Long.

Return value

Returns string value of line number from the file.


 Public Sub main()

  Dim fileName

  fileName = "C:\VertexWorld.txt" 

  AlertMessage GetEntry (Cstr(fileName),L)

  'L means the line number

 End Sub

See Also


Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions