Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here



Can I call the Lotus application at VFP?
I want it display my lotus file or excel file
in a program.

RE: Lotus

You can invoke Excel using COM Automation; use VFP's CreateObject() function to create an object reference to it, then call the Excel methods from within VFP to set various properties and make the sheet visible.

An example:

oXL = createobject("Excel.Sheet")

Robert Bradley

FoxDev - Visual FoxPro Development

RE: Lotus

I mean I want to run the Excel / lotus program, while I run my program.

It will run the MS Excel by auto, no need I click the Excel.exe.


RE: Lotus

You need to further define your question. Are you wanting to start Excel/Lotus when you open VFP in development mode or are you trying to start Excel/Lotus from within an application you built with VFP?

If the former, refer to Chapter 3, Configuring Visual FoxPro, in the Programmer's guide. Specifically the areas titled Starting Applications or Programs Automatically and Using a Configuration File.

If the latter, FoxDev's suggestion about COM Automation is the way to go if you need to manipulate the external program. If you are just wanting to open another program and could care less about manipulating it from within VFP, check out the RUN command in the help file.

Jon Hawkins

Carpe Diem! - Seize the Day!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close