Solved

Controlling vb using HPVEE

Posted on 1998-08-07
2
365 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 100 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

696 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