![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] What is a good way to access a C program from Visual Basic 5.0? I have been developing a program for doing different types of mathematical analysis in Visual Basic 5.0 because it is compatible with the old MatrixVB tool (for using MatLab functions in VB), but I am finding it slow. There are a couple of places where I'd like to rewrite the code in C and hope it runs faster. I am fairly new to this sort of thing, so if someone could tell me how best to call a C program from Visual Basic, I would appreciate it. This is needed because VB takes several minutes to do some operations that, using the same algorithm, take only a few seconds in other environments (e.g. MatLab). |
| |
| |||
| you can wrap another application's call with VB. Just shell out to your already compiled c exe app and return the value(s) all via command-line. best of both worlds ![]() __________________ Day Cares | Golf Courses | Disc Golf Courses | Campgrounds | Ice Rinks | Paintball Fields | Dentists | Plastic Surgeons | Aging Jokes Catholic Churches | Lutheran Churches | Methodist Churches | Episcopal Churches | Clean Jokes |
![]() |
| Thread Tools | |
| Display Modes | |
| |