Results 1 to 10 of 10

Thread: .NET - beginers stumbling blocks

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    .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.

  2. #2
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  3. #3
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    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

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    105,440

    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.

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,044

    Re: .NET - begiiners stumbling blocks

    Exception handling and variable declaration?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  7. #7
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,135

    Re: .NET - begiiners stumbling blocks

    I would include types conversion so it wouldn't be language specific:
    VB Code:
    1. Dim SomeIntegerVar As Integer = 25
    2. Dim SomeTextVar As String
    3.  
    4. SomeTextvar = SomeIntegerVar.ToString() 'vs CStr(SomeIntegerVar)
    5.  
    6. 'and so on...

  8. #8
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,692

    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.)

  9. #9
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  10. #10
    Addicted Member dim_kevin_as_human's Avatar
    Join Date
    Oct 2005
    Location
    Wisconsin
    Posts
    183

    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
    VB Code:
    1. ConvertText myText
    You must enclose the arguments in a pair of parentheses:
    VB Code:
    1. ConvertText(myText)

    --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
  •  



Click Here to Expand Forum to Full Width