Anatomy of Converter

This text does not describe all components yet.



vb2asp folder's components

  Used for convertion:
   .prj                - project files
   main....htm         - entrances to schema
   Subschemas          - parts of converter.
   auxiliary           - templates used by converter.
   PolishBench         - templates used by converter.
   custom_prjects      - converter switches

  Not used for conversion:
   readme.htm          - entrance  to readme.
   archive
   h                   - parts of readme
   demo_source         
   RESULT_FILES        - result of some conversion

         


 Naming convension when parsing control name and properties

   Property stored in variables $c_>property<
   where >property< is low-cased property name.
   Additional auxilaiary control's data
   can be stored in variable $C_>some_name<.
       or in $c_>name_with_upper_cases<.
   Example: c_Type can   store: TabDlg.SSTab
            c_type       stores  : tabdlg.sstab
            c_name       stores  : SSTab1
            c_width      stores  : 1000 if width of current control is 1000;
            c_text       stores  : property "Text" value;
            c_scrollbars stores  : 0,1,2, or 3 for current control;
            ...

During conversion, form control's tree is mapped to nest tree

  with increment in nest equal 2. For example, in form 


  Begin VB.Form
    Begin VB.Frame

    End
    Begin VB.menu X
        Begin VB.menu XX

  menu XX is mapped to

    form,-s,menu,-s,menu,-s


Variables

   variable_visibility  - currently parsed form dynamic visibility
   Variable_visibility  - variable visibility for an entire project
   MDI                  - flag; MDI is not empty only for MDI project
                                and contains MDI form name.