View Single Post
  #1 (permalink)  
Old 06-10-2007, 05:36 PM
Monica
Posts: n/a
[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).

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!