• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Controlling vb using HPVEE

Hi,
I've been looking around for an example of how HPVEE might communicate
with Microsoft Visual Basic. It would be great if I
could talk to a vb program and extract properties from it and/or change
properties within it from HPVEE. This should be relatively simple
with  Activex controls, but I can't find any specifics. And,
being pretty new to both languages, I'm reluctant to try anything
without some sort of example. If anyone can help, please let me know.
Thanks,
Dave Reagan  
0
dreagan
Asked:
dreagan
1 Solution
 
raider187Commented:
what HP Vee version do you have?  you can use a " dde" from HPVee or if you just want to run the app you can have Vee  start your app for you, there is not an HPVee selection, here but I'll try and help you achieve your goal, oh yea, or you using Data translations stuff?
0
 
dreaganAuthor Commented:
Hi raider,

We'll be using HPVEE 5.0, so I'm thinking in terms of Activex, rather than dde. VB will do the actual controlling, but we need to be able to talk back and forth and use HPVEE to change properties within vb. So, unfortunately, it's not just a matter of starting the vb app from hpvee. We'll probably be using the HPVEE Activex server to execute instrument communication and doing the rest with vb to get a better UI, DB access, etc...
What I'd REALLY appreciate would be some code snippets, just  supplying an example of how vb and hpvee might communicate.
Thanks,
Dave Reagan
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now