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

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 307,089 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 2,175 people online right now. Registration is fast and FREE... Join Now!




HOW TO CONVERT VB.net CODE TO VB6 CODE

 

HOW TO CONVERT VB.net CODE TO VB6 CODE

machete786

9 Jan, 2009 - 09:25 PM
Post #1

New D.I.C Head
*

Joined: 9 Jan, 2009
Posts: 1

could u please give me information on converting vb.net code to vb6 code

User is offlineProfile CardPM
+Quote Post


Core

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

9 Jan, 2009 - 09:39 PM
Post #2

The .NET Dude
Group Icon

Joined: 8 Dec, 2008
Posts: 3,037



Thanked: 217 times
Dream Kudos: 900
Expert In: C#, VB.NET, WPF, .NET Framework

My Contributions
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.
User is offlineProfile CardPM
+Quote Post

born2c0de

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

10 Jan, 2009 - 12:01 AM
Post #3

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

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 98 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
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.
User is offlineProfile CardPM
+Quote Post

Core

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

10 Jan, 2009 - 12:09 AM
Post #4

The .NET Dude
Group Icon

Joined: 8 Dec, 2008
Posts: 3,037



Thanked: 217 times
Dream Kudos: 900
Expert In: C#, VB.NET, WPF, .NET Framework

My Contributions
QUOTE(born2c0de @ 10 Jan, 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.


Still, I doubt that there is a converter that will automatically convert .NET-specific calls to WinAPI calls. This must be done manually.
User is offlineProfile CardPM
+Quote Post

born2c0de

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

10 Jan, 2009 - 11:19 PM
Post #5

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

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 98 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
That is true.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:58AM

Live VB.NET Help!

Be Social

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

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month