Creator Posted August 21, 2003 Posted August 21, 2003 Hi in VB6 we have Private Type Data Data1 as integer ;; ;; ;; End Type How do I convert it to VB .net Quote
a_jam_sandwich Posted August 21, 2003 Posted August 21, 2003 Types are now sturctures in .net have a look at the vb help files but the syntax is like the following Private Structure Data Public Data1 as Integer End Structure Andy Quote Code today gone tomorrow!
Administrators PlausiblyDamp Posted August 21, 2003 Administrators Posted August 21, 2003 Structures can now also have methods and implement interfaces - making them a lot more powerful than the VB6 equivalent. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.