Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is it possible to use a VB.NET program to call C programs?

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 last published in April 2004

Dig Deeper on Windows client management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close