converting BeerHouse to VB?

Last post 10-04-2009 9:19 AM by docluv. 5 replies.

Sort Posts:

  • converting BeerHouse to VB?

    07-27-2009, 6:31 PM
    • Member
      52 point Member
    • dotnetnoob
    • Member since 11-17-2006, 9:08 PM
    • Posts 372

    Hi All: I have a copy of Marco's book and I'm trying to work through it page-by-page. Up until now, I've only programmed .NET projects in VB, having started to migrate from VBScript.

    In the past, I've used some public C#-to-VB converters to help me with C# examples, but the converters don't always do a perfect job. I'm trying to convert the project as I go along to VB, but keep getting stuck on what should be simple code-behind stuff...problem is I'm not familiar with C# syntax at all, and I'm not that familiar with OOP either (but I'm trying to learn).

    I have the sample project open in an instance of VS2008, and my own version in another instance of VS2008, and try to go back and forth, but am still running into problems. Does anyone know of a "port" of BH from C# to VB that I could refer to? Or should I just give up and try to shift over to C# instead of struggling to rewrite blocks of code in VB?

    Otherwise, I'm going to end up filling up the forums with lots of "why doesn't this work" types of questions until I'm up to speed, and I want to spare everyone that :)

    Suggestions appreciated!

  • Re: converting BeerHouse to VB?

    07-27-2009, 8:54 PM
    • Member
      730 point Member
    • Burldo
    • Member since 05-14-2007, 3:08 AM
    • Posts 107

    I converted that application to vb using a program called instant.vb from http://www.tangiblesoftwaresolutions.com/. The demo version will allow up to 100 lines of code to be converted and it works great including converting C# Linq syntax to VB syntax.

    I don't have that converted app anymore and it did that awhile to convert. I'm using DotNetNuke for development.

    You may want to check out DotNetNuke or Telerik's Site Finity CMS for web site development. Dnn doesn't have much documentation but their are some good books out now on the 5.0 version and Telerik's SiteFinity has a free community version and pretty good documentation.

    There is also some module development Webinars on the Dnn site to get you started in module/skin development......http://www.dotnetnuke.com/Products/Webinars/tabid/1270/Default.aspx

    Hope that helps,

    Burl

  • Re: converting BeerHouse to VB?

    07-28-2009, 7:31 AM
    • Member
      52 point Member
    • dotnetnoob
    • Member since 11-17-2006, 9:08 PM
    • Posts 372

    Thanks for that recommendation Burl...I'm on the fence between pushing through on Marco's BH or going to DNN....I'm aware that BH is not completely modular, but it's closer to apps I've worked on in VBScript in terms of structure and functionality, so it seemed like less of a learning curve. I bought a few DNN books and found them too simple (i.e. "DNN for Dummies") or too abstract, but maybe I'll go back to them now.

    Also I'm not looking to jump right into module development and skinning and want more of foundation of good website design and coding practices in .net.

    I decided to push forward on BH because I saw that Marco was bringing out a new version rewritten to use .Net 3.5, so I thought this would be a good bridge. I guess my only choice is to keep pestering the list until I have a better understanding of vb.Net syntax.

  • Re: converting BeerHouse to VB?

    08-01-2009, 4:46 PM
    Answer
    • Contributor
      6,366 point Contributor
    • Lee Dumond
    • Member since 11-03-2004, 2:51 PM
    • Decatur, IL USA
    • Posts 1,168

    dotnetnoob:

    Does anyone know of a "port" of BH from C# to VB that I could refer to?

     

    A fully functional version of the BeerHouse in VB can be found here:

    (It is the second download link in the list)

    http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764584642,descCd-DOWNLOAD.html

     

     

  • Re: converting BeerHouse to VB?

    08-06-2009, 12:00 PM
    • Member
      52 point Member
    • dotnetnoob
    • Member since 11-17-2006, 9:08 PM
    • Posts 372

    Thanks...that's just what I needed...a big time-saver! 

  • Re: converting BeerHouse to VB?

    10-04-2009, 9:19 AM
    • Star
      12,651 point Star
    • docluv
    • Member since 06-29-2002, 7:16 PM
    • Willow Spring NC
    • Posts 2,003
    • ASPInsiders
      TrustedFriends-MVPs

     The new version of the Beer House was written VB.NET first, but I have a C# version available too.. I am currently updating the C# source code and working out some last few kinks here and there. All the code is available on Code Plex.

    http://thebeerhouse.codeplex.com/

Page 1 of 1 (6 items)