Vista prompting for internet access blues

  • Thread starter Thread starter Joe
  • Start date Start date
J

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
 
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?
 
Hi,

Joe said:
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
 
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.
 
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
 
Joe said:
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.
 
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/archive/2006/04/06/568563.aspx


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
Steven Cheng said:
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/archive/2006/04/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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top