How do we create a FileSystemObject ?
Correct answer: A. Server.CreateObject("Scripting.FileSystemObject")
- A. Server.CreateObject("Scripting.FileSystemObject")
- B. Create Object:"Scripting.FileSystemObject"
- C. Server.CreateObject("FileSystemObject")
- D. Create("FileSystemObject")
Explanation
In classic ASP, Server.CreateObject creates COM objects, and the ProgID for the file-system object is Scripting.FileSystemObject. The shorter alternatives omit either the Server call or the required ProgID.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Web and Mobile Development
268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Web and Mobile Development questions
Why is Global.asax is used ?
Which of the following control is used to validate that two fields are equal ?
Which of the following represents the best use of the Table, TableRow, and Table-Cell controls ?
On which of the operating system below ASP.NET can run ?
Which of the following denote the property in every validation control ?
WSDL stands for ______________________?