473,804 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automation

Hello,

I have two versions of Access installed on my machine, XP and 2003. I
am trying to automate the process of creating an ADE for distribution
to end users running a mix of XP and 2003. I do all my development
work in 2003 but create final ADE's using XP. I'd like to create a
small app in 2003 that opens a second app (an ADP in XP via automation)
and sets various options and then creates an ADE. If I start an
application in Access 2003, is it possible for this application to
start a second application in Access XP using automation? If so, how
do I specify that the second application is to be opened using XP? Any
help appreciated. Thanks.

Bruce

Nov 17 '06 #1
11 1747
de************* **@gmail.com wrote:
If I start an
application in Access 2003, is it possible for this application to
start a second application in Access XP using automation?
Unless you have a tool that creates ADEs in other versions of Access, you're
going to have some difficulties. I'm not sure there're any on the market yet.
I bought a tool that creates Access 2000 MDEs from Access 2003, but it only
creates MDEs, not ADEs, and not for Access 2002 either.

If you have your computer set up with Access 2002 as the default and use late
binding, you can probably do this, but you have to get the handle of the
second Access window. That's the hard part. There's a trick to it because
only the first instance of Access will be returned when you use the Windows
APIs, and I've forgotten what that trick is.

You could try to automate the task by shelling out and giving the full path
to Access 2002 to open your target database and execute a macro that runs
code you've already placed in one of the modules in the target database that
compiles the modules, then creates an ADE file, then deletes the macro from
the ADE file.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 19 '06 #2
Thanks. I think the trickiest part is simply getting A2003 to start an
automated instance of A2002. I could use shell but I really need
automation to be able to do all the preliminary stuff I have to do
(like setting various options, checking references, changing version
numbers, etc.) before I create the ADE. If I can't get A2003 to
automate A2002 then I'll probably just do what I need to entirely in
A2002 which is not a huge problem. Thanks again for the response!

Bruce

Nov 27 '06 #3
de************* **@gmail.com wrote:
I could use shell but I really need
automation to be able to do all the preliminary stuff I have to do
(like setting various options, checking references, changing version
numbers, etc.) before I create the ADE.
Some of that you can automate from an Access 2003 application, but things
like checking references which require a specific version (Microsoft Access
10.0 Object Library, not 11.0) needs to be done in Access 2002 before
conversion to an ADE, so automating from Access 2002 makes more sense. Glad
I have a tool that takes care of that stuff for me before it creates an
Access 2000 MDE from Access 2003, so I don't have to worry about any of that.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 27 '06 #4

Granny Spitz via AccessMonster.c om wrote:
de************* **@gmail.com wrote:
I could use shell but I really need
automation to be able to do all the preliminary stuff I have to do
(like setting various options, checking references, changing version
numbers, etc.) before I create the ADE.

Some of that you can automate from an Access 2003 application, but things
like checking references which require a specific version (Microsoft Access
10.0 Object Library, not 11.0) needs to be done in Access 2002 before
conversion to an ADE, so automating from Access 2002 makes more sense. Glad
I have a tool that takes care of that stuff for me before it creates an
Access 2000 MDE from Access 2003, so I don't have to worry about any of that.
Just out of curiosity, what is this tool of which you speak?

Bruce

Nov 27 '06 #5
de************* **@gmail.com wrote:
Just out of curiosity, what is this tool of which you speak?
Advertising is prohibited in the newsgroups so I can't give you a link. It's
one of the tools on an Access developer's tool bar I bought from one of the
web sites of people who post in the Access newsgroups. It's not FMS or
Moshannon if that's what you're thinking.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 28 '06 #6
"Granny Spitz via AccessMonster.c om" <u26473@uwewrot e in message
<69f9eae61feea@ uwe>:
de************* **@gmail.com wrote:
>Just out of curiosity, what is this tool of which you speak?

Advertising is prohibited in the newsgroups so I can't give you a
link. It's one of the tools on an Access developer's tool bar I
bought from one of the web sites of people who post in the Access
newsgroups. It's not FMS or Moshannon if that's what you're
thinking.
I'm perhaps interpreting the charter of this NG differently, but I
thought that "You may answer a question with a link to a commercial
site which pertains to the question." meant that you could do that.

http://www.mvps.org/access/netiquette.htm

--
Roy-Vidar
Nov 28 '06 #7
RoyVidar wrote:
I'm perhaps interpreting the charter of this NG differently, but I
thought that "You may answer a question with a link to a commercial
site which pertains to the question." meant that you could do that.
Some people interpret it more loosely and some people interpret it more
strictly. I read the arguments and obscenities in posts in the past from
both sides. I don't want to run afoul of anybody's rules of conduct, so I
try not to post links to commercial sites even if the product is exactly what
I think the poster needs, because I don't want anybody to think I'm their
salesman. There aren't many commercial site links in people's sig lines in
the Access newsgroups, so if you look I'm sure you'll find all the commerical
products in a few minutes, at least I did.

In the spirit of the newsgroups we're offering help, not sales.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200611/1

