|
-
Mar 17th, 2010, 01:37 PM
#1
Thread Starter
New Member
Convert VB 6 project to VS 2008
Hello,
I am not sure if this is the correct spot to post this...
I am trying to convert an old VB 6 project to VS 2008, but it is giving me the following error:
Upgrade failed: Exception occurred: Could not load referenced component:
TABCTL32.OCX (1.1.0)
You need to install this component before you upgrade the project.
It is recommended you install VB6.0, with all referenced components, and ensure the application compiles and runs before upgrading.
I don't have VB6.0, so how do I work around this?
The files I am trying to convert are here:
www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=65071&lngWId=1
Thanks,
Craigbert
-
Mar 17th, 2010, 01:47 PM
#2
Re: Convert VB 6 project to VS 2008
Best thing to do is to not convert.
Instead of converting a project, it's better to just rewrite it from scratch.
Since it looks like you're trying to convert a project that isn't yours, I'm guessing you probably don't have a handle on just what it does and could re-write it yourself. Depending on what you are looking for you may want to see if someone has already written a .NET version that you wouldn't need to convert.
That aside, the OCX in question is the Tab control. I'd venture a guess you don't have it installed on your machine.
-tg
-
Mar 17th, 2010, 01:56 PM
#3
Thread Starter
New Member
Re: Convert VB 6 project to VS 2008
Techgnome,
Thanks for replying. You are correct, this is not my project and I am unsure how to go about this.
So how do I find out if someone has converted this?
Thanks,
Craigbert
-
Mar 17th, 2010, 02:04 PM
#4
Re: Convert VB 6 project to VS 2008
One way would be to send an email to everyone in the world, but I wouldn't suggest that, or any other method.
Converting a project from VB6 to VB.Net is less than ideal at the best of times, and this situation does not come anywhere close to them... even if you do manage to get it to work (eventually), it will almost certainly have speed/functionality issues.
Rather than trying to convert a VB6 project you found, it would be a far better idea to find a VB.Net equivalent instead.
-
Mar 17th, 2010, 02:04 PM
#5
Re: Convert VB 6 project to VS 2008
I think what Nick probably means is there may be a similar application written in .net. It doesn't look like the kind of thing that would be easy to convert using the built in tools so unless you had VB6 and could run it and see what it does then re-create it in .Net you'll be a bit stuck.
-
Mar 17th, 2010, 02:16 PM
#6
Thread Starter
New Member
Re: Convert VB 6 project to VS 2008
I found this at Planet Source Code and I have looked at www.codeproject.com for something similar, but I have not been successful.
Where are some other places I could look?
Thanks,
Craigbert
-
Mar 17th, 2010, 02:33 PM
#7
Thread Starter
New Member
Re: Convert VB 6 project to VS 2008
....or....if someone knows of a sample project that allows a user at runtime to drop controls onto a window that can be dynamically resized....?
Thanks,
Craigbert
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|