Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I seem to have got a VB 6.0 form icon within the form. I can't seem to get rid of it. It does not go away when I run the form and not even when the executable is being launched, see the image[^]

Can anyone tell me how I can get rid of this please?

Thank you!

What I have tried:

I've tried everything from the form properties to engage or de-engage.
Posted
Updated 5-Nov-23 0:22am
v2
Comments
Richard MacCutchan 30-Oct-23 4:57am    
Without seeing your code it is impossible to guess what your problem is.

In the Visual Basic IDE draw a sqare around the area where the icon appears using your mouse. If there is a control in that area it will be selected and you can use the Properties window to determine what it is. You can probably just hit delete to get rid of it.

Alternatively, create a new form and copy the controls you want from the "broken" form to the new form. Then copy any code over.
Then delete the broken form and rename the new form to the original name.

Best solution - stop trying to develop stuff in a langugage that has been out of support for decades.
 
Share this answer
 
It seems that you are encountering an issue with an unwanted VB 6.0 form icon appearing within the form, even when running the application. Unfortunately, without seeing the image (provided link is not working and demanding for access) or having more detailed information, it's challenging to provide a precise solution. However, for the subjective issue, you can verify the following.
1. Verify that the application's icon is set correctly and does not inadvertently contain the image you are seeing.
2. Check the code in your application to ensure that there are no commands explicitly setting the form's icon to the image you are seeing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900