473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How do I change control panel settings for Web Service User Account in XP

Sorry if this is in the wrong group, I've searched long & hard without
finding anything even slightly useful. (recommendations for a more
relevant group gratefuly received)

I need to change the settings for the default web service user account
so that sounds go through a sound card rather than the on-board sound.
I can do this simply when I'm logged in to my own user account by going
through control panel. If I can't log on as the Web Service account
then I can't get to Control Panel and so can't do it the same way.

Any advice would be gratefully received.
(Web service is vb.net running under XP Pro SP2)

Nov 23 '05 #1
3 4986
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.

If you MUST write a hardware dependent algorithm, you may want to use the
SDK that comes with the sound cards themselves, rather than rely on the
generic Windows sound interface in your code. For instance, Creative has
an SDK that lets you check to see if the card is available,and manipulate
it's capabilities directly. I haven't tried this, and I would expect
direct hardware access from a web service to be prevented by the service
sandboxing security.

Again, not advisable at all.

Best of luck

Dan Rogers
Microsoft Corporation
--------------------
From: pe****@bigfoot.com
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: How do I change control panel settings for Web Service User
Account in XP
Date: 20 Dec 2004 08:08:25 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <11*********************@f14g2000cwb.googlegroups. com>
NNTP-Posting-Host: 81.144.201.214
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1103558910 22169 127.0.0.1 (20 Dec 2004
16:08:30 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Mon, 20 Dec 2004 16:08:30 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: gr**********@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=81.144.201.214;
posting-account=hPZSSAwAAADGhAEdCOYXeiopISUHKO6m
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!news.maxwell.syr.edu!postn ews.google.com!f14g2000cwb
.googlegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8207
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Sorry if this is in the wrong group, I've searched long & hard without
finding anything even slightly useful. (recommendations for a more
relevant group gratefuly received)

I need to change the settings for the default web service user account
so that sounds go through a sound card rather than the on-board sound.
I can do this simply when I'm logged in to my own user account by going
through control panel. If I can't log on as the Web Service account
then I can't get to Control Panel and so can't do it the same way.

Any advice would be gratefully received.
(Web service is vb.net running under XP Pro SP2)
Nov 23 '05 #2
Thanks a million Dan, I know it could go crazy in a multi-user scenario
but it's just for a home audio solution so there's only me. I'm not
sufficiently technical to go down the SDK route so I'll keep looking.
I've managed to get it to use the correct card by disabling the
on-board but I still need to change the default device for Audio in the
Sounds & Audio devices option..

Dan Rogers wrote:
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.
If you MUST write a hardware dependent algorithm, you may want to use the SDK that comes with the sound cards themselves, rather than rely on the generic Windows


Nov 23 '05 #3
I think you're best off with just disabling the on-board sound.

Windows, as a multi-user operating system, keeps user specific settings in
a user hive in the registry. When nobody is logged in at the console,
there IS not place where this data is kept in memory - it is built when the
user logs in and their shell establishes an interactive login.

Because a user COULD log in and try and do something while a service or
non-winstation log-in is running, in general, background processes are not
given control over the local user settings in this way. Sound settings are
user settings because people could have different volume preferences, etc.

Sorry we couldn't find an easier way than the SDK route. There may be more
windows control in Media Center - but I can't be certain (I'm a WS guy, not
a media guy!)

Dan
--------------------
From: pe****@bigfoot.com
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: Re: How do I change control panel settings for Web Service User
Account in XP
Date: 20 Dec 2004 14:52:20 -0800
Organization: http://groups.google.com
Lines: 23
Message-ID: <11**********************@c13g2000cwb.googlegroups .com>
References: <11*********************@f14g2000cwb.googlegroups. com>
<Hx**************@cpmsftngxa10.phx.gbl>
NNTP-Posting-Host: 83.216.133.252
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1103583150 29332 127.0.0.1 (20 Dec 2004
22:52:30 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Mon, 20 Dec 2004 22:52:30 +0000 (UTC)
In-Reply-To: <Hx**************@cpmsftngxa10.phx.gbl>
User-Agent: G2/0.2
Complaints-To: gr**********@google.com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=83.216.133.252;
posting-account=hPZSSAwAAADGhAEdCOYXeiopISUHKO6m
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!news.maxwell.syr.edu!postn ews.google.com!c13g2000cwb
.googlegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8227
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Thanks a million Dan, I know it could go crazy in a multi-user scenario
but it's just for a home audio solution so there's only me. I'm not
sufficiently technical to go down the SDK route so I'll keep looking.
I've managed to get it to use the correct card by disabling the
on-board but I still need to change the default device for Audio in the
Sounds & Audio devices option..

Dan Rogers wrote:
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.
If you MUST write a hardware dependent algorithm, you may want to use the SDK that comes with the sound cards themselves, rather than rely on the generic Windows

Nov 23 '05 #4

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

Similar topics

1
by: Laurence Neville | last post by:
This is regarding a change in the Short Date format under Hebrew Regional Settings, that has caused huge problems in our ASP web application. The change appears to have been introduced sometime...
2
by: Tony Meier | last post by:
I am using the WebBrowser control (Explorer.Shell.2) from within a VBA application, embedded on an MS Access form to display the contents of a local folder. By default on Windows 2000/XP the...
0
by: baso | last post by:
hello! i want to change the email-account-settings (postofficeoutputserver from the current windows-user, who is currently logged in. until yet i have tried the following possible beginnings:...
5
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
11
by: Hoku | last post by:
I am using dual monitors on a dual head ATI AGP4x video card. I installed the Nov 11 2005 release of ATI's catalyst control center with Hydravision to manage the dual monitor setup. I recently...
11
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package...
2
by: moosecallahan | last post by:
I've been hacked or invaded somehow. I am no longer the user adminstrator and the control panel is not on the start menu. I can't access the control panel to reset the user account. I am the only...
6
by: =?Utf-8?B?UGFycm90?= | last post by:
I cannot access my SQL database in a browser control created in my C# Windows application program I can, however, access the database from an IE browser. I get the ubiquitous "Login failed for NT...
2
by: =?Utf-8?B?bXVyYWRqYW1lcw==?= | last post by:
Yes, sorry I tried to make it clear in the original question that I want to get the user token of the service - ie. the account the service is running under. I know services don't have user tokens...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.