Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Invalid Qualifier - What Does this mean??

When I run my program this message appears:

"Compile error: Invalid Qualifier"

What does this mean? and how can I fix it?

thanks in advance!

rich

Comments

  • KDivad LeahcimKDivad Leahcim Posts: 3,948Member
    : When I run my program this message appears:
    :
    : "Compile error: Invalid Qualifier"
    :
    : What does this mean? and how can I fix it?
    :
    : thanks in advance!
    :
    : rich
    :

    The "qualifier" is the first part of a name in dot notation. "Text1" in Text1.Text would be the qualifier, I think. I can't reproduce the error to be sure what it is, so I have to guess.

    Anyway, it often helps to see the line that is causing the error...
  • Richard2002Richard2002 Posts: 4Member
    : : When I run my program this message appears:
    : :
    : : "Compile error: Invalid Qualifier"
    : :
    : : What does this mean? and how can I fix it?
    : :
    : : thanks in advance!
    : :
    : : rich
    : :
    :
    : The "qualifier" is the first part of a name in dot notation. "Text1" in Text1.Text would be the qualifier, I think. I can't reproduce the error to be sure what it is, so I have to guess.
    :

    : Anyway, it often helps to see the line that is causing the error...

    If rootstring.Text = 6 And rootfret.Text = 0 Then

    it highlights the rootstring part of the line when the program compiles, does this help at all?

    :

  • KDivad LeahcimKDivad Leahcim Posts: 3,948Member
    : If rootstring.Text = 6 And rootfret.Text = 0 Then
    :
    : it highlights the rootstring part of the line when the program compiles, does this help at all?
    :

    I assume you are sure that "rootstring" is the correct name of the object/control? You could try placing the cursor on "rootstring" and hitting Ctrl+Space to make sure it's a recognized one...

    I'm afraid I can't help more than that, sorry.
  • FidzFidz Posts: 26Member
    [b][red]This message was edited by Fidz at 2003-9-21 19:35:35[/red][/b][hr]
    : : If rootstring.Text = 6 And rootfret.Text = 0 Then
    : :
    : : it highlights the rootstring part of the line when the program compiles, does this help at all?
    : :
    :
    : I assume you are sure that "rootstring" is the correct name of the object/control? You could try placing the cursor on "rootstring" and hitting Ctrl+Space to make sure it's a recognized one...
    :
    : I'm afraid I can't help more than that, sorry.
    :

    hi there
    how about this:
    [code]
    If rootstring.Text = "6" And rootfret.Text = "0" Then
    [/code]

    since it is going to be recognised as a string and not as an integer.....
    cheers


  • elatagawelatagaw Posts: 15Member
    hi guys!

    i have a problem also in "Invalid Qualifier"

    in my code, i have a procedure to format an excel cells.

    at first, there's no error but this morning whden i going to compile my vb6 project the error existed. how come?

    e.g.

    Range(col, row).selected
    [color=Red]Selection[/color].verticalline = xnone
    ...
    ..
    .

Sign In or Register to comment.