|
-
Jan 27th, 2003, 02:02 AM
#17
Originally posted by pirate
while playing with classes I got this , it prevent others from creating new instances from Test Class.Private Constructor did it actually not me
VB Code:
Public Class test
Private Sub New()
MsgBox("OOOP YOU GOT ME")
End Sub
End Class
then you';re gunno get the same error when you use it in your own program too!!
also, I have some classes that have SHARED members and dnot need to be declared at all.
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
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
|