Solved

how to call a C program?

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 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…

728 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