• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

how to call a C program?

Sir,
I will write a C program(or C++) to compress a file. I f the front end is designed with VB, with user interface designed for accepting file to be compressed and a button is provided for compress.
Please tell me how to achieve this? Also, I want the compressed file to be avialble through VB interface to the user.
ashok
0
ashok567
Asked:
ashok567
  • 2
1 Solution
 
Richie_SimonettiIT OperationsCommented:
Use shell function with required parameters:
shell "c:\myproginc.exe " & "parameter parameter.....", vbnormalfocus
For compress from VB, go to www.vbaccelerator.com which has a nice dll to zip files.
0
 
ashok567Author Commented:
thanks a lot
0
 
Richie_SimonettiIT OperationsCommented:
Thanks to you for "A" grade!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now