Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Controlling vb using HPVEE

Posted on 1998-08-07
2
Medium Priority
?
376 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

Industry Leaders: 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!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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

636 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