Does anyone have a VBA example I could use in MicroStation?
Moderator: Moderators
-
- Posts: 4
- Joined: Wed Aug 15, 2007 11:55 am
Does anyone have a VBA example I could use in MicroStation?
I guess the subject says it all. I'd like to try to get this to work in Bentley's MicroStation V8 and, although I've looked at the VB example, I can't make heads nor tails of it. TIA for any help, recommendations, or links.
The impossible just takes a little longer...
Hi technotrope,
Please refer to the SDK page. You'll find a VB example in there.
The page can be accessed from here.
Please refer to the SDK page. You'll find a VB example in there.
The page can be accessed from here.
Nuno Gomes
-
- Posts: 4
- Joined: Wed Aug 15, 2007 11:55 am
Does anyone have a VBA example I could use in MicroStation?
Thanks, ngomes, for your reply. I assume you're referring to the example in "vb.zip?" As noted in my original post, I originally downloaded this, but can't make heads nor tails out of it. Is there a 2nd example somewhere you are referring to?
The impossible just takes a little longer...
Re: Does anyone have a VBA example I could use in MicroStati
Hi technotrope,
Have you got any experience in using COM from VB or VBA?
Indeed I was. Apologises for missing it.I assume you're referring to the example in "vb.zip?" As noted in my original post, I originally downloaded this, but can't make heads nor tails out of it.
Not that I'm aware, I'm afraid.Is there a 2nd example somewhere you are referring to?
Have you got any experience in using COM from VB or VBA?
-
- Posts: 4
- Joined: Wed Aug 15, 2007 11:55 am
It is not that hard. The "devices" objects are available on the Object Browser (if you're using Microsoft development tools for VBA). You can use them just as any other type.technotrope wrote:It may be that this is simply beyond my current understanding. I'll do some research on using COM and see what I come up with. Thanks, again, for your help.
the TDxInput API uses standard "interfaces" and you may want to check how to use IConnectionPoint from a VB/VBA app.
If you can, we would appreciate if you could post here what you find. It may be helpful to other VB programmers.