Results 1 to 3 of 3

Thread: [RESOLVED] Compile error: Invalid use of property

Threaded View

  1. #1

    Thread Starter
    Lively Member Arispan's Avatar
    Join Date
    Apr 2010
    Location
    Greece, Near Athens
    Posts
    98

    Resolved [RESOLVED] Compile error: Invalid use of property

    Hello everyone,

    I'm making a big project (my biggest project) but I get a "Compile error: Invalid use of property" message.

    Here's my code:
    vb Code:
    1. Private CForm As Form
    2. Public Sub Initialize(Child As Form)
    3. CForm = Child 'This line gives the error
    4. End Sub
    When I call my "Initialize" sub from another form, I get this error.
    Can someone help me ?
    Attached Images Attached Images  
    Last edited by Arispan; Jul 9th, 2010 at 06:51 AM.
    MOBO: Asrock X58 Extreme
    CPU : Core i7 950 @ 3.07Ghz
    Ram : 8GB
    Hard Drive : 1.5 TB (1 TB, 500GB)
    Graphics : ATI Radeon HD 5670
    Dual Boot : Windows XP Home, Windows 7 Ultimate x64


    _____________________
    If a reply has helped you, please consider rating it.

Tags for this Thread

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