|
-
Sep 19th, 2002, 08:51 PM
#1
How can I find out if a structure is empty?
Ahh, I had this problem before and I guess I solved it, but I forgot....
You can't use the = operator for structures, and I guess you cant use Is Nothing... So lets say I have a structure, how can I check to see whether it is empty or not?
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!!
-
Sep 20th, 2002, 08:31 AM
#2
Addicted Member
Structures CAN'T be empty! - a structure must contain at least one instance member variable or Event declaration.
Wind and waves resolves all problems.
-
Sep 20th, 2002, 10:33 AM
#3
yay gay
-
Sep 20th, 2002, 12:16 PM
#4
Hyperactive Member
You could put a boolean value inside the structure to indicate whether the data has been set.
-
Sep 20th, 2002, 03:39 PM
#5
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
|