Jump to content

block IP address

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Habbeb

Habbeb

    Newbie

  • Members
  • Pip
  • 6 posts
high
how block of IP addresses for some websites by use vb6
thanks

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I'm not clear on what you're trying to block. Do you mean prevent an application from reaching a particular site, or something else?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Habbeb

Habbeb

    Newbie

  • Members
  • Pip
  • 6 posts
thank you WingedPanther
I want program vb6 for prevent some websites such as sex websites
when I type this website in internet explorer I want program close internet explorer or not open such as firewall
thank you
please WingedPanther help me

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Since I don't know VB at all, my help will be somewhat limited. Creating a service that modifies the hosts file to point certain sites to 127.0.0.1 would do the trick, however.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Corky

Corky

    Learning Programmer

  • Members
  • PipPipPip
  • 35 posts
i havnt used vb6 in many years but..

like WingedPanther suggested you could edit your hosts file either manually or by using a program.

im on a vista machine so my hosts file is in c:\WindowsXP i can't remember where it is on a xp.

i would suggest searching for 'vb6 IO' on how to read and write to files.

sorry im not much help with vb6 anymore.

#6
Habbeb

Habbeb

    Newbie

  • Members
  • Pip
  • 6 posts
thanks for all
thanks thanks

please but anyone know any website contain firewall program by use vb6 send it me

Edited by WingedPanther, 19 March 2009 - 07:24 AM.
Double post