473,395 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Call One Access Application from Another

What would be the syntax to open and run one application from another?

The syntax from the run command box would be:

"c:\Program Files\Microsoft Office\Office\msaccess.exe"
"d:\Apps\ChangeMgt.mdb" /x SetupInvoice

where SetupInvoice is a macro which just calls a procedure module,
"ExportInvoice" which does its thing and closes the application.

Is there a way to ope then same app and have it simply execute the module
without having to call a macro first?

Many thanks
Mike Thomas


Nov 12 '05 #1
1 2044
The other way is to use a (dummy) Form execute your code in the Form_Open or
Form_Load Event of the (dummy) Form. You will need to nominate this Form as
the StartUp Form for your database.

/x MacroName on the command-line should work fine.

--
HTH
Van T. Dinh

"Mike Thomas" <mi**@ease.com> wrote in message
news:6h**********************@newssvr28.news.prodi gy.com...
What would be the syntax to open and run one application from another?

The syntax from the run command box would be:

"c:\Program Files\Microsoft Office\Office\msaccess.exe"
"d:\Apps\ChangeMgt.mdb" /x SetupInvoice

where SetupInvoice is a macro which just calls a procedure module,
"ExportInvoice" which does its thing and closes the application.

Is there a way to ope then same app and have it simply execute the module
without having to call a macro first?

Many thanks
Mike Thomas

Nov 12 '05 #2

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

Similar topics

4
by: kcmagg | last post by:
Mornin, group. Long-time usenet lurker, 1st time poster to this group. If I am in the wrong ballpark, please point me in the right direction :-) I work in a call center and what we are looking...
24
by: Jazper | last post by:
hi i have this problem. i made a class deverted by CRootItem with implementation of IDisposable-Interface. i made a test-funktion to test my Dispose-Method.... but when set a breakpoint in my...
3
by: dotNETDavid | last post by:
We've broken our app into various assemblies. The WinForm assembly provides the user interface, other assemblies provide various I/O services. I'd like to be able to call...
4
by: dale zhang | last post by:
Hi, I have the following private function in one page: private string Connect() { string sConnect; // this value could go directly in the Global.asax.vb declarations switch...
10
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal...
2
by: elora_c | last post by:
I'm making a call to a webservice from my ASP.NET page. The web application has anonymous access turned off and Integrated Windows auth turned on. The web.config has <identity impersonate=true>. ...
2
by: WT | last post by:
Hello, I have a .NET 1.1 application that load and call a custom assembly. Problem is that this is working only with .net 1.1 custom assemblies, and I have no access to the code for this...
7
by: Steve_Black | last post by:
Hello, I'm toying with the idea of loading a MenuStrip (VB.Net 2005) dynamically based on who is logged into my system. Every user has different security settings and I want to customize the...
6
by: RandomElle | last post by:
Hi there I'm hoping someone can help me out with the use of the Eval function. I am using Access2003 under WinXP Pro. I can successfully use the Eval function and get it to call any function with...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.