Click here to Skip to main content
15,887,307 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Visual Basic - when to switch? Pin
GM8JCF1-Mar-23 14:17
GM8JCF1-Mar-23 14:17 
GeneralRe: Visual Basic - when to switch? Pin
jschell6-Mar-23 5:57
jschell6-Mar-23 5:57 
GeneralRe: Visual Basic - when to switch? Pin
LucidDev6-Mar-23 6:33
LucidDev6-Mar-23 6:33 
GeneralRe: Visual Basic - when to switch? Pin
jschell8-Mar-23 6:38
jschell8-Mar-23 6:38 
GeneralRe: Visual Basic - when to switch? Pin
LucidDev8-Mar-23 6:57
LucidDev8-Mar-23 6:57 
GeneralRe: Visual Basic - when to switch? Pin
jschell10-Mar-23 10:58
jschell10-Mar-23 10:58 
AnswerRe: Visual Basic - when to switch? Pin
pvmarshall1-Mar-23 16:02
pvmarshall1-Mar-23 16:02 
AnswerRe: Visual Basic - when to switch? Pin
MikeCO102-Mar-23 2:39
MikeCO102-Mar-23 2:39 
[disclaimer: I supervise a varied codebase that includes a few large VB apps, with many thousands of lines of code.]

Interesting responses to this, ranging from funny to pragmatic to completely off-base.
You need to look at these as IT projects and define your timelines based on need. You didn't provide any details about what the apps are or how they are used, so it's hard to do a decent analysis. Short answer: I'd look at 5-6 year target zone. No sense on pushing it to the limits. Depending on the apps involved, the write could take a few years so starting sooner is better than later.

There is no "re-factoring"; this is a ground up, blank canvas rewrite for desktop apps. C# is the way to go but VB.net isn't terrible. But there's a lot of unknowns:
  • Are these just small apps serving limited functionality?
  • Data connections and underlying database? Personally, I'm not a fan of migrating databases and codebase at the same time if it can be avoided. It interjects a ton of potential errors. Whether it's data first or code first depends on circumstance
  • Printing. Many old VB apps do a lot of document printing (not reports). They take a lot of code/time in .net
  • OOP analysis. Meh. Not knowing the codebase, can't answer that one. It's not trivial, and it can be tough to flesh out because you're looking at the existing app. Like anything else, lots of thinking here.
  • Web? Two pronged-question. In our review of some of the VB uses, web-based apps are a more suitable replacement than rewriting desktop apps. We have several going in that direction, though the back end remains in .net in some cases. The second piece is if the apps or data interact with the internet as that plays into the design.
  • It boils down to the apps; how big they are and what they do. I'd start planning as soon as time allows. If you can transition functionality to a new program, it's not a bad approach. Avoid the light switch approach if you can.
    AnswerRe: Visual Basic - when to switch? Pin
    RDM Jr2-Mar-23 7:53
    RDM Jr2-Mar-23 7:53 
    GeneralGoogle Code Jam ended Pin
    RainHat28-Feb-23 4:44
    RainHat28-Feb-23 4:44 
    GeneralRe: Google Code Jam ended Pin
    dandy7228-Feb-23 7:52
    dandy7228-Feb-23 7:52 
    GeneralRe: Google Code Jam ended Pin
    RainHat28-Feb-23 22:04
    RainHat28-Feb-23 22:04 
    GeneralPlay as a Rubber Ducky Pin
    RickZeeland28-Feb-23 2:42
    mveRickZeeland28-Feb-23 2:42 
    GeneralRe: Play as a Rubber Ducky Pin
    Slacker00728-Feb-23 3:25
    professionalSlacker00728-Feb-23 3:25 
    GeneralRe: Play as a Rubber Ducky Pin
    jmaida28-Feb-23 15:06
    jmaida28-Feb-23 15:06 
    GeneralCCC 28-02-2023 Pin
    pkfox27-Feb-23 21:30
    professionalpkfox27-Feb-23 21:30 
    GeneralRe: CCC 28-02-2023 Pin
    DerekT-P28-Feb-23 0:26
    professionalDerekT-P28-Feb-23 0:26 
    GeneralRe: CCC 28-02-2023 - winner !!! Pin
    pkfox28-Feb-23 0:49
    professionalpkfox28-Feb-23 0:49 
    GeneralRe: CCC 28-02-2023 - winner !!! Pin
    FreedMalloc28-Feb-23 4:13
    FreedMalloc28-Feb-23 4:13 
    PraiseBoy did I luck out! Pin
    honey the codewitch27-Feb-23 19:42
    mvahoney the codewitch27-Feb-23 19:42 
    GeneralRe: Boy did I luck out! Pin
    pkfox27-Feb-23 21:33
    professionalpkfox27-Feb-23 21:33 
    GeneralRe: Boy did I luck out! Pin
    den2k8827-Feb-23 23:36
    professionalden2k8827-Feb-23 23:36 
    GeneralRe: Boy did I luck out! Pin
    honey the codewitch28-Feb-23 4:32
    mvahoney the codewitch28-Feb-23 4:32 
    GeneralRe: Boy did I luck out! Pin
    BillWoodruff28-Feb-23 4:48
    professionalBillWoodruff28-Feb-23 4:48 
    Generalworldle 403 Pin
    jmaida27-Feb-23 19:25
    jmaida27-Feb-23 19:25 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.