How can you read content from file?

Answers were Sorted based on User's Feedback



How can you read content from file?..

Answer / mohit mathur

FileSystemObject is used to handle file reading/writing.
We can add 'Scripting Runtime' option from the references
and use filesystemobject.

Is This Answer Correct ?    0 Yes 0 No

How can you read content from file?..

Answer / vinforum

Dim nFilenum

nFilenum = FreeFile

Open App.Path & "\test.txt" For Input As nFilenum

Text1.Text = Input(LOF(nFilenum), nFilenum)

Close (nFilenum)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What are 3 main differences between flexgrid control and dbgrid control?

0 Answers  


what is the Max size allowed for label caption length?

2 Answers  


Which datatypes in Visual Basic are capable of accepting Nulls?

1 Answers  


how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language

0 Answers  


Is visual basic case sensitive?

0 Answers  






How would you create Visual basic Document file?

0 Answers  


How do you change the system menu (on the Control-Menu Box)?

0 Answers  


What is the use of Visual Basic Document file?

0 Answers  


Timer control contains ________ no. of events.

0 Answers  


In which areas the Error occurs?

0 Answers  


What are the tools available for Debuggiu in VB?

0 Answers  


What is Pseudocode?

0 Answers  


Categories