Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Problem

Problem

Scheduled Pinned Locked Moved Visual Basic
help
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amaneet
    wrote on last edited by
    #1

    Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj

    D M K 3 Replies Last reply
    0
    • A amaneet

      Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Which line? There isn't a line that's bold...

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      • A amaneet

        Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj

        M Offline
        M Offline
        Martin Smith
        wrote on last edited by
        #3

        As already mentioned there is no line in bold, but looking at the code you have supplied there seems to be an end sub that is in error/not required. My guess at this point in time is to delete the end sub at the bottom of your ReadOnly property. Regards, Martin

        1 Reply Last reply
        0
        • A amaneet

          Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj

          K Offline
          K Offline
          Kevin McFarlane
          wrote on last edited by
          #4

          The end sub should be End Property.

          Kevin

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups