Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

embedding c into vb

  • 07-03-2006 10:28am
    #1
    Closed Accounts Posts: 2


    what i am trying to achieve is to call a c program from within visual basic version 6. for example i have a c program and when i click on a button in vb a specific c program runs in the background. Does anybody have some examples to help me out. i am really lost

    thank you


Comments

  • Closed Accounts Posts: 24 Phileas Fogg


    Shell "C:\SomeFolder\foo.exe"
    

    Should launch a program called foo.exe in a folder called SomeFolder on the C drive. Been a while since I used vb (I'm assuming you're using vb6). Have a look at the ShellExecute and CreateProcess api calls as well.


  • Closed Accounts Posts: 2 candygl


    i want to program a chip through c on a button in vb6

    Shell ""D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE""

    sendkey #include <stdio.h>
    {
    void main()
    my program
    }


    does anybody know if this is correct


  • Registered Users, Registered Users 2 Posts: 595 ✭✭✭gilroyb


    It's really easy

    vcb


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    Is this thread releated to

    http://boards.ie/vbulletin/showthread.php?t=2054898972


    if so could ye merge them as im confused as how to help


Advertisement