Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 17th, 2004, 10:04 AM
Authorized User
 
Join Date: Sep 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert from VB 6 to ASP 3

Hi, all,

I need to convert a relative small VB 6 application into an ASP 3 application. The VB application has about 5 forms and about 25 class modules. What's the best way to go about this? Any way I can keep the existing class modules? What kind of problem I might experience? -- Basically how do I start? Any books and/or articles good for this kind of project?

Thanks.

 
Old September 20th, 2004, 04:01 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

You should be able to create & use your class modules from you asp code by creating a dll that contains them.

I found the following book helpful when first doing this kind of thing
http://www.amazon.com/gp/product/off...Fencoding=UTF8

HTH,

Chris

 
Old September 20th, 2004, 07:29 AM
Authorized User
 
Join Date: Sep 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Good deal, thanks.

 
Old September 21st, 2004, 03:36 PM
Authorized User
 
Join Date: Sep 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Moving a bit forward with this topic now...

I know I can create DLL for those VB ClassModules, which can be called and used in ASP pages. Now, how do you re-use those existing VB forms and modules? or can I keep them and use them on ASP at all? I am trying to understand the right concept of this. Does anyone know?

 
Old October 27th, 2004, 10:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

You can't use your forms, their need to be in HTML, but you can use your modules as DLLs or VBScript Classes. Do a search on vbscript class and you see how similar their are to VB Modules. ... Remember that ASP goes between <% %>. :-)
Get some HTML dude to rewrite your forms, if you can.

 - mega





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me i must convert Code vb to C# pla_2 C# 3 October 14th, 2006 12:54 AM
convert dsr file from vb to vb.net Shashi001 VB Components 1 September 22nd, 2006 12:24 PM
Help me convert C# to VB minhtri Pro VB.NET 2002/2003 1 June 8th, 2006 01:32 PM
Convert VB to C# code skdp VS.NET 2002/2003 2 March 1st, 2004 11:45 PM
Help - Convert from C# to VB.Net CrazyLegsCooper VS.NET 2002/2003 1 July 20th, 2003 10:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.