Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55346

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Invalid Qualifier - What Does this mean?? Posted by Richard2002 on 20 Sept 2003 at 11:58 AM
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
Report
Re: Invalid Qualifier - What Does this mean?? Posted by KDivad Leahcim on 20 Sept 2003 at 12:15 PM
: 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...
Report
Re: Invalid Qualifier - What Does this mean?? Posted by Richard2002 on 20 Sept 2003 at 12:39 PM
: : 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?

:

Report
Re: Invalid Qualifier - What Does this mean?? Posted by KDivad Leahcim on 20 Sept 2003 at 1:21 PM
: 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.
Report
Re: Invalid Qualifier - What Does this mean?? Posted by Fidz on 21 Sept 2003 at 7:34 PM
This message was edited by Fidz at 2003-9-21 19:35:35

: : 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:
If rootstring.Text = "6" And rootfret.Text = "0" Then


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


Report
Re: Invalid Qualifier - What Does this mean?? Posted by elatagaw on 26 Apr 2011 at 11:26 PM
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
Selection.verticalline = xnone
...
..
.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.