Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip
Red X in Tool Strip Red X in Tool Strip
Red X in Tool Strip
Go Back  Xtreme Visual Basic Talk > > > Red X in Tool Strip


Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2012, 10:20 PM
CodeCruncher CodeCruncher is offline
Junior Contributor
 
Join Date: Jul 2006
Posts: 355
Default Red X in Tool Strip


Not sure if this is an easy fix or a hard one, but to make a long story short I had to restart a project.

I copied across all the code and got it going, but when I copied across the tool strip menu it came up with a Red X, where on the old project it was displaying fine.

I removed the copied tool strip and dragged a new one onto the form, but even a brand new one with no modification comes up with a Red X.

I tried a couple of the suggestions I could find on the internet, but none of them seemed to make any difference. I tired stepping through the code (F8) but it does go anywhere near any tool strip code.

I added a New Sub complete with InitializeComponents, but when it gets to initialise it goes yellow and then next step goes to End Sub.

I though in previous projects it went to another class and setup the components on the form. Is the problem here?

Edit:
Just got home and thought I would throw a button on the form to see if it would display that and it does. Not sure if that helps tell you anything.

Last edited by CodeCruncher; 01-23-2012 at 12:35 AM.
Reply With Quote
  #2  
Old 01-23-2012, 12:51 AM
CodeCruncher CodeCruncher is offline
Junior Contributor
 
Join Date: Jul 2006
Posts: 355
Default

Ok now that's interesting... I just created a new project and added a toolstrip. No code whatsoever and it is still coming up with a red cross. Almost seems like there is a configuration issue with VB.

Edit:
The mystery deepens... Just fired up VB 2008 which I haven't used since installing 2010, and repeated the same excersize... worked as expected no red x, suggesting the issue is with VB 2010.

Is there a config file or something I can blow away or reset?

Last edited by CodeCruncher; 01-23-2012 at 01:15 AM.
Reply With Quote
  #3  
Old 01-23-2012, 08:46 AM
AtmaWeapon's Avatar
AtmaWeaponRed X in Tool Strip AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

Hmm... have you tried rebooting? It's really strange for something to persist like that. Maybe try a recent System Restore point?
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #4  
Old 01-24-2012, 12:42 AM
CodeCruncher CodeCruncher is offline
Junior Contributor
 
Join Date: Jul 2006
Posts: 355
Default

Tried full shut down no joy.

This gets more intriguing... created a basic project with tool strip in vb2008 and saved.

Open 2010 and converted it... ran fine. Open up current project and I see the red x. Re opened the converted project all fine. Created new basic project in 2010 with tool strip and I get red x.

So I can create a project in 2008 and convert it, but I can’t create the same project in 2010 without it chucking a wobbly.

Might need to uninstall and reinstall VB2010 as I turn off system restore.
Reply With Quote
  #5  
Old 01-24-2012, 04:33 PM
CodeCruncher CodeCruncher is offline
Junior Contributor
 
Join Date: Jul 2006
Posts: 355
Default

Definitely something PC related…

Copied my project onto my work PC and tried running it from the VB 2010 installed on it.

No red x…. so it looks like an uninstall and reinstall required on mine.
Reply With Quote
  #6  
Old 01-27-2012, 06:55 PM
CodeCruncher CodeCruncher is offline
Junior Contributor
 
Join Date: Jul 2006
Posts: 355
Default

Just a quick update on this anomaly...
I haven’t had chance to reinstall just yet, but I did notice that if I hover over where the text should be it is still showing the tool tip, and the button on the menu still works.
Also when the app is compiled and installed the red x isn’t there, and it operates as normal...
So it doesn’t appear in the form designer, and it doesn’t appear in the compiled code, only when running it directly from VB... quite strange but hopefully this might help if others have the same issue.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip Red X in Tool Strip
Red X in Tool Strip
Red X in Tool Strip
 
Red X in Tool Strip
Red X in Tool Strip
 
-->