call VB form from c++ arx??

call VB form from c++ arx??

Anonymous
Not applicable
320 Views
5 Replies
Message 1 of 6

call VB form from c++ arx??

Anonymous
Not applicable
Is there a way to call a VB form from my arx file written in C++ ? I would like to use visual basic to create the dialog boxes that my application uses instead of creating a dcl file.

Any help is appreciated.

Thanks
0 Likes
321 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
If your VB DLL/EXE is an ActiveX server, just use it like any other COM
server. But if you're doing this from scratch, why not incoporate dialogs
into your ARX?

--
Good judgment comes from experience.
Experience comes from bad judgment.

http://www.acadx.com


"rthyen" wrote in message
news:f0a0a2d.-1@WebX.maYIadrTaRb...
Is there a way to call a VB form from my arx file written in C++ ? I would
like to use visual basic to create the dialog boxes that my application uses
instead of creating a dcl file.
Any help is appreciated.
Thanks
0 Likes
Message 3 of 6

Anonymous
Not applicable
I have a large arx application already written in c++. It builds dialog boxes using dcl files.

I am wanting to change to visual basic forms for the ease of customization / changing the forms. With the use of dcl files there is little means of easily customizing the dialog boxes.
0 Likes
Message 4 of 6

Anonymous
Not applicable
You can build UI's in VB and expose them via ActiveX to
any language. However, handling ActiveX events in C++
is a bit of a pain, but certainly possible. I routinely
use Delphi for UIs in conjunction with ARX/C++ back
ends.


"rthyen" wrote in message
news:f0a0a2d.1@WebX.maYIadrTaRb...
> I have a large arx application already written in c++. It builds dialog
boxes using dcl files.
> I am wanting to change to visual basic forms for the ease of customization
/ changing the forms. With the use of dcl files there is little means of
easily customizing the dialog boxes.
>
>
0 Likes
Message 5 of 6

Anonymous
Not applicable
can anyone give some more insight on how this is done....

maybe a sample of code with a call or somwhere to read up on this

Thanks,

Rob
0 Likes
Message 6 of 6

Anonymous
Not applicable
Hi Why don't you use CDialog instead of DCL. Why DCL was exposed to Arx beats me since you can create better dialog boxes right with C++. If you want a book on how to do it, pick up any "Learn C++ in 24 days". It will explain exactly how to add C++ dialog boxes to your existing project. I hope this helps, Chad Wanless
0 Likes