Converting to VB.NET

Experts,

I'm in the process of converting a VB6 app to VB.NET.  This is one of the errors I get:

Error      1      Unable to create a manifest resource name for "ctlTaskFilter.resX". Could not find file 'C:\Users\Curt\Documents\My Desktop Apps\Knowledge Tracker\KnolwedgeTracker.NET\ctlTaskFilter.vb'.      KnowledgeTracker


I don't have a file by that name anywhere.  How do I get past this?
LVL 1
NigelRocksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jorge PaulinoIT Pro/DeveloperCommented:
You have a lot of things that cannot be converted because the syntax has changed or doesn't exists. It's better to exclude the things that doesn't work and create that manually.
My recommendation: start from zero!
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NigelRocksAuthor Commented:
You think it's better to just start from scratch without converting the old code?
0
Jorge PaulinoIT Pro/DeveloperCommented:
>> You think it's better to just start from scratch without converting the old code?
The big problem in the application is how they work and not the code. The code it's quick to write, and if you get the idea from the old application, you will convert it fast. IMO
Converting code it also converts bad code. It's like converting English to Portuguese ... it's converts but with a lot of errors and sentences that doesn't make sense.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Tommy11bCommented:
I concur. The upgrade wizard is a waste. Besides the errors on things that cant be converted, you still have coding blocks that didnt automatically convert to newer methods of .Net which is usually the point of the upgrade.
0
NigelRocksAuthor Commented:
Maybe I can convert this app little at a time, with the .NET forms calling VB6 forms when needed.  Is that possible?
0
Jorge PaulinoIT Pro/DeveloperCommented:
No, it's not possible.
0
Tommy11bCommented:
Possible, yes but you still need to correct what wasnt fully converted. Again many things are backwards compatible in .Net; meaning blocks of coding can be working fine but are not benefiting from the newer .Net methods. Also I'm not sure what your project & forms are actually doing but there is a large difference in VB6 and recordsets compared to ado.net programming.
0
Jorge PaulinoIT Pro/DeveloperCommented:
>> Possible, yes
How can you in .NET call VB6 forms? You can use come classes, activex controls, etc but not call vb6 forms.
@NigelRocks,
There are some companies that still work with VB6 and they don't change it. If the application is big the best solution may be to continue that way and just add some features(as required). The new projects then you start with .NET.
0
NigelRocksAuthor Commented:
Tommy1b:  That is one of my biggest obstacles.  The current app runs over Access, and I want to convert it to VB.NET or C# and run it over SQL Server.  It might be more work that it's worth.
 
jpaulino:  I know what you mean because on my last job (at the Justice Department), they were still using a HUGE VB6 program that I had to maintain.  They had plans to replace it with web-based .NET, but I got the impression they were going to start from scratch.
0
Tommy11bCommented:
He definitely can import/upgrade his project from VB6 to .Net and use those converted forms while he's fully replacing them one at a time. However I wouldnt recommend it and I agree (as said previously) that he is better off scraping the upgrade and starting from scratch in new .Net projects.
0
Tommy11bCommented:
>>Tommy1b:  That is one of my biggest obstacles.  The current app runs over Access, and I want to >>convert it to VB.NET or C# and run it over SQL Server.  It might be more work that it's worth.

Again I think you could do this piecemail but its not recommended. Converting from Access to Sql Server isnt so much a problem but what you dont want to wind up with is mixing ado.net and vb6 recordsets; they are completly different.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.