Calling a C program from Vb.Net

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Calling a C program from Vb.Net

    Hi,

    I need to call a C procedure from my aspx.vb class. Can someone please help
    me how to do this. The C program sits on a unix machine....please help or
    point me in the right direction.

    Any help would be greatly appreciated.

    Cheers


    Grace McMahon Guest

  2. Similar Questions and Discussions

    1. PDF and program won't open; "Error in Acrord32" "This program has performed an illegal operation and
      I recently had a browser hijacker. Fixed it with Norton and Lavasoft. Now, after downloading new Reader 6.0, I can't open anything. Only gives...
    2. calling external program usring fscommand
      I M USING FLASH MX 2004 I M TRYING TO CALL EXTERNAL PROGRAM LET'S SAY ORACLE FORM FILE 'IFRUN60.EXE' AND PASSING PARAMETER LIKE THIS IFRUN60...
    3. Calling a program in win32 with spaces in the path to the .exe
      How do you handle spaces in a system call to an .exe @args = (C:/Program Files/Total War/Medieval - Total War/Medieval_TW.exe");
    4. Calling A C++ program
      Hello All, I need to write a program to call a C++ program (mktrace). The program ask for an input file and then it ask for output file. I have...
    5. calling a java program with shell_exec()
      Hi, I couldn't compile php with java support on Mac OS X so I thought I'd call my java program with shell_exec(). It does work for simple...
  3. #2

    Default Re: Calling a C program from Vb.Net

    u cannot call a c procedure from a c# program. what you can do is call the c
    program. You would possibly need to modify your c code to accept parameters
    that would then call the appropriate function, either that or rewrite your c
    code into a dll exposing the necessary function calls in its interface.
    good luck

    "Grace McMahon" <gracemcmahon100@hotmail.com> wrote in message
    news:ek83MmKUDHA.3192@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I need to call a C procedure from my aspx.vb class. Can someone please
    help
    > me how to do this. The C program sits on a unix machine....please help or
    > point me in the right direction.
    >
    > Any help would be greatly appreciated.
    >
    > Cheers
    >
    >

    Alvin Bruney Guest

  4. #3

    Default Re: Calling a C program from Vb.Net

    UNIX ...
    do you have control over the C program or you just use it

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!

    Natty Gur Guest

  5. #4

    Default Re: Calling a C program from Vb.Net

    Are you talking about an executable?

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Grace McMahon" <gracemcmahon100@hotmail.com> wrote in message
    news:ek83MmKUDHA.3192@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I need to call a C procedure from my aspx.vb class. Can someone please
    help
    > me how to do this. The C program sits on a unix machine....please help or
    > point me in the right direction.
    >
    > Any help would be greatly appreciated.
    >
    > Cheers
    >
    >

    Kevin Spencer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139