Cannot click on a button

Posted on 2005-04-18
Last Modified: 2013-12-26
I have a user who claims that he cannot click a command button. He can see it, but cannot access it. This is the standard VB command button. I have several hundred copies of this program installed on various computers and this is the only time this has come up.  He is running Windows XP 5.1 build 2600. I'm using VB 6 SP6.

There are other command buttons in the application that work. It's just this one that does not. It doesn't make any sense to me.  There are no hidden or clear objects on the form that might be absorbing the click event. There are no other events on the button (mouse down etc). I have made it as simple as I can and he claims it still doesn't work.  Is it pilot error on the user? Does it sound familar to anyone?  Any suggestions how to debug it?  I'm stuck
Question by:williams99
    LVL 32

    Expert Comment

    Can the user TAB to the button and use the keyboard to activate the button?
    Does the button appear to press or does it appear disabled?

    Author Comment

    Apparently using TAB doesn't work.  I will ask if the button is disabled. THere is no code which should disable it.
    LVL 8

    Accepted Solution

    does it appear to click and nothing happen or does it not even click at all. i have seen some instances of buttons in win2000 not doing anything but they still click. now this was at a point in time when i upgraded a security patch and it happened in mmc dialog boxes. required a reload of operating system, but never on a vb app. if it clicks and nothing happends i would put msgboxes at the top of the procedure that notify me that the event was firing. msgbox "Button Clicked". then throughout the procedure add them to tell you where the execution is, its weird yes, but... there IS a reason. If i ever find a situation where i cant find the reason i'm getting out of this business. HEHEHe
    LVL 18

    Assisted Solution

    Check whether the frame or picturebox or tabstrip on which the button is placed is disabled or not. This is one of the main reasons for this kind of a problem.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    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…
    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…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    729 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

    24 Experts available now in Live!

    Get 1:1 Help Now