VB.Net-C# integration

Discussion in 'ASP .Net' started by Madhuri Mittal, Aug 6, 2003.

  1. I have a ASP.net application written in VB.Net which is
    the main application. I have another ASP.net application
    written in C#. I want to integrate the C# project files
    into the VB.net project ( without having to convert C#
    code to VB.net ) . The C# project contains few aspx pages
    and couple of C# utility classes.

    What would be the best way to integrate the C# files into
    VB.net project and run these successfully within the
    ASP.net app?

    Thanks

    Madhuri Mittal
     
    Madhuri Mittal, Aug 6, 2003
    #1
    1. Advertisements

  2. Madhuri Mittal

    Daniel Bass Guest

    you should be able to just add your C# files to the project, and as long as
    the <%@ Page directive specifies the file and language in the code behind
    page, you should have no problem.


    "Madhuri Mittal" <> wrote in message
    news:0a9601c35bf5$63e78be0$...
    > I have a ASP.net application written in VB.Net which is
    > the main application. I have another ASP.net application
    > written in C#. I want to integrate the C# project files
    > into the VB.net project ( without having to convert C#
    > code to VB.net ) . The C# project contains few aspx pages
    > and couple of C# utility classes.
    >
    > What would be the best way to integrate the C# files into
    > VB.net project and run these successfully within the
    > ASP.net app?
    >
    > Thanks
    >
    > Madhuri Mittal
     
    Daniel Bass, Aug 6, 2003
    #2
    1. Advertisements

  3. You can't put them in the same project. But you can have 2 projects that are
    in the same solution.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    http://www.takempis.com
    Complex things are made up of
    lots of simple things.

    "Madhuri Mittal" <> wrote in message
    news:0a9601c35bf5$63e78be0$...
    > I have a ASP.net application written in VB.Net which is
    > the main application. I have another ASP.net application
    > written in C#. I want to integrate the C# project files
    > into the VB.net project ( without having to convert C#
    > code to VB.net ) . The C# project contains few aspx pages
    > and couple of C# utility classes.
    >
    > What would be the best way to integrate the C# files into
    > VB.net project and run these successfully within the
    > ASP.net app?
    >
    > Thanks
    >
    > Madhuri Mittal
     
    Kevin Spencer, Aug 6, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mikieg_99

    .NET and php integration

    mikieg_99, Jun 11, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    752
    Cowboy \(Gregory A. Beamer\) [MVP]
    Jun 11, 2004
  2. =?Utf-8?B?R2Fs?=
    Replies:
    0
    Views:
    466
    =?Utf-8?B?R2Fs?=
    Jun 17, 2004
  3. nospam

    ASP .NET integration question

    nospam, Oct 11, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    434
    Hermit Dave
    Oct 11, 2004
  4. Baldy
    Replies:
    1
    Views:
    461
    Lucas Tam
    Oct 17, 2004
  5. =?Utf-8?B?RGV2?=

    Fax integration in .NET

    =?Utf-8?B?RGV2?=, Dec 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    939
    =?Utf-8?B?QnJpYW4gQnJvd24=?=
    Dec 20, 2004
  6. Remigiusz Samosiuk

    asp.net integration with apache php ??

    Remigiusz Samosiuk, Dec 30, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    552
    Remigiusz Samosiuk
    Dec 30, 2004
  7. Maziar Aflatoun

    C#.NET FTP Integration

    Maziar Aflatoun, Mar 3, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    2,696
    =?Utf-8?B?U2NvdHQgU2ltb25z?=
    Mar 3, 2005
  8. David R.

    ASP.NET 2.0 MSN Messenger Integration

    David R., Jan 15, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    537
    David R.
    Jan 15, 2006
Loading...