AVAX-software.com Forums: using AVAX ActiveX in .net C# - AVAX-software.com Forums

Jump to content

Page 1 of 1

using AVAX ActiveX in .net C#

#1 User is offline   hbnchy Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 03-June 05

Posted 07 December 2010 - 04:37 AM

I bought the ActiveX in 07, at the time there was a C# Clock example, working fine still on my computer, but if I use:

cAvax1.Command = Avax.AvaxCommand.Line_c;

It seems not working (I can't draw a line on the screen), do I need to change any settings/Properties? Or I have to buy the AVAX .net version?

Thanks,
Bryan

#2 User is offline   elias Icon

  • Newbie
  • Icon
  • Group: Support
  • Posts: 51
  • Joined: 24-October 08
  • Gender:Male

Posted 08 December 2010 - 12:01 PM

Hi,

Are you try to use this command in the Clock example? If so create a new project. You won't have any problem. You don't need to change any property, just call cAvax1.StartAvax() procedure at Form1_Load event.

#3 User is offline   hbnchy Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 03-June 05

Posted 14 December 2010 - 05:36 AM

Hi elias,

"call cAvax1.StartAvax() procedure at Form1_Load event" does work, that makes me wonder can AVAX ActiveX be fully programmed in C#, just like in VB6?

And if that's the case, what makes the AVAX.NET better than AVAX ActiveX? (I mean the core functionalities)

Thanks,
Bryan

#4 User is offline   elias Icon

  • Newbie
  • Icon
  • Group: Support
  • Posts: 51
  • Joined: 24-October 08
  • Gender:Male

Posted 15 December 2010 - 01:09 PM

The are not any differences at the core functionalities. The benefits are that you don't have to register the control, so you can have multiple versions of it in a machine. Also it is a pure .NET control so it is not necessary to build your application every time you update the control with a newer one.

You can download the AvaxCAD C# example we have recently uploaded.

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users