combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / ProjectBase Class / Open Method
Example


In This Topic
    Open Method (ProjectBase)
    In This Topic
    Opens the project projectFile. When opening an existing project, the project type must match the class type (list, label or card).
    Overload List
    OverloadDescription

    The Open method opens the project file that is provided in the parameter projectStream.

    Please note the following restrictions:
    - Project includes are not available
    - The Designer function 'ProjectPath$()' is not available
    - Drilldown is not available

     

    The Open method opens the project file that is provided in the parameter projectStream.

    Please note the following restrictions:
    - Project includes are not available
    - The Designer function 'ProjectPath$()' is not available
    - Drilldown is not available

     

    The Open method opens the project file that is provided in the parameter projectStream.

    Please note the following restrictions:
    - Project includes are not available
    - The Designer function 'ProjectPath$()' is not available
    - Drilldown is not available

     

    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.

    The access mode in this overload is set to LlDomAccessMode.ReadWrite. The parameter ignoreErrors gets the value false.

     
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    Example
    // create List & Label instance
    ListLabel LL = new ListLabel(); 
     
    // attach project 
    ProjectList proj = new ProjectList(LL); 
     
    // create new project file 
    proj.Open(Path.Combine(Application.StartupPath, "dynamic.lst"), LlDomFileMode.Create, LlDomAccessMode.ReadWrite); 
     
     
    // ... modify ...
     
     
    // save project
    proj.Save(); 
     
    // close project, free resources
    proj.Close();
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also