471,624 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

Unhandled exception of type System.StackOverflowException occurred in mscorlib.dll


After around 3 months, I reopened a old VB.NET solutions which used to work
(and build) without any errors. Just to test it again, I build it again and
it completed, without any errors, but then immediately started showing me
the message "An unhandled exception of type 'System.StackOverflowException'
occurred in mscorlib.dll" at InitializeComponent() with all lines containing
Image load or default icon, like the following:

Me.picLoginProgress.Image =
CType(resources.GetObject("picLoginProgress.Image" ), System.Drawing.Image)
Me.picLogin.Image = CType(resources.GetObject("picLogin.Image"),
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

The solution contains several projects and all the other work properly when
compiled individually. Any ideas why this would be occurring only in one

Nikhil Khade
Nov 21 '05 #1
0 8275

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.