Ask the Expert

Using a VB.NET program as front-end interface to call C programs from menu or button click

Is it possible to use a VB.NET program as the front-end interface and have it call C programs from, say, a menu or button click?
It all depends on what you mean by "call C programs." If you mean start standalone .EXE programs written in C: absolutely. Look at the Process class on how to start processes. If it means calling C functions in a .DLL, that works as well, but is more work. You'll need to read up on InterOp and how to declare the C functions in such a way that you can call them from .NET.

This was first published in March 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: