Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to call a C program?

Posted on 2002-03-30
3
Medium Priority
?
165 Views
Last Modified: 2010-05-02
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
Comment
Question by:ashok567
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 200 total points
ID: 6908326
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
 

Author Comment

by:ashok567
ID: 6923271
thanks a lot
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6923461
Thanks to you for "A" grade!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question