Indigo Rose Software
  #1  
Old 08-29-2002
cchian cchian is offline
Forum Member
 
Join Date: Apr 2001
Posts: 92
Detecting Proxy settings

Is there a way to detect the proxy settings address and port number?
  #2  
Old 08-29-2002
Derek's Avatar
Derek Derek is offline
Indigo Rose Customer
 
Join Date: May 2001
Location: 51.501296|-2.700963
Posts: 1,206
Re: Detecting Proxy settings

Hi - sure (without looking) there's a GetProxySettings somewhere!
__________________
-
- Derek
- ["All glory comes from daring to begin" - fortune cookie]

IR WebHelp: AMS6 SUF7 VP2 TU2
  #3  
Old 08-30-2002
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Re: Detecting Proxy settings

Use a "Dialog - Get Proxy Settings" action to get the info. [img]/ubbthreads/images/icons/smile.gif[/img]
__________________
--[[ Indigo Rose Software Developer ]]
  #4  
Old 08-30-2002
cchian cchian is offline
Forum Member
 
Join Date: Apr 2001
Posts: 92
Re: Detecting Proxy settings

I can get the dialog to pop-up, but the values are blank as if asking to manually enter the info. I must be doing something wrong.
  #5  
Old 08-30-2002
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Re: Detecting Proxy settings

Exactly. The dialog is meant to prompt the user for those settings.

If you want to get them automatically, you can try getting the information from the Registry (you might be able to gather it from IE's connection settings?), but I don't believe it will always be available that way.
__________________
--[[ Indigo Rose Software Developer ]]
  #6  
Old 08-30-2002
cchian cchian is offline
Forum Member
 
Join Date: Apr 2001
Posts: 92
Re: Detecting Proxy settings

Good idea Lorne, I found the registry values I wanted in the following places:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings\ProxyServer

HKEY_USERS\.Default\Software\Microsoft\Windows\Cur rentVersion\Internet Settings\ProxyServer

Do you know which one should I use?

Thanks
  #7  
Old 08-30-2002
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Re: Detecting Proxy settings

The first one.

The .Default key holds default settings for new users, and isn't as likely to be configured properly. [img]/ubbthreads/images/icons/smile.gif[/img]
__________________
--[[ Indigo Rose Software Developer ]]
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software