interface between c and VB

vb6 Grenada
  • 14 years ago


    I have a c program i want to call this c program from my Vb program i also want to pass some parameters to the c program. please anybodu tell how to do this.thank u in advance

  • 14 years ago

    Ya, you can call that by shell command in vb give ur exe name there 'n also pass your parameter in this command.

    for help on SHELL you can refer MSDN 'n API Text Viewer.

    For open API Text Viewer go through this path....

    START>programs>Visual Studio> Visual Studio Tools > API Text Viewer

    initiale there is nothing go to FILE>Open Text File then select WIN32API.txt


    Yours Sincerely,

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.” - Antoine de Saint Exupéry