Are there known issues with Vista and Acc2003

D

David W. Fenton

Help me understand, David, why the VBA code _that is generated by
the wizards_ "can't be executed safely".

Because there's no way to mark wizard-generated code as a special
kind of code that can't have anything dangerous in it. Macros are
limited to a finite set of commands. VBA is not.
They haven't done away with VBA, they
have just done away with the Wizards generating it -- you can
create your own event procedures using VBA, but, if you are a
developer and going to extend an event procedure, you are going to
have to rewrite what they did with the *&$% macros.

But is there also not a very easy way to convert the macros to code?
I read something about that on one of the Access blogs (probably
Clint Covington's).
Do I think they have an agenda to eliminate VBA?

No, I don't think they do. At least, not until they can replace it
with a managed-code solution. Remember, a huge portion of Access
itself is written in *Access* and delivered as wizards. If VBA were
removed, then those wouldn't work.
Yes, indeed I do, unless
they have a groundswell of support from _enterprise customers_.
VSTO is already there to encourage Word and Excel developers to
move to the "wonderful world of DotNet." No amount of bitchin'
from "the great Access unwashed" is likely to have any effect.

Does VSTO allow you to write managed code for use in Word and Excel?
If not, then I don't understand how it's a replacement for VBA in
Word and Excel.
Frankly, I've been a developer since before Bill Gates was in
Junior High School, when he was borrowing time on somebody's
minicomputer to learn programming, and much before he founded
Microsoft. For me, it's a little late to have an interest in
switching to "user software support" -- that's for the interns
that the company hires from local colleges to support technical
education and scope out promising young new hires.

There will always have to be a scripting language in Access. The
question is: how full-featured will it be and will it still be able
to use API calls.
 
C

CDMAPoster

Because there's no way to mark wizard-generated code as a special
kind of code that can't have anything dangerous in it. Macros are
limited to a finite set of commands. VBA is not.


But is there also not a very easy way to convert the macros to code?
I read something about that on one of the Access blogs (probably
Clint Covington's).


No, I don't think they do. At least, not until they can replace it
with a managed-code solution. Remember, a huge portion of Access
itself is written in *Access* and delivered as wizards. If VBA were
removed, then those wouldn't work.


Does VSTO allow you to write managed code for use in Word and Excel?
If not, then I don't understand how it's a replacement for VBA in
Word and Excel.


There will always have to be a scripting language in Access. The
question is: how full-featured will it be and will it still be able
to use API calls.

I think they do want to eliminate or at least minimize VBA. I also
agree with their reasoning. I still hold to many of the predictions I
made here:

http://groups.google.com/group/comp.databases.ms-access/msg/5932d13cf554de71

I said, among other things:

My concern is still that MS may be trying to put VBA into legacy
mode.
If that happens, so that developers are forced into the DotNet world,
there will be a tremendous loss of efficiency for developers unless
new
techniques for customization are developed. I suspect that the new
XML
tools may be meant to lessen the hit of leaving VBA behind. MS may
be
ready to put VBA on a pedestal and place a spotlight on it as the
development tool of the future. Who knows? I don't see it that way
yet. I'm seeing VBA as being a potential sacrifice to DotNet web
integration. I am going to take Larry's advice seriously and try to
be
prepared for any eventuality. Maybe the PDC 05 didn't talk about VBA
much because it wasn't in yet. I'm still leaning toward the
deliberate
de-emphasis theory. Maybe Access will be dumbed down via a VBA
lobotomy in the future. It doesn't make sense for MS to push VBA
anymore. Besides, some XSLT, C#, and SOAP are good for the soul
until
we find out how MS really intends to do RAD.

Comments from PDC05 on WCF:

And we observed that, in most cases, enterprises that are very
successful in taking heterogeneous environments and having them work
in a cohesive way do messaging. And they do something very
important. They do Protocol Integration. That's the way they put
things together. They don't stick everything in one system or inside
of one database. They just have messages flow between one system to
another system. And we committed ourselves at that time, seeing that
observation, to doing WCF. And we also committed ourselves at that
time to doing full blown interop. That's when we sort of flipped the
switch and said, "You know what? We're going to talk to everybody."
....
SOAP enables rich extensibility and security.
....
Application Protocols: POX [Plain Old XML], RSS, ...
Infrastructure Protocols: SOAP, WS-*, ...
....
XML is one of our core architectural commitments.
....
But the key thing is Protocol Integration, XML and then avail yourself
of either Metadata or SOAP as appropriate. But that's where we're
betting as a company, on the fact that protocols are important and
we've got a lot of investment in WS-* and we're going to continue to
do that and we believe that's the center of gravity for us moving
forward.
....
XML, XML, XML, XML.

-- Douglas Purdy, COM 326, PDC05

James A. Fortune
(e-mail address removed)
 
A

Allen Browne

Use the Dropdown method of the combo, e.g.:

Me.[Combo3].Dropdown

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

message
 
D

David W. Fenton

Use the Dropdown method of the combo, e.g.:

Me.[Combo3].Dropdown

If I'm remembering correctly, the combo box has to have the focus at
the time you issue the command (which is not a big deal, as you most
likely wouldn't be issuing it anywhere except the OnEnter event).
 
A

Aaron Kempf

yeah I used F4 all the tmie-- even outside of MS Access-- I just wish that
other programs followed this convention

Of course, I'd use the .dropdown method over sendkeys.. right?


David W. Fenton said:
Use the Dropdown method of the combo, e.g.:

Me.[Combo3].Dropdown

If I'm remembering correctly, the combo box has to have the focus at
the time you issue the command (which is not a big deal, as you most
likely wouldn't be issuing it anywhere except the OnEnter event).
 
H

Harald Borchard

Thank you Allen - that was the exact answer I was hoping for - it made my
week!!

Allen Browne said:
Use the Dropdown method of the combo, e.g.:

Me.[Combo3].Dropdown

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

message
Hi David
i use SendKeys {f4} to open a dropdown box. What is your solution?
 

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