Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 17 Mar 2008 06:00:39 -0700,    group: microsoft.public.dotnet.languages.vb.upgrade        back       


vb6 ocx project   
What would be the best approach to migrate VB6 ocx project to VS.net?
Is VC++ and ATL the only option?
Or is it better to forget OCX and create .NET object?
What are the pros and cons?
TIA
date: Mon, 17 Mar 2008 06:00:39 -0700   author:   yk

Re: vb6 ocx project   
"yk"  schrieb:
> What would be the best approach to migrate VB6 ocx project to VS.net?
> Is VC++ and ATL the only option?
> Or is it better to forget OCX and create .NET object?
> What are the pros and cons?


In which host environments do you want to use the control (VB6, .NET, IE, 
...)?

-- 
 M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
 V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
date: Mon, 17 Mar 2008 15:20:23 +0100   author:   Herfried K. Wagner [MVP]

Re: vb6 ocx project   
"Herfried K. Wagner [MVP]"  wrote in message 
news:#0nJJoDiIHA.4468@TK2MSFTNGP03.phx.gbl...
> "yk"  schrieb:
>> What would be the best approach to migrate VB6 ocx project to VS.net?
>> Is VC++ and ATL the only option?
>> Or is it better to forget OCX and create .NET object?
>> What are the pros and cons?
>
>
> In which host environments do you want to use the control (VB6, .NET, IE, 
> ...)?
>
> -- 
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

It is a custom windows application for Windows XP or Vista.
The application was mostly written in VC++ and VB6 using VisualStudio 6.0.
VB6 code builds OCX.   ATL and MFC were used in VC++ part.
I would like to modernize the application and migrate to a single and moderm 
IDE like VisualStudio.NET 2008,
 but the VB6 part is the main concern. I am wondering whether I should 
convert all to .NET using language like C# or leave them unmanaged code in 
VC++ and MFC10.
The latter seems to be less work, but may not be a good choice in a long 
run.
Any suggestion would be appreciated.
date: Mon, 17 Mar 2008 20:35:06 -0700   author:   yk

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us