|
Oh yeah. You need to import the namespace. Under the <@ Page directive, put an import directive:
<%@ Import Namespace="System.IO" %>
You could also simply change Line 5:
Dim MyFileStream As System.IO.FileStream
but it's usually better to import cos you usually use things from that namespace more than once.
If you need to find out what namespace a class belongs to, download the .NET SDK, open the documentation and search for the class name (in this case, FileStream). The namespace will be shown at the bottom of the page.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|