To Greg Maxey

K

Karl E. Peterson

aalaan said:
Thanks again. I can't understand why the other poster couldn't
understand my question. Seemed straightforward enough to me, and
these answers from Jonathan have put me on the right track.

I understood your question, but I wonder if you did. <g> You referenced
QuickBasic, which had a *very* rigid system of reserved keywords. VB(A)
doesn't. You can override nearly all of them, as you wish. You may get
burned in the process, but that's the consequence of power. There are
keywords in VB proper that cannot be overridden, but they can probably be
counted on a few hands. The rest are fair game.

I did tell you how to determine whether a given word was "in use" by other
components within your project sphere, too, btw.
 
A

aalaan

Thanks for bearing with me. The vb6 (learning edition) that I'm using is
from a CD where surely there is a 'standard' object library. How can it
change each week?
 
A

aalaan

Thanks for this. I do indeed set a fairly big left margin and will try the
effect of reducing that.
 
A

aalaan

OK getting this a bit better. The key is your contrast of QB with VBA and
yes, the former was channelling my thinking. With regard to the last part of
your post, would you please repeat that as I can't find it?

Also, suppose you are deliberately going to avoid overriding *any* keyword.
Where will you then find the list?
 
K

Karl E. Peterson

aalaan said:
Thanks for bearing with me. The vb6 (learning edition) that I'm using
is from a CD where surely there is a 'standard' object library.

Have you ever pressed the F2 key?
How can it change each week?

It changes in reaction to your changes in the Project-References dialog,
which (for sake of completeness) are saved with each project.
 
A

aalaan

That did not work. But it appears I have now found the solution, though
*why* it is a solution escapes me. I simply change page setup to 'letter'
although in the printer I am using A4. Surely this is a bug and workaround?
The system arrogantly assumes everyone in the World is using the US 'letter'
although A4 is pretty well internationally standard.
 
K

Karl E. Peterson

aalaan said:
OK getting this a bit better. The key is your contrast of QB with VBA

Just to muddy the waters a bit more. I have been assuming you were working
with VBA all along, since that's the charter of this group, but in your
other recent post you reference VB6. VBA is part of VB6, but there is more.
It's important to be *very* specific in discussions like this, to avoid
folks like me introducing even more uncertainty into your world.
and yes, the former was channelling my thinking. With regard to the
last part of your post, would you please repeat that as I can't find
it?

Also, suppose you are deliberately going to avoid overriding *any*
keyword. Where will you then find the list?

Okay, the answer to both of these questions is the "Object Browser". You
can get to it via either the View menu in the IDE, or by pressing the F2
key. Within the object browser, you'll see a dropdown that defaults to
"<All Libraries>". Searches automatically include every library you
reference (Project-References). You can examine individual libraries by
selecting them from that top dropdown.
 
A

aalaan

I think what is needed is a text explaining how to convert your thinking
from the procedural and rigid framework of say QuickBASIC to this different
way of thinking.
 
K

Karl E. Peterson

aalaan said:
I think what is needed is a text explaining how to convert your
thinking from the procedural and rigid framework of say QuickBASIC to
this different way of thinking.

You might try browsing the archives (BasicPro, VBPJ) here:

http://www.fawcette.com/archives/magazines/vsm/

In particular, go back to the early-90s. For example, the "First
Impressions of Visual Basic" article in the June/July 1991 issue.
 
K

Karl E. Peterson

aalaan said:
Thanks. Working with vb6 *and* vba (and these seem to be mostly the
same?)

Mostly yeah. I typically say VBA is a subset of VB6, but in this forum
them's considered "shootin' words." <g>
 
A

aalaan

Karl (BTW sorry to keep quoting your name Greg, but the thread lives on...).
I tried the fawcette archives and got a 'you're not a member- go away' type
message!
 
K

Karl E. Peterson

aalaan said:
Karl (BTW sorry to keep quoting your name Greg, but the thread lives
on...).
NP.

I tried the fawcette archives and got a 'you're not a member-
go away' type message!

Oh those... I forget that some of them are "protected"... Ever hear of
BugMeNot? http://www.bugmenot.com/

(If you were using FireFox, I'd recommend their extension -- login at all
kinds of places with a simple right-click!)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top