Nov 28 '06 #8
"Granny Spitz via AccessMonster.c om" <u26473@uwewrot e in message
<69fa8ea4f5ef8@ uwe>:
RoyVidar wrote:
>I'm perhaps interpreting the charter of this NG differently, but I
thought that "You may answer a question with a link to a commercial
site which pertains to the question." meant that you could do that.

Some people interpret it more loosely and some people interpret it
more strictly.
Why interpret at all - posting a link to a commercial site which
pertains to the question is explicitly allowed in this NG.

What you do is of course the opposite of what you say - by stating
"Glad I have a tool that takes care of that stuff for me before it
creates an Access 2000 MDE from Access 2003, so I don't have to worry
about any of that."
you are effectively advertising this product, and doing a darn good job
at it. For a different approach, look at those who follow the charter
and just post a link - here are a couple of samples (watch for
linebreaks in the links)

http://groups.google.com/group/comp....276896d3bb3c52
http://groups.google.com/group/comp....ef795f6edc4c82
http://groups.google.com/group/comp....a337a898a52e00
http://groups.google.com/group/comp....ff5b2c1c64fd8b
I read the arguments and obscenities in posts in the
past from both sides.
Would that be after someone has followed the NG charter and posted a
link to a commercial site which pertains to the question?
I don't want to run afoul of anybody's rules
of conduct, so I try not to post links to commercial sites even if
the product is exactly what I think the poster needs, because I don't
want anybody to think I'm their salesman.
When advertising like you do, and then refuse to do the one thing which
is explicitly allowed in this NG (giving the incorrect excuse that
posting links to commercial sites aren't allowed in this NG), what
impression do you think you give?
There aren't many
commercial site links in people's sig lines in the Access newsgroups,
so if you look I'm sure you'll find all the commerical products in a
few minutes, at least I did.
Where does the sigs come into the equotation?
In the spirit of the newsgroups we're offering help, not sales.
Sure, let us all start writing order/invoice systems for small
businesses, video rental systems, small business inventories... from
scratch again, so we can do our utmost to avoid sales and anyone
earning money, eh? Face it, for some challenges posted here,
recommending a commercial solution is a better alternative than
reinventing the wheel... I wouldn't be surprised if that's why the
charter explicitly allows posting links to commercial sites which
pertains to the question.

--
Roy-Vidar
Nov 29 '06 #9
RoyVidar wrote:
"Granny Spitz via AccessMonster.c om" <u26473@uwewrot e in message
In the spirit of the newsgroups we're offering help, not sales.

Sure, let us all start writing order/invoice systems for small
businesses, video rental systems, small business inventories... from
scratch again, so we can do our utmost to avoid sales and anyone
earning money, eh? Face it, for some challenges posted here,
recommending a commercial solution is a better alternative than
reinventing the wheel... I wouldn't be surprised if that's why the
charter explicitly allows posting links to commercial sites which
pertains to the question.
I support Granny's postion on this:

Links and commercial solutions are sterile. Debate, explanation and
hypothesis are the fuel of innovation and of learning.

If someone wants a solution let him/her engage a developer. If someone
wants to learn, let him/her come to CDMA.

Nov 29 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
5851
by: qwweeeit | last post by:
Hi all, Elliot Temple on the 1 June wrote: > How do I make Python press a button on a webpage? I looked at > urllib, but I only see how to open a URL with that. I searched > google but no luck. > For example, google has a button <input type=submit value="Google > Search" name=btnG> how would i make a script to press that button? I have a similar target: web automation, which
25
3751
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's machines. The code opens MS Word through Automation and then opens a particular Word doc. It's still working fine on most machines; but on one or two of them, the user is getting an Automation Error. The code used is as follows: Dim objWord As...
1
808
by: Jimmer | last post by:
I've got what should be an easy automation problem, but the solution simply isn't coming to me. I've got several public variables set up for automation as follows: Public gappExcel As Excel.Application 'ADO Object for Excel Automation Public gstrExcelDir As String 'Source or Destination Directory
1
2410
by: Lee Seung Hoo | last post by:
hi~ :) I need all information of "Automation" or "Automation Object" what is that ? why is it useful ? How can I use that by C# or .Net Framework ?
6
598
by: a.theil | last post by:
Please help! I need a simple excel automation, just 2 write some files into excel. I do: Dim oXL As Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet Dim oRng As Excel.Range
0
9319
by: Sharath | last post by:
Quality Globe is Glad to Offer you the Fast Track course on Automation, QTP Basics and Advanced, and Quality Center Starting Date: June 4th, 2007 Timings: 10 AM to 3:30 PM Duration: 50 Hours Location: BTM Layout 1st Stage, Bangalore
0
2389
by: Sharath | last post by:
"Inspired" by the huge success of our first two automation fast track batches We are forced to start third fast track automation batch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0
2199
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first three automation fast track batches We are forced to start fourth fast track automation batch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project
0
2078
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first four automation fast track batches We are forced to start fifth fast track automation batch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project
0
1601
by: madihamir | last post by:
Iam new to .net and have gotten assignment for make the class library to automate the outlook I have tried to done it but i've to make the Handlers also . Detecting an methods for receiving and sending things to outlook.. and OutlookHandler has a list of outlookmessages for example I know that outlookHandler will typically have methods like the following
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10359
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9177
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6870
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.