473,804 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can services have forms?

jim
I thought that I read somewhere that services don't (or can't) have forms.

Is that true?

Jul 7 '07
25 1258
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:u2******** ******@TK2MSFTN GP04.phx.gbl...
>
"jim" <ji*@yourpc.edu wrote in message
news:xW******** ********@bignew s4.bellsouth.ne t...
>>
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:Oc******* *******@TK2MSFT NGP02.phx.gbl.. .
>>>
"jim" <ji*@yourpc.edu wrote in message
news:Oi****** ***********@big news5.bellsouth .net...

"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:%2***** **********@TK2M SFTNGP04.phx.gb l...
>
"jim" <ji*@yourpc.edu wrote in message
news:nk**** **************@ bignews5.bellso uth.net...
>>I thought that I read somewhere that services don't (or can't) have
>>forms.
>>
>Is that true?
>
A service doesn't use forms, because the service is meant to run
unattende d once it's started/executed, with no user interfacing.
>
But a Windows desktop application using a form can communicate with
with a service application, just like you see a personal firewall UI
that communicates with its FW service application.

Do you know of any examples of this that I can learn from?

This is a C# example and everything that's being done in C# as far as
using the namespace can be done in VB.NET as well.

Are you aware that you are in a VB.Net newsgroup?

Yes, I am aware I am in a VB NG. However, most examples of things are in
C# .Net. You can search Google and see if you can find some examples in
VB.

Once again, there is no difference between C# and VB.Net. The only
difference between the two languages are syntactical. You should be able
to take the C# example and come out with a VB example doing the same
thing.
Unless you need pointers or anonymous delegates :-)

Jul 8 '07 #11
jim

"Blake" <no@emailwrot e in message
news:u3******** *****@TK2MSFTNG P04.phx.gbl...
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:u2******** ******@TK2MSFTN GP04.phx.gbl...
>>
"jim" <ji*@yourpc.edu wrote in message
news:xW******* *********@bigne ws4.bellsouth.n et...
>>>
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:Oc****** ********@TK2MSF TNGP02.phx.gbl. ..

"jim" <ji*@yourpc.edu wrote in message
news:Oi***** ************@bi gnews5.bellsout h.net...
>
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:%2**** ***********@TK2 MSFTNGP04.phx.g bl...
>>
>"jim" <ji*@yourpc.edu wrote in message
>news:nk*** *************** @bignews5.bells outh.net...
>>>I thought that I read somewhere that services don't (or can't) have
>>>forms.
>>>
>>Is that true?
>>
>A service doesn't use forms, because the service is meant to run
>unattend ed once it's started/executed, with no user interfacing.
>>
>But a Windows desktop application using a form can communicate with
>with a service application, just like you see a personal firewall UI
>that communicates with its FW service application.
>
Do you know of any examples of this that I can learn from?

This is a C# example and everything that's being done in C# as far as
using the namespace can be done in VB.NET as well.

Are you aware that you are in a VB.Net newsgroup?

Yes, I am aware I am in a VB NG. However, most examples of things are in
C# .Net. You can search Google and see if you can find some examples in
VB.

Once again, there is no difference between C# and VB.Net. The only
difference between the two languages are syntactical. You should be able
to take the C# example and come out with a VB example doing the same
thing.

Unless you need pointers or anonymous delegates :-)
Exactly! C# and VB.Net are NOT the same. I am just learning VB.Net.

I hate .Net, but the job calls for it. I used to code in VB because I just
hate the syntax of C++. I like more verbose, natural languages. So, the
odds of me learning C# so that I can work in VB.Net are exactly zero.

jim
Jul 8 '07 #12

"jim" <ji*@yourpc.edu wrote in message
news:rb******** ********@bignew s4.bellsouth.ne t...
>
"Blake" <no@emailwrot e in message
news:u3******** *****@TK2MSFTNG P04.phx.gbl...
>"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:u2******* *******@TK2MSFT NGP04.phx.gbl.. .
>>>
"jim" <ji*@yourpc.edu wrote in message
news:xW****** **********@bign ews4.bellsouth. net...

