VB and MDL

Status
Not open for further replies.

fayez rowali

Usenet Archive
Joined
Jan 3, 2001
Messages
19
Reaction score
0
Hi
I have just made a sample VB form which has
toggle buttons for 8 views for turning them
on and off. ( I know that this dia. box can
be achieved using mdl or Macros.) But
now I want this VB form to be configured
in microstation may be via mdl. How to achieve it .
I guess this will help in case of VC++ also.
I want this form to use in microstation.
I am totally unaware of this thing. I guess
few tips will surely open doors for big things
for me.
Regards,
Rowali.
 
Perhaps you need to re-build your dialogbox using MDE if you want to use it in MDL.

Foo.
 
Foo,
I know MDE and how to create the dialog box in it.
But i want the VB, VC++ form to be used in microstation and i want know how to do that. How to configure these external applications in microstation. Anybody listening? regards, Rowali

"foo" wrote:

Perhaps you need to re-build your dialogbox using MDE if you want to use it in MDL.

Foo.
 
I think it is impossible unless you can use VB or VC++ external program to read the binary format resource file and then create them at runtime. It is too complex and difficult to do.

Foo.
 
Rowali,

You can do what you are asking. I write VB programs that control MicroStation frequently. You should review the MicroStation Basic help file on OLE Automation, most of your questions can be answered there.

Vince

"Fayez Rowali" wrote:

Hi
I have just made a sample VB form which has
toggle buttons for 8 views for turning them
on and off. ( I know that this dia. box can
be achieved using mdl or Macros.) But
now I want this VB form to be configured
in microstation may be via mdl. How to achieve it .
I guess this will help in case of VC++ also.
I want this form to use in microstation.
I am totally unaware of this thing. I guess
few tips will surely open doors for big things
for me.
...
 
Hi,

you can use VC++ forms see example for MFC in MicroStation http://www.msmonline.com/jan02/mfc.htm then it is upon you how you will utilize it. Either move your whole code into native DLL or just make some interaction between MDL and DLL like logical and presentation level of your app. Although the article was written for MSv8, it will work also on MS/J (some little changes needs to be done for automation example there)

You may go in "hardcore way" and mix dialog box from MDL with VBA or MFC forms - why not if you need it.

you can use also VB forms, specially in MSv8 it is quite simply in VBA. Again you may interact the VBA code with MDL or move all into VBA code - depends on scale of your app.

Ambrosa

"Fayez Rowali" wrote:

Foo,
I know MDE and how to create the dialog box in it.
But i want the VB, VC++ form to be used in microstation and i want know how to do that. How to configure these external applications in
microstation.
Anybody listening?
regards,
Rowali

"foo" wrote:

> Perhaps you need to re-build your dialogbox using MDE if you want to use
it in MDL.
 
Status
Not open for further replies.

Latest threads

Back
Top