Results 1 to 3 of 3

Thread: Draw Override function in Visio

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Draw Override function in Visio

    i'm using Visio that comes with VS.NET 2003..(Visio Enterprise Architect SR1? if i'm not wrong)

    want to ask how to make an Override Function?

    since i'm able to make an Abstract Class that if i do Generate Code (VB), it
    would have
    ex: Public MustInherit Class ClassA
    public MustOverride Function MethodA
    public MustOverride Function MethodB

    but i'm not able to figure it out how the Derived Class from ClassA can have
    Public Overrides Function MethodA
    Public Overrides Function MethodB -> if i choose Generate Code

    hope u understand what i mean

    PS: not sure if i post in right forum..

    thx,
    erick

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Draw Override function in Visio

    If you want an overrides function then you need to declare the signature as "Public Overridable".
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Re: Draw Override function in Visio

    thx Rb

    If you want an overrides function then you need to declare the signature as "Public Overridable".
    that's true for Polymorphism so i need to check the IsPolymorphism in Operations Tab in UML Class Properties..but not for Abstract Class/Function

    from what i read
    if u got MustOverride Function in Base Class u must declare Overrides Function in Derived Class
    (it is an Abstract Function in the Abstract Class(the Base Class))

    just curious how to that in Visio..been 2 days now try to figure it out.I begin to think that Visio can't do that..but why it can have Abstract (MustOverride) Function then :confuse:
    Last edited by erickwidya; Jun 23rd, 2006 at 12:18 AM.

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width