Does the VB6 IDE highlight the wrong text when certain errors occur?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm pretty sure this is a bug in the VB6 IDE but I haven't found any definitive reference to it before...
Sometimes when I've loaded a project which has some dependency issue (missing reference, etc.) the IDE will show an error like this:
("Compile error: Can't find project or library")
Note the text which it highlighted is a call to the UCase$
function which is essentially built into the language. There's no way its library is actually missing.
Is this a known bug? Is there any rhyme or reason to the text which is selected when this happens?
Update: The standard libraries which include things like UCase()
are included so that is not the actual problem. The highlight really seems to be nonsensical.
vb6 ide
add a comment |
I'm pretty sure this is a bug in the VB6 IDE but I haven't found any definitive reference to it before...
Sometimes when I've loaded a project which has some dependency issue (missing reference, etc.) the IDE will show an error like this:
("Compile error: Can't find project or library")
Note the text which it highlighted is a call to the UCase$
function which is essentially built into the language. There's no way its library is actually missing.
Is this a known bug? Is there any rhyme or reason to the text which is selected when this happens?
Update: The standard libraries which include things like UCase()
are included so that is not the actual problem. The highlight really seems to be nonsensical.
vb6 ide
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
@Brogan it is justDim sProjectName As String
in the same procedure.
– DaveInCaz
Jan 7 at 19:30
add a comment |
I'm pretty sure this is a bug in the VB6 IDE but I haven't found any definitive reference to it before...
Sometimes when I've loaded a project which has some dependency issue (missing reference, etc.) the IDE will show an error like this:
("Compile error: Can't find project or library")
Note the text which it highlighted is a call to the UCase$
function which is essentially built into the language. There's no way its library is actually missing.
Is this a known bug? Is there any rhyme or reason to the text which is selected when this happens?
Update: The standard libraries which include things like UCase()
are included so that is not the actual problem. The highlight really seems to be nonsensical.
vb6 ide
I'm pretty sure this is a bug in the VB6 IDE but I haven't found any definitive reference to it before...
Sometimes when I've loaded a project which has some dependency issue (missing reference, etc.) the IDE will show an error like this:
("Compile error: Can't find project or library")
Note the text which it highlighted is a call to the UCase$
function which is essentially built into the language. There's no way its library is actually missing.
Is this a known bug? Is there any rhyme or reason to the text which is selected when this happens?
Update: The standard libraries which include things like UCase()
are included so that is not the actual problem. The highlight really seems to be nonsensical.
vb6 ide
vb6 ide
edited Jan 3 at 17:05
DaveInCaz
asked Jan 3 at 15:46


DaveInCazDaveInCaz
3,46232142
3,46232142
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
@Brogan it is justDim sProjectName As String
in the same procedure.
– DaveInCaz
Jan 7 at 19:30
add a comment |
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
@Brogan it is justDim sProjectName As String
in the same procedure.
– DaveInCaz
Jan 7 at 19:30
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
@Brogan it is just
Dim sProjectName As String
in the same procedure.– DaveInCaz
Jan 7 at 19:30
@Brogan it is just
Dim sProjectName As String
in the same procedure.– DaveInCaz
Jan 7 at 19:30
add a comment |
1 Answer
1
active
oldest
votes
VB can do some strange things, but... check both the content and order of your References. UCase$()
isn't 'built into the language' in the way you might think -- it's not in the VB runtime, but in the VBA runtime, which must be included as a reference.
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54025552%2fdoes-the-vb6-ide-highlight-the-wrong-text-when-certain-errors-occur%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
VB can do some strange things, but... check both the content and order of your References. UCase$()
isn't 'built into the language' in the way you might think -- it's not in the VB runtime, but in the VBA runtime, which must be included as a reference.
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
add a comment |
VB can do some strange things, but... check both the content and order of your References. UCase$()
isn't 'built into the language' in the way you might think -- it's not in the VB runtime, but in the VBA runtime, which must be included as a reference.
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
add a comment |
VB can do some strange things, but... check both the content and order of your References. UCase$()
isn't 'built into the language' in the way you might think -- it's not in the VB runtime, but in the VBA runtime, which must be included as a reference.
VB can do some strange things, but... check both the content and order of your References. UCase$()
isn't 'built into the language' in the way you might think -- it's not in the VB runtime, but in the VBA runtime, which must be included as a reference.
answered Jan 3 at 17:02


Jim MackJim Mack
6611413
6611413
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
add a comment |
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
Thanks, The VBA runtime is definitely OK so that's not the actual problem in this instance.
– DaveInCaz
Jan 3 at 17:04
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54025552%2fdoes-the-vb6-ide-highlight-the-wrong-text-when-certain-errors-occur%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It probably doesn't help that you have demanded of the compiler "Evaluate this!" by use of redundant parentheses. But most likely the error comes from overloading the definition of UCase somewhere, screwing up the symbol table.
– Bob77
Jan 3 at 23:03
@bob77 not code I wrote myself :) ... Good thought on the symbol table I'll look into that. Thanks
– DaveInCaz
Jan 3 at 23:11
Do a search on the entire Project for "UCase" and you may find that it got defined as something else somewhere.
– Bob77
Jan 3 at 23:30
How is sProjectName defined?
– Brogan
Jan 4 at 21:46
@Brogan it is just
Dim sProjectName As String
in the same procedure.– DaveInCaz
Jan 7 at 19:30