Options

Use of MS Graph in Navision

HalHal Member Posts: 18
edited 2000-07-17 in Navision Financials
Hy all !

I want to use the MS Graph Automation but I've got an error message about the license. I don't know if it's a problem with MS license or with Navision license. Could you help me ?

Is someone had developed some Navision applications with MS Graph ? I'm trying to find some examples ...

Greetings

Comments

  • Options
    Dave_CoxDave_Cox Member Posts: 83
    Is it a Navision or System Licence Problem??

    If its a System one, the OCX referenced is the wrong one

    IE: System OCX is say version 3, the one referenced in the OCX is say Version 4.

    If the Setup programme contains the OCX as part of the setup then it may have replaced the system OCX with a different Version.

    I am no expert on OCX's, so I hope this may help !

    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
  • Options
    HalHal Member Posts: 18
    I don't know exactly what kind of error I have. I copy below the error message :

    Could not create an instance of the OLE control of Automation server identified by
    GUID=(00020802-0000-0000-C000-000000000046) 1.2 <img border="0" title="" alt="" src="images/smiles/icon_sad.gif" />000208EC-0000-0000-C000-000000000046):'Microsoft Graph 8.0 Object Library'.Application.
    Check that the OLE control or Automation Server is correctly installed and registered.


    I've already reinstall Microsoft Graph but the problem is still alive ...

  • Options
    Dave_CoxDave_Cox Member Posts: 83
    The required OCX is not registered!

    If it is the MyChart object then your system needs mschrt20.ocx Registered on your system.

    The other chart tool, 'Microsoft Graph 8.0 Object Library'!
    Look for the OCX on your system, if it is not there then you need a later version of Office / Excel !

    New Codeunit go to C/AL Globals Type:Automation then on the subtype see which Version of Microsoft Graph you have!

    MindSource (UK) Limited
    Navision Service Partner

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

    [This message has been edited by Dave Cox (edited 14-07-2000).]

    [This message has been edited by Dave Cox (edited 14-07-2000).]
    MindSource (UK) Limited
    Navision Service Partner

    david@mindsource.co.uk
    info@mindsource.co.uk
  • Options
    mfabianmfabian Member Posts: 187
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hal:
    Could not create an instance of the OLE control of Automation server identified by ...{GUI}...'Microsoft Graph 8.0 Object Library'.Application.<HR></BLOCKQUOTE>

    If you want to work with OCX controls you have to be aware that there are two levels of usage:
    a) Normal users
    b) developer

    a) In order to use an OCX you have to register it. You must be in the possession of the .OCX file and register it using regsrv or Navisions "Custom Control" - "Browse" function.
    b) If you want to embed the OCX in a developement environment such as C/SIDE, Visual Basic or Delphi you need a license file for the OCX control as well. This is, what's most likely missing in your case.

    The idea behind these two levels is, that OCX controls might be freely distributed and everybody is allowed to use them for free. But if you want to develop software based on an OCX you require a license (Micro$oft wants your money!).


    If you receive the error message within C/SIDE (as soon as you try to compile), you are missing the license file. If the error appears during Run, the OCX isn't registered.

    In case you need the license, you have the following possibilities how to get one:
    1) Install Visual-Basic professional. Even if you don't use VB, it installes the licenses for most of the MS OCX's as well.
    2) Purchase and install Office 2000 Developer.
    3) Find someone who has VB or Office2000 installed as well as Navision. This person can declare the necessary MSChart OCX-Variables in a Codeunit, compile and save it. Now you can simply export/import this codeunit to your computer and the OCX will work. In fact, the licence part of the OCX is being included in the OCX variable the moment you first compile the object.

    Final note: As I am using Office 2000 Developper and have no VB installed, Point 1) does not reflect my personal experience but was stated in this sence officially by Navision Switzerland.
    Besides, what I said in this mail applies generally to all OCX's and not only to MSChart. Of course, installing VB or Office installes only the licenses for the commonly used Microsoft OCX's such as MAPI, Excel, WinWord, Outlook, MSChart etc. and not third-party ocx's such as for Lotus Notes, Acrobat reader etc.

    Hope this helps

    Marcus



    Marcus Fabian
    m.fabian@thenet.ch
    +41 79 439 78 72
    With best regards from Switzerland

    Marcus Fabian
Sign In or Register to comment.