How can you read content from file?
Answers were Sorted based on User's Feedback
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 |
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 |
Dim X,Y as Integer Here what is the datatype of X and Y ?
What are the Internet tools available in VB6.0?
what are the Types of LockEdits in RDO?
What are the types of Instancing property that can be set for a Class in a ActiveX DLL and ActiveX EXE?
How can you check Beginning and End of the file?
What are the uses of List View Control?
What are the types of Error? In which areas the Error occurs?
What is the use of parameters collection?
what is the difference between Listindex and Tab index.
How can I speed up my VB database application?
How do I prevent multiple instances of my program?
what is the Difference between Declaration and Instantiation an object?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)