"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:Oc***** *********@TK2MS FTNGP02.phx.gbl ...
>
"jim" <ji*@yourpc.edu wrote in message
news:Oi**** *************@b ignews5.bellsou th.net...
>>
>"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
>news:%2*** ************@TK 2MSFTNGP04.phx. gbl...
>>>
>>"jim" <ji*@yourpc.edu wrote in message
>>news:nk** *************** *@bignews5.bell south.net...
>>>>I thought that I read somewhere that services don't (or can't) have
>>>>forms .
>>>>
>>>Is that true?
>>>
>>A service doesn't use forms, because the service is meant to run
>>unattende d once it's started/executed, with no user interfacing.
>>>
>>But a Windows desktop application using a form can communicate
>>with with a service application, just like you see a personal
>>firewal l UI that communicates with its FW service application.
>>
>Do you know of any examples of this that I can learn from?
>
This is a C# example and everything that's being done in C# as far as
using the namespace can be done in VB.NET as well.

Are you aware that you are in a VB.Net newsgroup?

Yes, I am aware I am in a VB NG. However, most examples of things are in
C# .Net. You can search Google and see if you can find some examples in
VB.

Once again, there is no difference between C# and VB.Net. The only
difference between the two languages are syntactical. You should be able
to take the C# example and come out with a VB example doing the same
thing.

Unless you need pointers or anonymous delegates :-)

Exactly! C# and VB.Net are NOT the same. I am just learning VB.Net.
I have been working with VB since 1996 and C# since 2004 and for the vast
majority of what the languages do in using the .NET Framework, which is what
we're talking about here. they do the same thing.

>
I hate .Net, but the job calls for it. I used to code in VB because I
just hate the syntax of C++. I like more verbose, natural languages.
What's a verbose and natural language? The only one that could fit that bill
would be Cobol. There is Cobol.NET too that you can use.

So, the odds of me learning C# so that I can work in VB.Net are exactly
zero.
No one is telling you to learn C#. But you should be sharp enough to use an
example in C#, as to what you can do in VB. But if you can't run with it,
you can't run with it. Find an example in VB if you can and move on.

Jul 8 '07 #13
jim

"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:ug******** ******@TK2MSFTN GP02.phx.gbl...
>
"jim" <ji*@yourpc.edu wrote in message
news:rb******** ********@bignew s4.bellsouth.ne t...
>>
"Blake" <no@emailwrot e in message
news:u3******* ******@TK2MSFTN GP04.phx.gbl...
>>"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:u2****** ********@TK2MSF TNGP04.phx.gbl. ..

"jim" <ji*@yourpc.edu wrote in message
news:xW***** ***********@big news4.bellsouth .net...
>
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:Oc**** **********@TK2M SFTNGP02.phx.gb l...
>>
>"jim" <ji*@yourpc.edu wrote in message
>news:Oi*** **************@ bignews5.bellso uth.net...
>>>
>>"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
>>news:%2** *************@T K2MSFTNGP04.phx .gbl...
>>>>
>>>"jim" <ji*@yourpc.edu wrote in message
>>>news:nk* *************** **@bignews5.bel lsouth.net...
>>>>>I thought that I read somewhere that services don't (or can't) have
>>>>>form s.
>>>>>
>>>>Is that true?
>>>>
>>>A service doesn't use forms, because the service is meant to run
>>>unattend ed once it's started/executed, with no user interfacing.
>>>>
>>>But a Windows desktop application using a form can communicate
>>>with with a service application, just like you see a personal
>>>firewa ll UI that communicates with its FW service application.
>>>
>>Do you know of any examples of this that I can learn from?
>>
>This is a C# example and everything that's being done in C# as far as
>using the namespace can be done in VB.NET as well.
>
Are you aware that you are in a VB.Net newsgroup?

