|
-
Jul 7th, 2004, 10:48 AM
#1
Thread Starter
Hyperactive Member
OpenFileSorted...HELP!
Here is the coding I have so far:
Dim HUDdatafile As String
OpenFileSorted.ShowDialog()
HUDdatafile = OpenFileSorted.FileName
Dim sr As IO.StreamReader
sr = IO.File.OpenText(HUDdatafile)
When the box opens for you to pick a file and then if I hit Cancel, it gives me an error. What code should I use so it doesn't do that? Please help! Thanks!
Brenda
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|