Jun 4th, 2005, 11:44 PM
#1
Thread Starter
Hyperactive Member
Microsoft Development Environment has encountered a problem and needs to close
hey im getting this error every once in a while when i try to change the anchor of a contorl. Any one know any thing about this??
Jun 4th, 2005, 11:46 PM
#2
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
seems to do it only sometimes. even on the same control. will work once but then not the next time.
Jun 4th, 2005, 11:48 PM
#3
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
hmm looks like it will let me do it once but then the next time. it dies
Jun 5th, 2005, 02:12 PM
#4
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
any one any ideas? its still doing this even after i restart. Or mabey someone knows how i can report this to MS?
Jun 5th, 2005, 02:38 PM
#5
Re: Microsoft Development Environment has encountered a problem and needs to close
Are you changing the anchor through the properties window or through code?
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jun 5th, 2005, 03:13 PM
#6
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
properties at design time. It seems to be crashing with more than just the anchor though also seems any property i change that is not just text or a number will make it crash.
Jun 5th, 2005, 03:19 PM
#7
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
this is the line it shows the error on when i click show debug i dont no if this might somehow help?
7C943345 mov eax,dword ptr [ebp-4]
Jun 5th, 2005, 03:39 PM
#8
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
interesting i can press debug and then when the debbuger comes up i just press play and it doesnt crash. Well atleast now i can work.
Jun 5th, 2005, 04:19 PM
#9
Re: Microsoft Development Environment has encountered a problem and needs to close
Can you determine if it crashes when changing a particular controls properties or is it all controls props?
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jun 5th, 2005, 05:04 PM
#10
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
it crashes no matter what control
Jun 5th, 2005, 05:05 PM
#11
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
also i belive it has something to do with a user contorl i have i was doing some testing and any project that uses that user control will act like this
Jun 5th, 2005, 06:44 PM
#12
Re: Microsoft Development Environment has encountered a problem and needs to close
Ah, so it has a common link between projects? If you create a New project without your usercontrol, it doesnt crash?
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jun 5th, 2005, 08:12 PM
#13
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
yes so i guess that means theres some kind of problem in this user control??
ill post it. see if it has the same effect with you.
Attached Files
Jun 6th, 2005, 12:48 AM
#14
Re: Microsoft Development Environment has encountered a problem and needs to close
Just checking things out for a few minutes, but if I get side tracked testing this for you tomorrow, dont hesitate to PM me to remind me.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jun 7th, 2005, 02:57 PM
#15
Re: Microsoft Development Environment has encountered a problem and needs to close
First thing I noticed is that you have absolutly no Error handling at all. You should add some Try Catch blocks.
Second a different grouping of the Anchor properties.
VB Code:
CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
'
'Try a different grouping
CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jun 7th, 2005, 03:38 PM
#16
Thread Starter
Hyperactive Member
Re: Microsoft Development Environment has encountered a problem and needs to close
that code is in the Windows Form Designer generated code. Are you saying that it generated bad code, and thats whats causing the errors?
Jun 7th, 2005, 04:23 PM
#17
Re: Microsoft Development Environment has encountered a problem and needs to close
I'm not too sure since I wasnt able to add the ctl to a test project.
But error handling will help to determine what area is the source
of the offending code.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width