|
-
Apr 27th, 2006, 03:38 AM
#1
.NET - beginers stumbling blocks
Folks,
I have to write an internal course for VB6 and VBA/Access programmers moving to .NET 2005 - problem is that I have been using .NET for so long that I have forgotten which bits of it were most confusing to me when i started. Anyone starting out on the .NET learning curve want to give me some reminders?
What I have got so far is:
- Forms, controls and components
- Object oriented programming in .NET
- The garbage collector
- Serialisation (XML and binary)
- Data access (ADO.Net and System.data.SQLClient)
- Exception handling
- Printing
Last edited by Merrion; Apr 27th, 2006 at 11:47 AM.
-
Apr 27th, 2006, 04:09 AM
#2
Re: .NET - begiiners stumbling blocks
Well if your also writting for Access developers then you will want to cover ADO.NET.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 27th, 2006, 04:12 AM
#3
Hyperactive Member
Re: .NET - begiiners stumbling blocks
Maybe you should also include working with Xml Files. (XmlDocument, XmlStreamReader/Writer,....)
Important in a lot of Projects!
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
Apr 27th, 2006, 04:30 AM
#4
Re: .NET - begiiners stumbling blocks
Value types and reference types. I'd also include forms as a separate entry to just OOP because everyone seems determined to treat forms differently to other objects. Printing too.
-
Apr 27th, 2006, 04:31 AM
#5
Re: .NET - begiiners stumbling blocks
Exception handling and variable declaration?
-
Apr 27th, 2006, 09:52 AM
#6
Re: .NET - begiiners stumbling blocks
Sending emails too. Maybe take a look at the 101 .NET Tutorial demo projects subjects and pick some of the more popular ones.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 27th, 2006, 11:51 AM
#7
Re: .NET - begiiners stumbling blocks
I would include types conversion so it wouldn't be language specific:
VB Code:
Dim SomeIntegerVar As Integer = 25
Dim SomeTextVar As String
SomeTextvar = SomeIntegerVar.ToString() 'vs CStr(SomeIntegerVar)
'and so on...
-
Apr 27th, 2006, 01:28 PM
#8
Re: .NET - beginers stumbling blocks
Remember to tell them to forget everything they know about connecting to databases because it no longer applies. (Among other total losses of existing knowledge that using .net causes.)
-
Apr 27th, 2006, 02:08 PM
#9
Re: .NET - beginers stumbling blocks
eyeRmonkey did a thread in vb.net for a conversion chart of VB6 -> vb.net a few weeks ago.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 27th, 2006, 09:24 PM
#10
Addicted Member
Re: .NET - beginers stumbling blocks
do these provide any help?
--The End While statement replaces the Wend statement of VB6.
--The indexing of arrays in VB.NET starts at zero, and you can’t change this behavior.
--The Call statement of VB6 has disappeared. Also, the parentheses around the argument list are mandatory,
even if the subroutine or function doesn’t accept any arguments. You can no longer call a subroutine
with a statement like
You must enclose the arguments in a pair of parentheses:
--VB.NET doesn’t support arrays of controls, which used to be the simplest method of adding new controls
on a form at runtime. With VB.NET, you must create a new instance of a control, set its properties, and then
place it on the form by adding it to the form’s Controls collection.
--The Class_Initialize method of VB6 has been replaced by the New subroutine, and the Class_Terminate
method of VB6 has been replaced by the Destruct subroutine in VB.NET.
--In VB6, amounts of money were usually stored in Currency variables. The Currency data type turned out to
be insufficient for monetary calculations and was dropped from the language.
Dreaming men are haunted men.
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
|