Results 1 to 2 of 2

Thread: list the steps to create class in visual basic?how to define properties in a class?

  1. #1
    Join Date
    Feb 2008
    Posts
    8

    Default list the steps to create class in visual basic?how to define properties in a class?

    In Visual Basic6.0
    Powered by Yahoo!

  2. #2
    Join Date
    Mar 2008
    Posts
    1

    Default

    right click the project and hover over add then click class.

    make a variable to store the info

    Dim mstrDatabase as string

    write property to retrieve info
    Public Property Get DataBaseFile() As String
    DataBaseFile = mstrDataBase
    End Property

    write property to save info.
    Public Property Let DataBaseFile(pstrDataBaseFile As String)
    mstrDataBase = pstrDataBaseFile
    End Property
    Powered by Yahoo!

Tags for this Thread

Bookmarks

Posting Permissions

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