Home All Groups Group Topic Archive Search About

calling a window service function?

Author
29 Nov 2007 7:24 PM
someone
Hi, is it possible to call a window service public service from a vb
application and get the result? Thasnks.

Author
29 Nov 2007 7:29 PM
Karl E. Peterson
some***@js.com wrote:
> Hi, is it possible to call a window service public service from a vb
> application and get the result? Thasnks.

Depends.  What's a "window service public service"?  What version of VB?
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
29 Nov 2007 7:43 PM
someone
Sorry, I mean a public function in the window service. I'm use VB 6.0. How
to call the function? Thanks.

Show quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:usRvk4rMIHA.2268@TK2MSFTNGP02.phx.gbl...
> some***@js.com wrote:
> > Hi, is it possible to call a window service public service from a vb
> > application and get the result? Thasnks.
>
> Depends.  What's a "window service public service"?  What version of VB?
> --
> .NET: It's About Trust!
http://vfred.mvps.org
>
>
Author
29 Nov 2007 8:30 PM
Karl E. Peterson
some***@js.com wrote:
> "Karl E. Peterson" <k***@mvps.org> wrote ...
>> some***@js.com wrote:
>>> Hi, is it possible to call a window service public service from a vb
>>> application and get the result? Thasnks.
>>
>> Depends.  What's a "window service public service"?  What version of VB?
>
> Sorry, I mean a public function in the window service. I'm use VB 6.0. How
> to call the function? Thanks.

Okay, we're halfway there!  VB6 at least means you're in the right group.

A "window service" is definitely not a standard term -- what do you mean by that?
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
29 Nov 2007 8:47 PM
someone
Thanks Karl,



I use C# to build a window service, inside it, there is a complex function
dosomething() .

Now in asp/VB, I need to call the docomething(), is it possible?

Show quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:OoDZjasMIHA.3852@TK2MSFTNGP06.phx.gbl...
> some***@js.com wrote:
> > "Karl E. Peterson" <k***@mvps.org> wrote ...
> >> some***@js.com wrote:
> >>> Hi, is it possible to call a window service public service from a vb
> >>> application and get the result? Thasnks.
> >>
> >> Depends.  What's a "window service public service"?  What version of
VB?
> >
> > Sorry, I mean a public function in the window service. I'm use VB 6.0.
How
> > to call the function? Thanks.
>
> Okay, we're halfway there!  VB6 at least means you're in the right group.
>
> A "window service" is definitely not a standard term -- what do you mean
by that?
> --
> .NET: It's About Trust!
http://vfred.mvps.org
>
>
Author
29 Nov 2007 8:58 PM
Karl E. Peterson
some***@js.com wrote:
> Thanks Karl,
>
>
>
> I use C# to build a window service, inside it, there is a complex function
> dosomething() .
>
> Now in asp/VB, I need to call the docomething(), is it possible?

Ewwww...  So this is some or .NET thingie afterall, then?  I'm afraid this isn't a
venue you're likely to find anyone with a lot of experience there, which explains my
confusion (to a satisfactory degree <G>) over what you were asking.  This is really
a group dedicated to ClassicVB, and most of the folks who hang out here have
little-to-no interest (and often even less experience) in the latest MSFT fiasco.

Sorry...   Karl
--
..NET: It's About Trust!
http://vfred.mvps.org

AddThis Social Bookmark Button