473,804 Members | 3,196 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
"jim" <ji*@yourpc.edu schrieb
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.
Any help that /can/ help is help. Even a C# example might help you. It
doesn't have to but it's possible. Better than nothing. And if it is for
free, say "thank you", don't complain and maybe wait for a VB.Net example.

You should better not ask your initial question in a VB.Net group. Don't
even ask it in any .Net group. Why? Because it is not specific to neither
VB.Net, nor to .Net at all. It is specific to the OS, so you should better
look at
http://msdn2.microsoft.com/en-us/library/ms685141.aspx
http://msdn2.microsoft.com/en-us/library/ms683502.aspx
and ask somewhere at m.p.win32.progr ammer.*

No, where to ask the question is NOT a matter of which language
you use - because the answer would be the same for different
languages. It would even be the same for the not-Framework-world
(unmanaged C++ eg). So, it's a *.win32.* question.

If you have problems in finding the implementation in the Framework, ask in
a Framework group. If you have syntax problems in VB.Net, ask in this group.
Welcome to the usenet! (Unfortunatelly there are many people that do not
know this (and unfortunatelly it's forbidden in this group to say this to
people (and from time to time I get tired of reading all these OT
questions (BTW, VB.net has no keyword to convert a WAV to an MP3...))))
Armin

Jul 9 '07 #21
On Sun, 8 Jul 2007 23:07:59 -0400, "jim" <ji*@yourpc.edu wrote:
>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.
Time to feed the troll ...

Suppose I was to ask a question about how to do something extremely
specialized. Spending most of my time in VB.Net and not knowing what
group best covers the question, I would post it in my favorite VB.Net
group, hoping someone could point me in the right direction. If a
sample for the solution is only available in Java, so be it. I would
rather have a Java answer than a "no, can't think of any VB.Net
samples" one.

What if you want to accomplish something which is only possible
by making Win32 calls because it has not been wrapped by the
framework? Do you say "don't give me Win32 answers in a VB
newsgroup"?

If most implementations covering a specific domain is usually done in
C#, there is nothing wrong in giving you a C# answer. Though you may
not want to translate the C# answer to VB.Net, you might find a few
choice words or namespaces that would help you search/Google for
an answer more suited to your programming tastes. And yes, Google
will often answer most questions you might have and I believe it is
encouraged to search for an answer before posting trivial questions
for the umpteenth time in a newsgroup. You might want to try
http://searchdotnet.com/ (custom Google search) for a better
signal-to-noise ratio when searching for .Net solutions.

Feel free to block me and anyone who does not share this view
of yours, but I suspect you then won't see much traffic in this group
anymore.

Regards,

Joergen Bech

Jul 9 '07 #22
jim wrote:
I thought that I read somewhere that services don't (or can't) have forms.
They can probably /have/ them, but work on the assumption that no-one
will ever be able to get to /see/ them.

The ability for Services to "interact with the desktop", i.e. to display
forms and dialogs, is going to /disappear/ in future versions of Windows
(if it hasn't already, with Vista).

HTH,
Phill W.
Jul 9 '07 #23
jim

"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f6******** **@south.jnrs.j a.net...
jim wrote:
>I thought that I read somewhere that services don't (or can't) have
forms.

They can probably /have/ them, but work on the assumption that no-one will
ever be able to get to /see/ them.

The ability for Services to "interact with the desktop", i.e. to display
forms and dialogs, is going to /disappear/ in future versions of Windows
(if it hasn't already, with Vista).
How will the services be administered if they can no longer interact with
the desktop?
Jul 9 '07 #24
Keep in mind that this is not the service that provides those administration
UIs. The UI is provided by a control panel application or perhaps the MMC
console etc... It doesn't prevent a UI to interact with services. It just
prevent services to "embed" a UI they would need to display on the desktopas
part of their life cycle...

--
Patrice

"jim" <ji*@yourpc.edu a écrit dans le message de news:
RV************* *****@bignews7. bellsouth.net.. .
>
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f6******** **@south.jnrs.j a.net...
>jim wrote:
>>I thought that I read somewhere that services don't (or can't) have
forms.

They can probably /have/ them, but work on the assumption that no-one
will ever be able to get to /see/ them.

The ability for Services to "interact with the desktop", i.e. to display
forms and dialogs, is going to /disappear/ in future versions of Windows
(if it hasn't already, with Vista).

How will the services be administered if they can no longer interact with
the desktop?


Jul 9 '07 #25

"jim" <ji*@yourpc.edu wrote in message
news:RV******** **********@bign ews7.bellsouth. net...
>The ability for Services to "interact with the desktop", i.e. to display
forms and dialogs, is going to /disappear/ in future versions of Windows
(if it hasn't already, with Vista).

How will the services be administered if they can no longer interact with
the desktop?
How will the admin screen work if the service starts before a user is logged
in?

At the simplest level, you can have a seperate admin program that saves all
the required settings into the registry, then offer to restart the service.
The service will pick up the changes as required. (don't even need to
restart it if it reads the settings at each operation)

Jul 9 '07 #26

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
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9571
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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
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
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.