School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,115 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 4,312 people online right now. Registration is fast and FREE... Join Now!



HOW TO CONVERT VB.net CODE TO VB6 CODE

Page 1 of 1

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

#1 machete786  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 09-January 09


Dream Kudos: 0

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

  • Jasper
  • Icon
  • View blog
  • Group: Admins
  • Posts: 3,479
  • Joined: 08-December 08


Dream Kudos: 975

Expert In: .NET Framework

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
  • View blog
  • Group: Moderators
  • Posts: 4,566
  • Joined: 26-November 04


Dream Kudos: 2825

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

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

  • Jasper
  • Icon
  • View blog
  • Group: Admins
  • Posts: 3,479
  • Joined: 08-December 08


Dream Kudos: 975

Expert In: .NET Framework

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
  • View blog
  • Group: Moderators
  • Posts: 4,566
  • Joined: 26-November 04


Dream Kudos: 2825

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

Posted 10 January 2009 - 11:19 PM

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

Page 1 of 1


Fast Reply

  

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



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month