Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / June 2007

Tip: Looking for answers? Try searching our database.

'System.StackOverflowException'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandeep Thoppil - 09 Jun 2007 16:36 GMT
Hi

I am using Word 2003 interop to read and write into activeX controls that I am using inside Word document. I am accessing those controls from a VB.net application.
In some machine I found the application unexpectedy getting closed. As i debugged it I found ...

An unhandled exception of type 'System.StackOverflowException' occurred in
mscorlib.dll

//these are the set of code that threwthe above said exception
Dim cmbTemp As Microsoft.Vbe.Interop.Forms.ComboBox
OLEFormt = doc.InlineShapes(index).OLEFormat
cmbTemp = OLEFormt.Object
OLEFormt.Activate()
strText = cmbTemp.Text //this stmt threw the exception
Return strText

I can also find the code works fine in the developement machine as well as in soem other machines. All the machine were I tested was installed with .Net framework 2.0 and XP service pack 2.

Could somebody find me a soultion for this.

Thank you

Sandeep Thoppil

___
Newsgroups brought to you courtesy of www.dotnetjohn.com
GS - 19 Jun 2007 04:24 GMT
I am not expert. Allow me to suggest
- comparing the mscrodlib.dll
in the pc that works and in the one that does not, if you have not already
done so
-  make sure they all have  the same update for .net 2 framework

> Hi
>
> I am using Word 2003 interop to read and write into activeX controls that I am using inside Word document. I am accessing those controls from a VB.net
application.
> In some machine I found the application unexpectedy getting closed. As i debugged it I found ...
>
[quoted text clipped - 10 lines]
>
> I can also find the code works fine in the developement machine as well as in soem other machines. All the machine were I tested was installed with
.Net framework 2.0 and XP service pack 2.

> Could somebody find me a soultion for this.
>
[quoted text clipped - 4 lines]
> ___
> Newsgroups brought to you courtesy of www.dotnetjohn.com

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.