Function call

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ric

    #1

    Function call

    Hi,

    I need to call a function in my asp.net application from a
    vb.net windows application running on the same machine.
    Is this generally possible? How can this be realised?

    Thanks

    Ric
  • Steve C. Orr, MCSD

    #2
    Re: Function call

    You could use a web service.
    Or you could use the WebRequest object to call an ASPX page, passing it
    parameters on the command line.
    Better yet, you could Reference the ASP.NET assembly and call it directly.

    --
    I hope this helps,
    Steve C. Orr, MCSD



    "Ric" <r.furner@gmx.c om> wrote in message
    news:037d01c355 42$2ed55040$a30 1280a@phx.gbl.. .[color=blue]
    > Hi,
    >
    > I need to call a function in my asp.net application from a
    > vb.net windows application running on the same machine.
    > Is this generally possible? How can this be realised?
    >
    > Thanks
    >
    > Ric[/color]


    Comment

    • Kevin Spencer

      #3
      Re: Function call

      You would have to expose the function via Web Service or Remoting.

      --
      HTH,

      Kevin Spencer
      Microsoft MVP
      ..Net Developer
      All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

      Big things are made up of
      lots of little things.

      "Ric" <r.furner@gmx.c om> wrote in message
      news:037d01c355 42$2ed55040$a30 1280a@phx.gbl.. .[color=blue]
      > Hi,
      >
      > I need to call a function in my asp.net application from a
      > vb.net windows application running on the same machine.
      > Is this generally possible? How can this be realised?
      >
      > Thanks
      >
      > Ric[/color]


      Comment

      Working...