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
Solved

how to call a C program?

Posted on 2002-03-30
3
160 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
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

860 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