Use of AxImage

J

Jerry Spence1

I noticed when adding Toolbox Items in the IDE that, under the COM tab I
have some Microsoft. Forms 2.0 Controls. I'm not sure where they came from
(VB2005, .Net 3.0??), but they have some really nice features. I used the
Image control and using the various properties made a nice button which gave
the impression that it stays down when pressed, and pops up when pressed
again. I haven't been able to achieve this with other controls.

Anyway, I deployed my application to another PC and took with it the
FM20.DLL file. As soon as I start up the application, it crashes with one of
those "Do you want to send this to Microsoft" boxes.

I find very little reference to these controls on the web which puzzles me.
It comes out as AxImage when inserted on a form.

Has anyone got an answer to this? Do I need any other file (Deployment
dependancy says not), does anything need to be installed on the target PC?
It has the same .Net framework (3.0). One clue is that if I deploy it on
another PC with VB2005 installed, it works OK which tends to suggest a
registration issue.

-Jerry
 
T

Tom Shelton

I noticed when adding Toolbox Items in the IDE that, under the COM tab I
have some Microsoft. Forms 2.0 Controls. I'm not sure where they came from
(VB2005, .Net 3.0??), but they have some really nice features. I used the
Image control and using the various properties made a nice button which gave
the impression that it stays down when pressed, and pops up when pressed
again. I haven't been able to achieve this with other controls.

Forms 2.0 Controls are the Office controls - used in Access Forms for
example. You are not allowed to redistribute this dll. The end user
must already have it on their system - by installing office.

As for the button - you can use check boxes or radio buttons by setting
their appearance property to Button. Or you could use WPF - where you
can really style your buttons to look like pretty much anything :)
 
J

Jerry Spence1

Thanks Tom

Glad I asked.

What is WPF?

-Jerry
Tom Shelton said:
Forms 2.0 Controls are the Office controls - used in Access Forms for
example. You are not allowed to redistribute this dll. The end user
must already have it on their system - by installing office.

As for the button - you can use check boxes or radio buttons by setting
their appearance property to Button. Or you could use WPF - where you
can really style your buttons to look like pretty much anything :)
 
T

Tom Shelton

Thanks Tom

Glad I asked.

What is WPF?

WPF is Windows Presentation Foundation. It was released last Nov. 2006
with the .NET 3.0 Framework. It is the replacement for Windows Forms
going foward. It does a lot of things, but one thing it does pretty
well is separate a controls function from it's appearance. Allowing you
to completely restyle the look and feel of a control, using Xaml (an xml
dialect) with out affecting it's functionality.
 
J

Jerry Spence1

Thanks for that. I'd heard of it, but never really taken much notice. I'm
downloading it now.

-Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top