VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Page 1 of 1
  • You cannot start a new topic
  • Reply Reply

HOW TO CONVERT VB.net CODE TO VB6 CODE Rate Topic: -----

#1 machete786  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-January 09


Dream Kudos: 0

Share |

HOW TO CONVERT VB.net CODE TO VB6 CODE

Posted 09 January 2009 - 09:25 PM

could u please give me information on converting vb.net code to vb6 code
Was This Post Helpful? 0
  • +
  • -


#2 Core  Icon User is online

  • コンピューターお
  • Icon

Reputation: 415
  • View blog
  • Posts: 4,139
  • Joined: 08-December 08


Dream Kudos: 1300

Expert In: C# / .NET Framework

Re: HOW TO CONVERT VB.net CODE TO VB6 CODE

Posted 09 January 2009 - 09:39 PM

I don't think it is possible because VB.NET is based on a completely different platform (.NET) that contains so many functions VB6 doesn't have, that no converter will actually correctly convert the .NET code into VB6. You can try converting it by yourself, but you will run into problems just because the VB.NET program most likely contains pieces of code that didn't even exist in VB6 (like Mail, Threading or other classes included in the .NET Framework), so you will have to manually handle that.
Was This Post Helpful? 0
  • +
  • -

#3 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • Icon

Reputation: 137
  • View blog
  • Posts: 4,622
  • Joined: 26-November 04


Dream Kudos: 2825

Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

Re: HOW TO CONVERT VB.net CODE TO VB6 CODE

Posted 10 January 2009 - 12:01 AM

Quote

I don't think it is possible because VB.NET is based on a completely different platform (.NET) that contains so many functions VB6 doesn't have

True, but some functions can be substituted by Windows API Functions.
Was This Post Helpful? 0
  • +
  • -

#4 Core  Icon User is online

  • コンピューターお
  • Icon

Reputation: 415
  • View blog
  • Posts: 4,139
  • Joined: 08-December 08


Dream Kudos: 1300

Expert In: C# / .NET Framework

Re: HOW TO CONVERT VB.net CODE TO VB6 CODE

Posted 10 January 2009 - 12:09 AM

View Postborn2c0de, on 10 Jan, 2009 - 12:01 AM, said:

Quote

I don't think it is possible because VB.NET is based on a completely different platform (.NET) that contains so many functions VB6 doesn't have

True, but some functions can be substituted by Windows API Functions.


Still, I doubt that there is a converter that will automatically convert .NET-specific calls to WinAPI calls. This must be done manually.
Was This Post Helpful? 0
  • +
  • -

#5 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • Icon

Reputation: 137
  • View blog
  • Posts: 4,622
  • Joined: 26-November 04


Dream Kudos: 2825

Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

Re: HOW TO CONVERT VB.net CODE TO VB6 CODE

Posted 10 January 2009 - 11:19 PM

That is true.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1
  • You cannot start a new topic
  • Reply Reply


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users