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 |
I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?
How do I change the color of a form in visual basic?
What is the use of Active Control Property?
Is it possible to Access BackEnd procedures? Explain.
What are 3 main differences between flexgrid control and dbgrid control?
How would you attach pictures in column headers of List View Control?
Through which protocol OLEDB components are interfaced?
Write the correct order of execution of following form?s events: initialization, Load, Activate, Refresh , Paint
advantage and disadvantage in visual-basic and ms-access please tell me or send my mail-id
What is controls in vb?
To populate a single column value which dbcontrols you to use?
When/Why should I use Option Explicit?
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)