?
Solved

Controlling vb using HPVEE

Posted on 1998-08-07
2
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
raider187 earned 200 total points
ID: 1468270
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
ID: 1468271
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

764 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