Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  Answer this Question    Ask about Visual Basic    Ask about another Subject  
 

omairkhan
May 21, 2009, 05:07 AM
i don't know what to do,
actually i don't know VB but i know VB.NET
i have project which needs to implement in VB.NET
that project is written in VB6.
i tried to convert it but there are many errors.
and things that are not understandable for me.
i don't know what to do. there are COM+ components which are used in vb6 as well.
please tell me.

Perito
May 21, 2009, 05:25 AM
VB.NET has a converter built into it. You do have to fix the errors, but the converter labels them.

If you don't understand them, this may be difficult. One of the first rules of programming is to understand the language and procedures.

If you have problems, post the errors here and we can try to help you fix them. If you can figure out the error, but don't know the solution, We can helpyou with that also.

omairkhan
May 21, 2009, 05:29 AM
VB.NET has a converter built into it. You do have to fix the errors, but the converter labels them.

If you don't understand them, this may be difficult. One of the first rules of programming is to understand the language and procedures.

If you have problems, post the errors here and we can try to help you fix them. If you can figure out the error, but don't know the solution, We can helpyou with that also.

Thanks, Prito,
the first error/Warning which i have seen is:
'UPGRADE_ISSUE: COMSVCSLib.AppServer .GetObjectContext was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'

while there is this line of Code: objcontext = GetObjectContext

i tried to get the DLL from System32 folder, but it was not accepting reference, then i tried to add services. i really don't know...how to solve or what is the alternative of this...how could i proceed further..?:(

Perito
May 21, 2009, 06:22 AM
I'm going to refer you to these pages.

Ozzie Rules Blogging : Visual Studio 2005 Upgrading COM+ Components? (http://blogs.msdn.com/charles_sterling/archive/2005/01/05/346867.aspx)

CodeProject: Converting a VB6 gdiplus project to .net. (http://www.codeproject.com/KB/vb/Converting_VB6_to_net.aspx)

It looks like they've already done what you're trying to do. I got this by googling the GUID that you posted (CC4C7EC0-C903-48FC-ACCC-81861D12DA4A).

I'd work more on this for you, but I've got a dentist's appointment in a few minutes :mad:

omairkhan
May 21, 2009, 11:37 PM
I'm going to refer you to these pages.

Ozzie Rules Blogging : Visual Studio 2005 Upgrading COM+ Components? (http://blogs.msdn.com/charles_sterling/archive/2005/01/05/346867.aspx)

CodeProject: Converting a VB6 gdiplus project to .net. (http://www.codeproject.com/KB/vb/Converting_VB6_to_net.aspx)

It looks like they've already done what you're trying to do. I got this by googling the GUID that you posted (CC4C7EC0-C903-48FC-ACCC-81861D12DA4A).

I'd work more on this for you, but I've got a dentist's appointment in a few minutes :mad:

dear in second link,
that person has written this:
CONCLUSION

CONVERSION WIZARD = BAD NEWS
TOTAL REWRITE = GOOD NEWS


i hope to get better about your teeth..