Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / VB / VB.net - VB2005.NET Strange exception

Author
Message
bass guy1669
19
Years of Service
User Offline
Joined: 24th Mar 2007
Location: The Zone
Posted: 18th Nov 2009 22:35
Can some one help me with this code and the strange exception that the compiler throws

The Code:


The Exception:


come see night shift at http://forum.thegamecreators.com/?m=forum_view&t=106003&b=25 see you there
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 26th Nov 2009 00:08 Edited at: 26th Nov 2009 00:08
@bass guy1669
That code tries to open a file as the program is loading. For some reason, this is throwing an exception, probably because the files do not exist or are innaccessible. Try initialising the streams in the main subroutine.

Login to post a reply

Server time is: 2026-06-10 09:32:11
Your offset time is: 2026-06-10 09:32:11