3 Replies - 2260 Views - Last Post: 03 March 2013 - 09:21 PM Rate Topic: -----

#1 Bren.rav  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-February 13

Converting From VB6 to VB .NET

Posted 27 February 2013 - 03:02 AM

Hello evryone,

I have a Railway Reservation System Project and I have been trying for days now to look for a way to convert my VB6 project to VB .NET

Any help from where i can get a good converter or how to convert this would be very help full

Also is it possible to export Database from MS Acess to Sql for the same project.

Basically i want to use VB .Net as the front end and Sql as the Back end.

A quick reply wil greatly be appreciated. Thank you

Is This A Good Question/Topic? 0
  • +

Replies To: Converting From VB6 to VB .NET

#2 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,768
  • Joined: 26-March 09

Re: Converting From VB6 to VB .NET

Posted 27 February 2013 - 03:28 AM

I've never used a converter to VB.Net, but if you're familiar with VB6 (ie.: you wrote the original application), you might be better trying to convert it manually. A code converter might cause you more problems than it's worth, plus it would be a good learning exercise for you.

Depending on your access and intended SQL versions, there should be no reason why you can't export the data into it.....you may end up having to script it otherwise.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9059
  • View blog
  • Posts: 34,015
  • Joined: 12-June 08

Re: Converting From VB6 to VB .NET

Posted 27 February 2013 - 08:02 AM

Quote

Any help from where i can get a good converter or how to convert this would be very help full

For the most part - you need to do it by hand. I've found, in the projects here, that:
1. opening up each form,
2. go through the designer,
3. recreate it in the vb.net designer,
4. try to copy/paste the the code behind
5. Fix the minimal errors as needed.
6. Repeat

works the best for me. Plus, as I am going through the code fixing the language errors between vb6 and .NET I clean up old logic, bad processes, and make sure it all lines up to current spec.

Quote

Also is it possible to export Database from MS Acess to Sql for the same project.

Probably - I don't use access much anymore but an 'export' would work.. sort of. I know there are Access datatypes that are not in MSSQL. Again, for this, I would do it by hand to make sure it's done right.
Was This Post Helpful? 0
  • +
  • -

#4 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: Converting From VB6 to VB .NET

Posted 03 March 2013 - 09:21 PM

Easiest way to export access to sql server is to use SSIS in SQL Server.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1