Results 1 to 19 of 19

Thread: [2008] Application Examples

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    [2008] Application Examples

    Does anyone know of a good source to find complete applications written in VB 2005 or 2008 with source code included? I just want to go through some real world applications to get an idea of how professional programmers program. I'd like to get an idea of how all the disconnected topics written about in books get actually integrated into a real world application. I don't particularly care too much what the application is about, so long as it isn't too esoteric as to be meaningless. Is it just a pipe dream?

    Specifically, I'd love to see a real application using LINQ to SQL or the Entity Framework. I read all these tutorials and blogs about these technologies but I never see anything other than limited little examples that often, in the context of a rich application become so intertwined with other requirements that the examples are no longer particularly useful.

    I'd like to read through a couple of applications like detective novels... and figure out "who dun' it".

    Thanks,
    Jerome

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] Application Examples

    Your best best is search for some open source programs... Shouldn't be too hard to find one with Google. Download the source code and study it... If you're looking for "real world applications" as commercially sold programs then I doubt that you would find any...
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2008] Application Examples

    Search the Microsoft site as they have tutorials with full code and also video tutorials too.
    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

  4. #4
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] Application Examples

    Rob, he's asking for "real world applications" source code... Not the 101 examples from MS
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2008] Application Examples

    Oh so I see. Yea there is not "real world" full applications except for perhaps something very limited in an opensource atmosphere.

    The EF is still very new and in its first version so there isnt very much out there in depth on it.

    Perhaps buying a book or two on the subjects you wish to learn more on would be better time spent.
    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

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    Yeah, I have books. I just sometimes get frustrated by the disconnectedness of them. Or, sometimes you get books that develop an application in the process of teaching about database access. But the final application is always pretty basic, and the book is littered with things like: "In an actual application you would do such and such, but that is beyond the scope of this book..." etc.

    I would like to see multithreading used in the context of SQL transactions or LINQ and a rich event structure to handle user-canceled operations, etc. And there are so many sources on the internet, but unfortunately, most of them are very low quality.

    But yeah, I'll go searching for some open source apps. What would be really cool, and maybe as I learn more, I should do something like this: but create a resource website that has a bunch of real (but perhaps slightly outdated) programs with a tutorial document alongside it that explains different routes into the program for conceptually understanding what is going on and learning common and best programming practices.

    Something like that would cut down on learning time immensely, at least for people like me who learn a lot more by simply seeing something done, then getting abstract theoretical explanations divorced from any real world examples.

    I hate learning about delegates in the context of DogBarking classes. And events in the context of GoodMorning, GoodEvening, and GoodNight message boxes.

    Know what I mean?

    -Jerome

  7. #7
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: [2008] Application Examples

    You could start here:
    http://sourceforge.net/search/index.php?words=vb.net

    This is in C# but here's 160K lines of open source goodness:
    http://www.getpaint.net/download.html

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    Thanks nmadd! I'm going to take a good look at that paint program this weekend.

    -Jerome

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    Yeah! That's a detective novel all right. I doubt I'll ever figure out who dun' it.

  10. #10
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2008] Application Examples

    I feel like most things targetting the bleeding edge features of .NET are mostly for internal use by various companies of various sizes.

    You don't see too much coming out for the commercial software sector because most commercial software is still trying to support older operating systems, or cross platform applications, which means .NET is totally out of the picture (for the latter case). Many commercial apps are still native code (C++ mostly) if for no better reason than it can be easily ported to the mac now that they run on intel processors.

    I dont have to worry about macs, but I do sell commercial software, and most of my customers are the kinds of people who do not invest heavily in computers. So that means upwards of 25% of my customer base is using Windows 98. Sure the majority are running XP now at least, but I still have to support 98, ME, and 2000, which means I can't use anything above .NET 2.0

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    Kleinma, few things frustrate me more than having to keep working with old and incomplete technologies. But that's my own prejudice. I'm in the (for me) enviable situation of being able to do everything in .Net 3.5. All the computers here run XP.

    Ironically, however, now that I did the sp1 upgrade I'm getting an error when I try and test the application on other systems: it says I must install System.Data.Entity version 3.5.0.0.0... in the Global Assembly Cache. DOH!

    Well, I better get around to that.

    -jerome

  12. #12
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2008] Application Examples

    That sounds more like the other machines also need .NET 3.5 SP1 since if you upgraded your dev box to SP1, it is now using the SP1 framework files in your app.

    Before you go messing with the GAC, try installing the .NET 3.5 Framework SP1 upgrade on the user machines (or at least 1 to test )

  13. #13
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [2008] Application Examples

    try http://www.codeplex.com/ - the .NET source for Open Source projects

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  14. #14

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    Thank you Techgnome. Perfect. Exactly what I was looking for.

    Kleinma: actually, I found some threads on msdn that dealt with the issue. It has something to do with ClickOnce. I had to remove references to System.Data.Entity, which in fact I wasn't using anyway, and then, interestingly enough, I had to remove the Suite Name that I had defined in the Properties. I also changed a few other things, forgetting my experimental technique, so I don't ultimately which of those changes worked, but its all fine now. I didn't particularly feel like installing SP1 on any machines today

    -Jerome

  15. #15
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: [2008] Application Examples

    Actually I would like to say here that real world applications are no different to your own. The only difference may be bits of code in there for bug fixes but programming is on of those things that what you learn is what you would code. I would suggest reading up on some articles that deal with deepening your understanding of programming in general.

    For instance Code Complete 2 and Writing Secure Code are both language neutral but you can learn a great deal about programming from them. Another option would be to post your code on wesites and let people pick it about. You will learn a great deal if people can review your code. Remember though if you take this route bear in mind that there are many ways to complete the same task so know the difference between some helping to refine your code and someone tells you your code is wrong because they know how to do it a different way.

  16. #16

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    DeanMC... well, I understand after having looked at some open source resources that the code is quite poor, etc.

    What I meant, specifically, was programs written by teams of programmers who had applied the concepts in Code Complete and Code Secure.

    I have Code Complete and am reading through it and applying what I am able to. In fact, it was with that book in mind that I asked my question. I was hoping to see real world, complete programs, that apply the concepts in Code Complete.

    I am able to read more abstract articles about language concepts and apply them into my code. But I just assume that people who have worked with these concepts and learned them at least partly in school and then refined their understanding through years of industry work will probably apply theoretical ideas in enlightening ways.

    Thanks,
    jerome

  17. #17
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: [2008] Application Examples

    Do remember one very important thing. There is a big difference between writing code and reading about it. "Enlightening Ways" tend to get thrown out the window in a lot of production code. For instance, theoreticly if I type a word into a search bar I should get results for the word and its dirivitives. Yet google preforms the complete oposite, it gives results based on previous views and link backs etc. Basicly Rank and Relivence.

    I really wish I had some production code to show you as it doesnt look like achedmic code at all, it really is a balance between power and maintainablity. Unfortunatly any production code i have seen or know of I could not post here. And this is probably the issue you are going to run into.

    You could always get an internship (if you are that age). Thats one way of seeing production code.

  18. #18

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    263

    Re: [2008] Application Examples

    I'm in a sort of internship. I've been hired to learn-to, and write an application. I just don't have a mentor. So I'm mentoring myself.

    I've definitely learned about the balance between employing clever involutions of logic and writing something that will be easy to step back into and update at a later time. It's like Steve Mcconnell says: the less complexity, the better.

    I just find it amazing how closed the software industry is. But I suppose that is especially true in relation to .NET code, since it seems to be so oriented towards business applications.

    -Jerome

  19. #19
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: [2008] Application Examples

    It simply because of the fact that while a lot of effort may go into a source file all it takes is Ctrl c to duplicate it. Therefore the level of restriction goes up.

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