Jump to content
Xtreme .Net Talk

VBA Code Convert to VB.NET


Recommended Posts

Guest Muratti
Posted

Hey,

 

I have a not sophisticated VBA code (integrated with Excel) that I would like to convert into VB.Net.

I have some questions:

Is the VB.Net Upgrade wizard applicable to convert VBA code as well?

How hard is it to convert to VB.Net?

SHould I first convert to VB6 and then to VB.Net?

 

I would really appreciate if anybody would help me. Thanks.

Guest KidCoder
Posted

I think the convert wizard should be compatible with VBA. All you have to do to find out is open your VBA project in VB.NET. It's not hard to migrate - it does it automatically. :) You convert it to VB6 first ONLY if the wizard isn't compatible with VBA. Welcome to We're Here!

 

Kid

Guest KidCoder
Posted
It's true that it's better to rewrite instead of convert, but I've learned a lot more about coding structure of .NET much faster by migrating all my projects, and then studying the coding differences. It's almost like my own .NET forum! :D
Guest KidCoder
Posted

OH! I didn't know that! I'll have to show this thread to my uncle, because he seems to think that it's real .NET.

 

Thanks!

  • *Gurus*
Posted
It's real .NET, but often a rather perverted version, designed to look more like VB6 code. This avoids the conversion wizard having to jump through hoops when processing old code. It's always better to get a book, and read up on how a new topic is done in VB.NET then rewrite. More fun too!

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Guest KidCoder
Posted
Alrighty, thanks. I think I can mooch a book off of my parents. :p

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...