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 |
What is RdExecDirect?
Wat is multithreading in VB?
What is the use of stretch property in Image control?
What is Database Connection pooling (relative to MTS)
Which controls have refresh method?
Is the Variant type slower than using other variable types?
I have several megabytes of memory. Why do I get an "out of memory" error?
Name and define the logical tiers in a traditional 3-tiered architecture?
How to use hyperlink?
What is the difference between Object and Class?
Clear property is available in ____,___ control.
What is ActiveX Dll and ActiveX Exe?
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)