|
-
Jul 9th, 2010, 06:46 AM
#1
Thread Starter
Lively Member
[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:
Private CForm As Form
Public Sub Initialize(Child As Form)
CForm = Child 'This line gives the error
End Sub
When I call my "Initialize" sub from another form, I get this error. 
Can someone help me ?
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. 
-
Jul 9th, 2010, 06:50 AM
#2
Re: Compile error: Invalid use of property
-
Jul 9th, 2010, 06:55 AM
#3
Thread Starter
Lively Member
Re: Compile error: Invalid use of property
Thanks baja_yu! Now everything works fine !
P.S. I think my thread just broke a record ("the fastest solved thread in vforums").
Last edited by Arispan; Jul 9th, 2010 at 08:23 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|