Results 1 to 9 of 9

Thread: convert vb6 program to vb.net

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2020
    Posts
    4

    Lightbulb convert vb6 program to vb.net

    hi , everyone keeping well? i hope this is a reasonable question , i have a vb6 program , no more than 1500 lines , i want it converted to vb.net, and i am hoping someone will suggest a rough estimate , i am only asking for some idea of the cost , thanks palindon

  2. #2
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,658

    Re: convert vb6 program to vb.net

    Moved to project requests. You're likely to get better responses in here.
    You can depend upon the Americans to do the right thing. But only after they have exhausted every other possibility - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    33,074

    Re: convert vb6 program to vb.net

    Are you asking someone to do it for you? Or what it would take for you to do it yourself?
    Either way, it depends a lot on the complexity of the code, components used, experience of the developer... it could be a day, it could be a week. Could be more, could be less.

    -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??? *

  4. #4
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,172

    Re: convert vb6 program to vb.net

    Type of code is also important.
    Does the VB6 program do a lot of vb6 type graphics, or is it primarily database? Does it use VB6 native file functions, etc.
    The .Net way of doing graphics within the forms or controls is a completely different paradigm. It is preferred to use .Net file functions, rather than VB6 compatible file functions.
    I can't speak for a program that is mostly database related, i.e. data entry or report generation, etc... as I don't do database programing in VB6 or VB.Net.
    "Anyone can do any amount of work, provided it isn't the work he is supposed to be doing at that moment" Robert Benchley, 1930

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2020
    Posts
    4

    Re: convert vb6 program to vb.net

    Quote Originally Posted by passel View Post
    Type of code is also important.
    Does the VB6 program do a lot of vb6 type graphics, or is it primarily database? Does it use VB6 native file functions, etc.
    The .Net way of doing graphics within the forms or controls is a completely different paradigm. It is preferred to use .Net file functions, rather than VB6 compatible file functions.
    I can't speak for a program that is mostly database related, i.e. data entry or report generation, etc... as I don't do database programing in VB6 or VB.Net.
    yes it is certainly be database related , it is a sports arbitrage trading program , it parses data from 22 sportsbooks and saves it to a data base for future work from the software , thanks for your time , don rees

  6. #6

    Thread Starter
    New Member
    Join Date
    Oct 2020
    Posts
    4

    Re: convert vb6 program to vb.net

    thanks for that , don rees

  7. #7
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    35,423

    Re: convert vb6 program to vb.net

    Working with databases changed considerably, as well.

    In general, converting VB6 to VB.NET is fairly simple, as most functions can be copied and pasted between the two with minimal changes (some datatypes should be changed). However, anything that works with databases should be re-thought. The way that VB6 worked with databases wasn't all that great, and there were at least three different technologies in use (DAO, RDO, then ADO). With VB.NET, it's all ADO.NET, which isn't all that similar to ADO, despite sharing most of an acronym.

    In a 1500 line program that uses databases, I would guess that between one third and one half will be completely re-written from scratch (all the database part), and the rest may be a simple conversion.
    My usual boring signature: Nothing

  8. #8

    Thread Starter
    New Member
    Join Date
    Oct 2020
    Posts
    4

    Re: convert vb6 program to vb.net

    hi thank you greatly for the reply , a very sensible and welcome one . regarding the database , using another one is not a problem , of the 22 sportsbooks that should be being parsed / scanned and saved to a DB , probably 75% have to be re-parsed and the data saved.
    if i could ask , the one third / one half to be completely re-written, is it possible for an approximate number of hours to re-write 500 /750 lines , very approx would be fine ?? take care in these troubled times , don rees

  9. #9
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    33,074

    Re: convert vb6 program to vb.net

    Quote Originally Posted by palindon View Post
    hi thank you greatly for the reply , a very sensible and welcome one . regarding the database , using another one is not a problem , of the 22 sportsbooks that should be being parsed / scanned and saved to a DB , probably 75% have to be re-parsed and the data saved.
    if i could ask , the one third / one half to be completely re-written, is it possible for an approximate number of hours to re-write 500 /750 lines , very approx would be fine ?? take care in these troubled times , don rees
    With out seeing the code, that's not possible. As previously stated: it depends. Is the data scraped? Or is it obtained through an API?
    You're asking us to scope a project that isn't even ours, that we know virtually nothing about.

    -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??? *

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