[Year 12 SofDev] VB6 > VB2010 musings - control arrays
Mark KELLY
kel at mckinnonsc.vic.edu.au
Fri Sep 10 15:34:58 EST 2010
Thanks for the tip, but I'll still need to be able to understand how to
create them from scratch for myself...
It's now a big learning curve to get as far as classes and collections to
achieve this in VB2010.
On 10 September 2010 11:06, Poultney, Gordon A <
Poultney.Gordon.A at edumail.vic.gov.au> wrote:
> Just make up your control array in VB6 first.
>
> Then import the project into VB.NET
>
> The object names change but you can still access them via standard array
> notation.
>
>
>
> ----------------
> Gordon Poultney
> Horsham College
>
> ________________________________
>
> From: sofdev-bounces at edulists.com.au on behalf of Mark KELLY
> Sent: Fri 10/9/10 10:29
> To: Year 12 Software Development Teachers' Mailing List
> Subject: [Year 12 SofDev] VB6 > VB2010 musings
>
>
> I've finally bitten the bullet, crawled out my comfort zone (and used
> several other clichés) in moving from comfortable ol' threadbare VB6 into
> shiny new VB2010 and the transition is not as smooth as I'd hoped it would
> be.
>
> The first hurdle I ran into was finding that my favourite old control
> arrays have been killed and now I need convoluted complex collections to
> achieve nearly the same thing. I read of a rumour that control arrays
> (wherein VB manages the necessary classes and collections behind the scenes)
> would be reinstated in VB but it seems not to be happening.
>
> And it seems default properties no longer work, e.g. textbox2="Fred" has to
> be fully spelled out as textbox2.text="Fred".
>
> Sigh. I suppose I'll get used to it in time (after all, I did manage to get
> from QB4.5 to Visual Basic 1.0), but for a quick hack I still fall back to
> VB6 to get the job done.
>
> --
> Mark Kelly
> Information Systems Manager; Reporting Manager
> McKinnon Secondary College
> McKinnon Rd McKinnon 3204, Victoria, Australia
> Direct line / Voicemail: 8520 9085
> School Phone +613 8520 9000, Fax +613 9578 9253
> kel at mckinnonsc.vic.edu.au
> VCE IT Lecture notes: http://vceit.com <http://vceit.com/>
> Moderator: IT Applications Mailing List
>
> Korma: the philosophy that what you get out of a curry depends on what you
> put into it.
>
>
> Important - This email and any attachments may be confidential. If received
> in error, please contact us and delete all copies. Before opening or using
> attachments check them for viruses and defects. Regardless of any loss,
> damage or consequence, whether caused by the negligence of the sender or
> not, resulting directly or indirectly from the use of any attached files our
> liability is limited to resupplying any affected attachments. Any
> representations or opinions expressed are those of the individual sender,
> and not necessarily those of the Department of Education and Early Childhood
> Development.
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority
> and
> http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html
> http://www.vitta.org.au - VITTA Victorian Information Technology Teachers
> Association Inc
>
--
Mark Kelly
Information Systems Manager; Reporting Manager
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: 8520 9085
School Phone +613 8520 9000, Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au
VCE IT Lecture notes: http://vceit.com
Moderator: IT Applications Mailing List
Korma: the philosophy that what you get out of a curry depends on what you
put into it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20100910/c2b43eaf/attachment.html
More information about the sofdev
mailing list