×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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

I need to pass parameters directly from a Foxpro 2.6 application to a

I need to pass parameters directly from a Foxpro 2.6 application to a

I need to pass parameters directly from a Foxpro 2.6 application to a

(OP)
I need to pass parameters directly from a Foxpro 2.6 application to a VB 6.0 application. Both applications are running on the same PC(I don't want to write and read the parameters to a file.)
Appreciate your help.
Thanks,
Minh.
(201) 313 2843

RE: I need to pass parameters directly from a Foxpro 2.6 application to a

Hi MinhFoxFAQ,
In your case, I think that you can't do it directly, but if you don't want write dan read to a file, you use enviroment variable in DOS.
First you setting the Dos variable = your parameter in Foxpro 2.6, then you get Dos variable in VB 6.0

TONNI
uatnehc@bdg.centrin.net.id
Fox Forum

RE: I need to pass parameters directly from a Foxpro 2.6 application to a

You can pass any number of parameters to any program from FoxPro ->IF<- the target program was written to accept parameters. The VB6 program must have been written to accept parameters.

Assuming it was, Try This
lcRunApp = "VB6.exe /para1 /para2"
RUN /2 &lcRunApp

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