Solved

Controlling vb using HPVEE

Posted on 1998-08-07
2
353 Views
Last Modified: 2012-06-27
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
Comment
Question by:dreagan
2 Comments
 
LVL 1

Accepted Solution

by:
raider187 earned 100 total points
Comment Utility
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
 

Author Comment

by:dreagan
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now