[mono-vb] about test case

Jude DaShiell jdashiel at shellworld.net
Sun Apr 12 22:07:01 EDT 2009


Thanks, if you get the message with the working inkey.vb file in it you'll 
discover that both Console.Read() and Console.ReadLine() apparently 
require exception handling.  I put a Try End Try stanza with the 
Console.Read() inside along with a Catch ex As Exception statement and the 
method now works correctly so far as I could test it.



On Thu, 9 Apr 2009, Klaus Siebke wrote:

>
> Hi Jude,
>
> the solution would be either
>
> to code Console.Readline() instead of InkeyMethod() in about.vb
>
> or
>
> to put Console.Readline() into the Sub InkeyMethod()
>
> Have a nice day,
> Klaus
>
>
>
> Jude DaShiell wrote:
>>
>> I don't know if zipped attachments are allowed on this list but if so,
>> about.zip has the current code of what I tried to compile in it.  For now
>> it compiles without error but fails to pause at screen fuls of text when
>> the executable gets run.  I'm doing something wrong here and mentally
>> skating right by it.
>>
>>
>>
>> _______________________________________________
>> Mono-vb mailing list
>> Mono-vb at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-vb
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Re%3A-about-test-case-tp22965400p22967098.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>
>


More information about the Mono-vb mailing list