473,396 Members | 2,129 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,396 software developers and data experts.

MS Access with VB for applications and python


For the first time, I am trying to program python in a windows-environment,
and now I am having some trouble with combining python and MS Access...

This is what I want to do:
A MS Access database is started, this database has numerous VB-forms, and
one of those forms calls my python-program, so far so good. But before my
python-program quits, I want to call one of the VB-forms in the database.
This I haven't been able to find out how to do.
The database cannot be closed, it has to run all the time while my
python-program is working.

So, if anyone can help me with this, I'll be very happy!

Kristin
Jul 18 '05 #1
1 1773
Uggen Kristin T <Kr*************@sintef.no> wrote:

For the first time, I am trying to program python in a windows-environment,
and now I am having some trouble with combining python and MS Access...

This is what I want to do:
A MS Access database is started, this database has numerous VB-forms, and
one of those forms calls my python-program, so far so good. But before my
python-program quits, I want to call one of the VB-forms in the database.
This I haven't been able to find out how to do.


Do you mean you need to DISPLAY an Access form, or do you mean you need to
call a function in the associated code module?

The first can be done, by using the Access object model. The second is
more difficult. Access code modules are not COM objects, so you cannot
call directly into them from outside of Access.

However, through the object model, you should be able to use DoCmd, and
that lets you call a macro or a public function.

The Access object model is discussed on Microsoft's web site.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #2

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

Similar topics

10
by: John Phelan | last post by:
I read an article by, by Mike Groh, in Access-VB-SQL Advisor Magazine, Week 37 that concerns me quite a bit on distributing Access Applications commercially. First I need to describe a "commercial...
7
by: davdgreat | last post by:
Hello All, This is my first time actually posting a question to this group. Here is my situataion. I have an old access application that needs to be updated so that multiple developers are able...
1
by: Simeon Nevel | last post by:
Can anyone recommend a good book (or three) with in-depth coverage of developing turn-key Access applications? Simeon
0
by: Scot | last post by:
With multiple access applications running how do you reference a particular field on a particular form in a particular application from a Word Document. The code below retrieves the information...
3
by: Todd D. Levy | last post by:
What do I need to get (from Microsoft I assume) in order to distribute stand alone Access applications to people who do not (and will not) have Access installed on their systems? I have heard...
2
by: John Baker | last post by:
Hi: Can someone tell me a good (not too technical) manual or guide for developing Access applications to be used over the web. We expect to have a number of associates who will be reporting...
0
by: Ben | last post by:
Hi all, I'm looking for examples of off-the-shelf business to business (b2b) access applications. The scope of my investigation is pretty broad so any examples would be of a great deal of help. ...
2
by: Mike Ridley | last post by:
I have a database of Access tables on the server and ODBC links to legacy systems. This is not too much of a problem as, at least, I have my tables/files in 2 distinct places. Unfortunately as...
13
by: royaltiger | last post by:
I am trying to copy the inventory database in Building Access Applications by John L Viescas but when i try to run the database i get an error in the orders form when i click on the allocate...
6
by: SAMI2 | last post by:
Hi Friends, can I deploy MS access applications as wibpage over an intranet without using ASP, PHP etc..... thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.