473,473 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Vista prompting for internet access blues

Joe
Every time our application starts it prompts the user to allow it access to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?

Thanks,
Joe
Mar 6 '07 #1
9 1226
On Mar 6, 10:37 am, "Joe" <jbassk...@noemail.noemailwrote:
Every time our application starts it prompts the user to allow it access to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?
That would defeat the purpose of the prompt, wouldn't it?

Mar 6 '07 #2
Hi,

"Joe" <jb*******@noemail.noemailwrote in message
news:Ow****************@TK2MSFTNGP02.phx.gbl...
Every time our application starts it prompts the user to allow it access
to the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?
No, it would defeat its purpose in the first place.

What you can do is instruct the user to allow your program to access
internet.

You may get a better answer from a Vista NG
Mar 6 '07 #3
Joe
I guess I probably shouldn't have been a little more clear. I was wondering
if the application had a signature or something that says this is authentic
that Vista wouldn't prompt the user.

I pretty much knew there was nothing we could do.

Thanks guys.

"Andy" <an***@med-associates.comwrote in message
news:11**********************@c51g2000cwc.googlegr oups.com...
On Mar 6, 10:37 am, "Joe" <jbassk...@noemail.noemailwrote:
>Every time our application starts it prompts the user to allow it access
to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?

That would defeat the purpose of the prompt, wouldn't it?

Mar 6 '07 #4
On Tue, 6 Mar 2007 10:37:56 -0500, "Joe" <jb*******@noemail.noemail>
wrote:
>Every time our application starts it prompts the user to allow it access to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?

Thanks,
Joe
Can you make it only check every fifth (or whatever) time it is fired
up, or just check once a month?

rossum

Mar 6 '07 #5
"Joe" <jb*******@noemail.noemailwrote in message
news:Ow****************@TK2MSFTNGP02.phx.gbl...
Every time our application starts it prompts the user to allow it access to the internet
because our application is checking for updates. Is there anyway programically to tell
Vista to allow this connection without prompting the user?

Thanks,
Joe

What prompt are you talking about, is this a consent prompt? What kind of application is
this?
I see no reason why there would be a prompt to connect to the internet.

Willy.

Mar 6 '07 #6
Hi Joe,

As other members have mentioned, due to the design of UAC security, an
application can not programmatically suppress such UAC prompt without user
interactive(select to run as administorator privilege at begining).

So far for application hosted on vista, if it need to access many
restricted resource, you can consider add a manifest to demand the
privelege level (so that UAC will prompt for admin privilege at the
begining):

#How To: Tell Vista's UAC What Privelege Level Your App Requires
http://channel9.msdn.com/Showpost.aspx?postid=211271

#Adding a UAC Manifest to Managed Code
http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 7 '07 #7
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:KK*************@TK2MSFTNGHUB02.phx.gbl...
Hi Joe,

As other members have mentioned, due to the design of UAC security, an
application can not programmatically suppress such UAC prompt without user
interactive(select to run as administorator privilege at begining).

So far for application hosted on vista, if it need to access many
restricted resource, you can consider add a manifest to demand the
privelege level (so that UAC will prompt for admin privilege at the
begining):

#How To: Tell Vista's UAC What Privelege Level Your App Requires
http://channel9.msdn.com/Showpost.aspx?postid=211271

#Adding a UAC Manifest to Managed Code
http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
I don't think that the "internet" is considered a "restricted resource".
I don't know exactly how the OP is checking for updates, IMO the elevation prompt is the
result of local resource access.

Willy.
Mar 7 '07 #8
Joe
This helps. Thanks.

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:KK*************@TK2MSFTNGHUB02.phx.gbl...
Hi Joe,

As other members have mentioned, due to the design of UAC security, an
application can not programmatically suppress such UAC prompt without user
interactive(select to run as administorator privilege at begining).

So far for application hosted on vista, if it need to access many
restricted resource, you can consider add a manifest to demand the
privelege level (so that UAC will prompt for admin privilege at the
begining):

#How To: Tell Vista's UAC What Privelege Level Your App Requires
http://channel9.msdn.com/Showpost.aspx?postid=211271

#Adding a UAC Manifest to Managed Code
http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.



Mar 8 '07 #9
You're welcome Joe,

If you have any other question or anything else we can help, please feel
free to discuss here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 8 '07 #10

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

Similar topics

9
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both...
18
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web...
1
by: CATraveler | last post by:
I’m unable to access my new laptop Vista files on a LAN from my XP desktop. The message is access denied you might not have permissions to use the network resource. Vista file permissions are set to...
1
Ranger
by: Ranger | last post by:
Hi guys, Im new to this site and to vista, but the more I get into it the more I love it. Ok.. to start off I'll give you the spec's: Com with internet Dell e521 Windows Vista Business USB...
3
by: pippyn2 | last post by:
I've read several posts on the topic, but not found any answers. Her'esmy problem: Originally had two XP machines on home network (wired) called MSHOME. Worked dandy. Both pcs could access...
1
by: pavanG | last post by:
The following is the setup I have at home. The problem is I cannot ping Vista machine(192.168.2.5) from XP machine(192.168.2.2) So accessing it from Internet is Out of question My aim is to...
1
by: Alex | last post by:
Hello everybody, I've been working for days on a "twilight zone" bug and I can't make any sense of it. This is in an application that was developped on XP and that was modified to handle Vista....
1
by: mushroom | last post by:
Hi Everyone, I have a problem connecting windows vista with windows XP. I have a laptop running Windows Vista 32 bit and a desktop running Windows XP with Service Pack 2. They are both...
1
by: poe | last post by:
Hello, I have a Windows Vista 64-bit machine that has 2 gigabit Ethernet ports as well as a wireless card. I am currently connecting to the Internet via the wireless card. I also have an Ubuntu...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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,...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.