Odd keys icon on form

Posted on 2005-05-08
Last Modified: 2010-05-02
I'm sure I'll be embarrassed after I get this answer but I really don't know how I did this.  On one form in my application, there is a tiny icon at the top left that will not go away!  You can see it here:

This is VB6, by the way

What have I done and how can I make it go away (or do I want to)?
Question by:alanvranian
    LVL 29

    Accepted Solution

    You might of accidently added a picture to your form by mistake.

    put this code in Form_Load

    Set Form1.Picture = Nothing

    Author Comment

    Bingo!  I was trying to change the background color on the form and I remember fiddling with that but never realized I added a pic since I selected no image.  So I went and added a pic and wsa then able to delete it and the annoying little keys icon went away.

    I can sleep now, thanks :)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now