Your suggestion is pretty interesting. I tried the dll method as the previous
post suggested but the visual basic code is not very well orgainzed hence call
one simplie function needs me to understand the whole code. This is because the
code doesn't have a very well orgainzed class. All it have its forms and
modules and they call each other around so it is a real pain to read it. Your
other methods
- ActiveX control made in VB
- LabView call for an executable file (your VB application)
seems reasonable because this program like most visual basic program have a very
extensive GUI built into it. I just needed to find a way to access the controls
during run time so I can change the values in the visual basic program eg.
change number and clicking buttons then I can
do automation testing. Can you
please give me some help on how to implement this with either activex or calling
an executable file.
Thanks
Peter
In article <506500000005000000C8390000-993342863000@exchange.ni.com>, Lab Viewer
says...
>
>It depends on the type of your application.
>Anyway, you can choose from:
>- ActiveX control made in VB
>- LabView call for an executable file (your VB application)
>- DLL made in VB (as previous answer states)
>
>.. if you have a GUI, the first two options are to be considered.
>
>Hope this help ...