using a c# class in a vb.net webservice


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: using a c# class in a vb.net webservice

  1. #1
    Guillaume LagacÚ Guest

    using a c# class in a vb.net webservice


    Hi, I wanted to use a c# class in my vb.net webservice, how can I import it?
    I'm using visual studio .net, and I have made the reference in my project,
    but when I write import in my webservice.asmx I don't see the namespace of
    my c# class. Could someone help me?

    thanks.

    Guillaume

  2. #2
    Randy Charles Morin Guest

    Re: using a c# class in a vb.net webservice

    Did you mark the C# class as public?

    public class xxx

    Otherwise, it won't show up.

    If this doesn't help, then try some sample code to help us help you.

    --
    Randy Charles Morin
    http://www.kbcafe.com

    Feel free to contact me by private email or messenger
    randy@kbcafe.com
    morin_randy@hotmail.com

    "Guillaume LagacÚ" <guilagace@hotmail.com> wrote in message news:3cc5c08c$1@10.1.10.29...
    >
    > Hi, I wanted to use a c# class in my vb.net webservice, how can I import it?
    > I'm using visual studio .net, and I have made the reference in my project,
    > but when I write import in my webservice.asmx I don't see the namespace of
    > my c# class. Could someone help me?
    >
    > thanks.
    >
    > Guillaume




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center