forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to use a proxy ?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
duclam1002
Newbie


Joined: 27 Dec 2004
Posts: 4

PostPosted: Mon Dec 27, 2004 6:08 pm    Post subject: How to use a proxy ? Reply with quote

How to use a proxy. I coded a program

Code:
#DEFINE COMMAND,BROWSER
  #DEFINE FUNCTION,BROWSER
  external vdsbrw50.dll

%%home = "http://millionmails.biz/Scripts/default.asp"

Title Automatic money from Bride.ru
  DIALOG CREATE,Automatic money from Bride.ru,-1,0,700,500
  DIALOG ADD,MENU,Menu,Proxy &file,&Run,E&xit
  DIALOG ADD,STATUS,STATUS1,STATUS1
  DIALOG ADD,BROWSER,BROWSER1,16,8,688,456,%%home
  DIALOG SHOW
:Evloop
  wait event
  goto @event()
:Proxy fileMENU
  goto Close 
:RunMENU
  HTTP PROXY, 217.207.156.6:8080
  dialog set,BROWSER1,%%home
  goto evloop
:ExitMENU
  goto Close
:Close
  exit


but it doesn't work, always have error with the line
Code:
  HTTP PROXY, 217.207.156.6:8080


Please help me !
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Dec 27, 2004 11:32 pm    Post subject: Reply with quote

I think the HTTP command is contained in the VDSHTTP.DLL or VDSIPP.DLL
(Not sure)

But I don't believe that it's in the vdsbrw50

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
duclam1002
Newbie


Joined: 27 Dec 2004
Posts: 4

PostPosted: Mon Dec 27, 2004 11:48 pm    Post subject: Help ! Reply with quote

I need my program can use a proxy and display a webpage.
Can anyone help ???
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Dec 28, 2004 7:44 am    Post subject: Reply with quote

try running your code without the HTTP line, i also use a proxy at home and can use VDSBRW500.DLL without worrying about proxies

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Dec 28, 2004 11:37 am    Post subject: Reply with quote

Since the BROWSER element is an instance of Internet Explorer, I expect that it automatically uses the IE proxy settings.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Dec 28, 2004 2:24 pm    Post subject: Reply with quote

I agree with Jules. You will need to figure out how to set the proxy properties
for IE .. I think

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
duclam1002
Newbie


Joined: 27 Dec 2004
Posts: 4

PostPosted: Tue Dec 28, 2004 8:52 pm    Post subject: Help ! Reply with quote

But I need a program that can change proxy..

Thanks
Back to top
View user's profile Send private message
bbelcher
Contributor
Contributor


Joined: 30 Jul 2002
Posts: 172

PostPosted: Tue Dec 28, 2004 9:02 pm    Post subject: Reply with quote

You can you change the proxy in the registry run your program then change it back. This will affect IE wile your program runs.

Link to registry location

http://www.computing.net/windows2000/wwwboard/forum/60689.html

On my XP Pro system it's at this key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

What I would do is set the proxy in IE then check out the values in the following key.
Back to top
View user's profile Send private message
duclam1002
Newbie


Joined: 27 Dec 2004
Posts: 4

PostPosted: Wed Dec 29, 2004 2:56 am    Post subject: Thank you Reply with quote

Owwwh, great !
bbelcher, Thank you very much
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group