Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crosshair Cursor then IDE Crash

Status
Not open for further replies.

TLowder

Programmer
Mar 20, 2002
224
Hello,

When I open a specific project, others are fine, and move the cursor over a form view, it shows a crosshair cursor instead of the normal arrow. Then if I click on most objects it causes a crash. I found a few objects I can click on, in certain forms that when I click on them the cursor returns to normal and all is fine. For instance there is a ListView on one form I can click on and it goes normal but a ListView on another causes a crash. So now every time I open my project I have to go to these specific objects before I can do anything.
I would guess a reinstall might fix the issue, and I should probably try it from another computer too. This would tell me if vb is messed up or if it is my project. But for now, has anyone else ever seen this?

Thanks,

Tom
 

I think it did happen to me a long time ago. Don't remember the fix, but when you have a crosshair cursor instead of the normal arrow - click on "Pointer" on your toolbox (upper-left corner on most toolboxes).

It is not really a fix, but at least you will not crash.

I believe crosshair cursor happens when you want to draw a control on your form, but no control has been chosen, so VB does not know what to do, so it crashes (isn’t it nice…. :) )


Have fun.

---- Andy
 
Thanks,
It just stopped doing it but I'm sure your right. It had been going on for at least a few days. Perhaps I hadn't drawn any new controls in a while so it kept happening until earlier today.

Culprit found, well sort of. You got me thinking about the Pointer in the toolbox. Another thing I thought I changed today, is I had the toolbox hidden. I have it visible now so when the project opens it is there, defaults to pointer since toolbox is visible, and everything works fine. To test this, I then tried closing the toolbox, close project then open again and the problem is still there. While other projects work fine with the toolbox hidden.

Like you said, it isn't a true fix but it works. I tried deleting the project.vbw but that didn't help. Is there a setting somewhere that tells it current control on or something similiar that may be messed up?

Thanks,

Tom
 

You need to ask this somebody who knows more about IDE. I am just a simple programmer who clicks on stuff and hopes it will work. :)

Have fun.

---- Andy
 
Just out of curiousity, did you look compare your references, add-ins, etc. between the project that is given you a problem and the projects that are working correctly. I am just wondering if there is a "funky" ActiveX control or referenced DLL that has a "bug" in it that would cause this.

If you choose to battle wits with the witless be prepared to lose.

[cheers]
 
Are you on SP6, also worth trying if you're not.

- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
 
Andy, yes it is SP6.

Foada, the projects do have different references / components.

For now I'm fine with the work around. When I have more time I will to set up another computer and try there. I will also try to narrow down on a few references and controls.

Thanks for all your help.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top