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

State about the different types of visual basic data?

0 Answers  


What is a toolbox in visual basic?

0 Answers  


With in the form we want to check all the text box control are typed or not? How?

0 Answers  


Through which protocol OLEDB components are interfaced?

0 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  






What is data control in vb?

0 Answers  


Explain about control properties?

0 Answers  


Explain the "cursortype" and "Locktype" in VB?

1 Answers  


What is the need of tabindex property is label control.

0 Answers  


DHTML Is used for what?

0 Answers  


Is a foo VBX/DLL available as shareware/freeware?

0 Answers  


How does VB Pass arguments to a function by default?

2 Answers  


Categories