Yes, I am aware I am in a VB NG. However, most examples of things are
in C# .Net. You can search Google and see if you can find some examples
in VB.

Once again, there is no difference between C# and VB.Net. The only
difference between the two languages are syntactical. You should be
able to take the C# example and come out with a VB example doing the
same thing.


Unless you need pointers or anonymous delegates :-)

Exactly! C# and VB.Net are NOT the same. I am just learning VB.Net.

I have been working with VB since 1996 and C# since 2004 and for the vast
majority of what the languages do in using the .NET Framework, which is
what we're talking about here. they do the same thing.
Then show use how to do pointers and anonymous delegates in VB.Net. (And,
for the love of God, don't post another "here's how to do it on C# - you can
convert it" BS answer.)
>
>>
I hate .Net, but the job calls for it. I used to code in VB because I
just hate the syntax of C++. I like more verbose, natural languages.

What's a verbose and natural language? The only one that could fit that
bill would be Cobol. There is Cobol.NET too that you can use.
Again.....you are in the VB.Net newsgroup, Waldo.
>
> So, the odds of me learning C# so that I can work in VB.Net are exactly
zero.

No one is telling you to learn C#. But you should be sharp enough to use
an example in C#, as to what you can do in VB. But if you can't run with
it, you can't run with it. Find an example in VB if you can and move on.
You're the idiot that keeps posting C# examples to questions posted in a
VB.Net newsgroup!

I'm blocking you now......no need to respond.....

jim
Jul 8 '07 #14
"jim" <ji*@yourpc.edu wrote in
news:i%******** ********@bignew s4.bellsouth.ne t:
Then show use how to do pointers and anonymous delegates in VB.Net.
(And, for the love of God, don't post another "here's how to do it on
C# - you can convert it" BS answer.)
Yes, but 95% if the applications out there don't need pointers or anonymous
delegates.

For those apps that rely on pointers so heavily - wouldn't C++ be a better
choice?
Jul 8 '07 #15
>
I'm blocking you now......no need to respond.....
Really? You can pull your head out from whatever holes you have it
buried in. You try to help a *clown* out, just give the *clown* an
example on how to do something, but the *clown* is too stupid to piss in
a boot straight. The *clown* starts whining.

My goodness, what a mule head you are with a head as hard as ten bricks
and can't see past your nose, which has got your entire face covered.

Is there a Pamper and bottle in house, so that I can change you? <g>
Jul 8 '07 #16
Spam Catcher wrote:
"jim" <ji*@yourpc.edu wrote in
news:i%******** ********@bignew s4.bellsouth.ne t:
>Then show use how to do pointers and anonymous delegates in VB.Net.
(And, for the love of God, don't post another "here's how to do it on
C# - you can convert it" BS answer.)

Yes, but 95% if the applications out there don't need pointers or anonymous
delegates.

For those apps that rely on pointers so heavily - wouldn't C++ be a better
choice?
I gave the *nut* some simple examples that used the
System.Processi ng.ServiceContr oller namespace as the *nut* requested. A
two year old child can look at the examples in C# and say I need this
line of code, I need that line of code and how do I use the namespace in
VB.

C#

private ServiceControll er controller = new ServiceControll er();

VB

Dim controller as new ServiceControll er

Say it's not so that the *nut* can't figure it out.

Say it's not so that the *nut* couldn't use intellsense/early binding to
compare and do a here it is in C# and here is the equivalent in VB for
the statement.

The *nut* wants it handed to him on a silver tray so that he can use his
silver bowl, silver spoon, and silver baby bottle.

The *nut* can stick it up his silver behind.

Jul 8 '07 #17
DArnold <DA*****@DArnol d.comwrote in news:eL0sKCbwHH A.1208
@TK2MSFTNGP05.p hx.gbl:
The *nut* wants it handed to him on a silver tray so that he can use his
silver bowl, silver spoon, and silver baby bottle.

The *nut* can stick it up his silver behind.
Ya too many in this group want to be spoon fed.
Jul 9 '07 #18
jim

"Spam Catcher" <sp**********@r ogers.comwrote in message
news:Xn******** *************** ***********@127 .0.0.1...
DArnold <DA*****@DArnol d.comwrote in news:eL0sKCbwHH A.1208
@TK2MSFTNGP05.p hx.gbl:
>The *nut* wants it handed to him on a silver tray so that he can use his
silver bowl, silver spoon, and silver baby bottle.

The *nut* can stick it up his silver behind.

Ya too many in this group want to be spoon fed.
Not me. I just want VB.Net answers in a VB.Net newsgroup. Posting C#
replies to requests for VB.Net examples is not only against the spirit of
this newsgroup, it is against logic.

I am sure that there is code written in C or C++ that may do what I am
trying to do. But, if I wanted C or C++ code I would be asking for help in
those newsgroups - like I should.

If people can't answer the question asked, instead of posting some jackass
response like "Google it" or some off-topic links to another language, they
should kindly stfu.

I don't even think anyone here knows how to accomplish this in VB.Net. Most
of the answers that I have seen offered here are simple ones that could have
been found by using the Help that comes with .Net.

I obviously chose the wrong place to ask this question.

My bad.

jim
Jul 9 '07 #19
We have Moses in the house. Moses has appeared and needs to put out a
few words.

And as Moses would say "IF YOU CAN'T LIVE BY THE LAW THEN DIE BY THE
LAW" as Moses tosses the VB tablets at the pagan C# pig. :)
They need to lock old Moses and the tablets up.
Jul 9 '07 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2508
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not Web Forms) that serves as a thin client to some web services. In other words, the Windows Forms app will be installed on the client machines and that app will call web services that are deployed on my server.
13
1316
by: david | last post by:
I met the security problem. I have developed the form based security for ASP.NET appliation. However, it seems that my window based client for my Web services application can not access to the server side. How to overcome this situation? Thanks David
1
3456
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
0
3945
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server - Select from two specific services - Check the status of the server
2
1253
by: Ed Staffin | last post by:
Hi all, I sent this the other day but got no responses, so, I thought I would try again. I am thinking about the next version of my application (it's an accounting app) and it would seem that web services might be quite useful. If I can get rid having to create a web app, and instead can use a regular windows app on the client, that would be fantastic. Can I look at web services as a better DCOM? How is performance? Is this just another...
0
1059
by: SenthilVel | last post by:
Hi I want to list the available "Component Services " (COM+) in a machine . i am trying to get the list of Componenet services in a machine using windows forms in dotnet , how can i retrive the list of componenet services, i know we can get the list of windows services, but i dont know how to get the list of Component services ?
6
1599
by: David++ | last post by:
Hi folks, So I have implemented a Web service which provides several Web Methods. Before the client can use the WebMethods they must first be authenticated and authorized i.e. they login, obtain a string 'ticket' and then must use this ticket to make subsequent calls to the Web Methods. Users are validated by checking to see if they exist in the web.config file which looks like this -
6
2010
by: Simon Harvey | last post by:
Hi everyone, We have a need to make a Windows Forms (2.0) client application that will be installed on our clients site. The data that the application uses needs to be centrally available to a potentially large number of other sites, which would seem to leave us with our traditional approach, or having a central database server on a dedicated server someplace.
1
5704
by: jasonnance77 | last post by:
I have built a SSIS package which runs fine in BIDS. I went into Sql Server Management Studio and created a new job and job step. When I select the SQL Server Integration Services Package, I get the below error. There are no options on selecting a SSIS package. I searched this error for about 5 hours yesterday and the only solution I could find was a user who rebooted their server which fixed this problem. I did restart the server,...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.