Solved

how to call a C program?

Posted on 2002-03-30
3
161 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 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

733 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