Developed OCX's

Dave_CoxDave_Cox Member Posts: 83
edited 2000-07-12 in Navision Financials
Hi

I was wondering why Developers are creating OCX's instead of using Automation ?

The charts can be created using Excel Automation and the Charts & Chart object which can then be printed.

I recently Developed a report with 2 inbedded charts on a Single page using this method with no special OCX just using Excel and Automation!

Would it not be better to create sample Navision Codeunits that use the Standard Automation Objects, rather than new OCX's?

I know that in some cases Automation is not usable IE: the Date/Time OCX for Outlook.

Or am I missing something?

I hope this Comment does not offend anyone!



MindSource (UK) Limited
Navision Service Partner

david@mindsource.co.uk
info@mindsource.co.uk
MindSource (UK) Limited
Navision Service Partner

david@mindsource.co.uk
info@mindsource.co.uk

Comments

  • MFKMFK Member Posts: 17
    Hi!

    This is because you can easily protect OCXes against reuse by other NSCs.

    You cannot protect your code in C/AL

    MFK
  • dbdb Member Posts: 82
    1.Our custormers have NF 1.30 there no Automation.
    2.NF don't support all data types, you need data conversion. Because in nf no pointers, data conversion you need write it by self.
    3.I hate C/AL, this langue for end users, not for developers !!! There no beauty of progrming. C/AL like riding with huge truck in small town. <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />
  • Dave_CoxDave_Cox Member Posts: 83
    If you are serious about Automation just upgrade the Clients and Server's binaries to 2.01 and convert the database with the old 1.30 objects.

    There is no cost for licence upgrade just the time on site.

    You then have the Automation without upgrading the Objects.


    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by db:
    1.Our custormers have NF 1.30 there no Automation.
    2.NF don't support all data types, you need data conversion. Because in nf no pointers, data conversion you need write it by self.
    3.I hate C/AL, this langue for end users, not for developers !!! There no beauty of progrming. C/AL like riding with huge truck in small town. <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />
    <HR></BLOCKQUOTE>



    MindSource (UK) Limited
    Navision Service Partner

    david@mindsource.co.uk
    info@mindsource.co.uk
    MindSource (UK) Limited
    Navision Service Partner

    david@mindsource.co.uk
    info@mindsource.co.uk
  • dbdb Member Posts: 82
    I can't say to our customer:
    - You are OK people, I wanna Automation. Pleaz stop you work for few days.
    ~50 clients, ~10 Gb of fdb, rewrite CFront applications

    What about specific hardware: Scaners, PDT ... how use Automation, NF supports only about 30% of data types !!!
    I like:
    mov al, 0
    I hope you understand me <img border="0" title="" alt="" src="images/smiles/icon_wink.gif" />
  • Remco_ReinkingRemco_Reinking Member Posts: 74
    I fully agree. I think that there are not a lot users/programmers aware of the real benefits that can be achieved by using automation controller. I must say that there are not very much customers that ask for it. They use ODBC or just copy and paste to Excell. The problem is with automation controller is that the user should have Excell installed ( okay, most users will) Therefore we developed an OCX that can paint in the forms of Navision Financials. Its pretty cool, but the problem is that we have to program each type of chart.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dave Cox:
    Hi

    I was wondering why Developers are creating OCX's instead of using Automation ?

    The charts can be created using Excel Automation and the Charts & Chart object which can then be printed.

    I recently Developed a report with 2 inbedded charts on a Single page using this method with no special OCX just using Excel and Automation!

    Would it not be better to create sample Navision Codeunits that use the Standard Automation Objects, rather than new OCX's?

    I know that in some cases Automation is not usable IE: the Date/Time OCX for Outlook.

    Or am I missing something?

    I hope this Comment does not offend anyone!

    <HR></BLOCKQUOTE>
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Remco Reinking:
    Therefore we developed an OCX that can paint in the forms of Navision Financials.
    <HR></BLOCKQUOTE>

    How do you achieve this? I mean painting IN the forms of Navision Financials?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.