Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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 April 14th, 2005, 09:19 AM
Registered User
 
Join Date: Mar 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Sappu
Default Help Please:running C# and VB in one application?

Hi

I need immediate help in this issue. Any kind of suggestions are always welcome.

I have a project in C# and I need to implement the hyperlinking tracking on it. I found some very useful code online in VB. If I
change some settings on it I am confident that I can integrate the
VB code in my C# project. But I am not sure if two projects on differnt platforms can be combined together. I have two ideas now:

1.Is it possible to add a VB solution project to a C# solution project and make changes in VB to reflect those changes in C#?

2.Other wise I want to change the VB project to C# completely. How do i do that?

I greatly appreciate any help on this issue.
Thank you in advance
-swapna
 
Old April 14th, 2005, 11:52 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Create VB code as component and place that dll inside the c# code /bin directory.This way u can use the vb code.

 
Old April 15th, 2005, 02:26 PM
Registered User
 
Join Date: Mar 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Sappu
Default

How do I place VB code as component? There is no .vb extension file available in the list of choice. Here is the link to the project I want to attach to my C# project.
http://www.15seconds.com/issue/021119.htm
Please check the source code in there. It is a .sln project.

Can you give a clear advice please?
Thank you
-swapna
 
Old April 18th, 2005, 08:09 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Hi Swapna,
      The article for whichever you had given link is in VB.NET.Do onething put the whole code for whatever thing you need to be done using that article in .sln file(VB.NET) and compile it.Go to bin directory and take the dll to use it in ur c# code.


 
Old April 21st, 2005, 02:13 PM
Registered User
 
Join Date: Mar 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Sappu
Default

Hi Santhi

Thank you so much for your help. Though it didn't really work by copying
the dll to the bin directory, your suggestions were very helpful. I
got the thing working, when I tried to use a conversion tool which
converts VB to C#.

Thanks again for your timely suggestions santhi. I appreciate your help.
swapna





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a VB 2005 exe file on a system without VB dilionyi Pro Visual Basic 2005 3 September 21st, 2009 07:37 PM
running my application RoniR ASP.NET 1.0 and 1.1 Professional 0 March 28th, 2007 07:46 AM
running another application from code badgolfer VB.NET 2002/2003 Basics 0 March 4th, 2005 04:45 AM
Running FTP within VB .NET Application ocarroll General .NET 7 September 28th, 2004 04:25 PM
Running application at IIS marjanm Beginning PHP 1 July 26th, 2004 12:56 AM





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