Hi guys! I am encountering a weird issue with VB.Net. I created a stack and
loaded it with strings. The stack is filling up exactly the way it's suppose
to. However, when I try pushing the information in this stack into another,
I get a run time error. The error reads: "Object reference not set to an
instance of an object." I pulled the line that was causing this problem and
the program ran absolutely fine. I have included my loop below. The line
that caused the run time error contain an ' in front of it. Can anyone shed
any light on this matter? Thanks.
Do Until intLoopCount = 0
strTemp = System.Convert.ToString(staTemp.Peek)
staTemp.Pop()
' staRomanNumerals.Push(strTemp)
' I tried rewriting it as: staRomanNumerals.Push(staTemp.Peek)
' It still generated the same error.
intLoopCount = staTemp.Count
Loop
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/visualbasic6programming/post?act=reply&messageNum=17814
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/visualbasic6programming/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/