Results 1 to 20 of 20

Thread: Restricting Websites

Hybrid View

  1. #1
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Restricting Websites

    Using the HOSTS file might not be the best idea, but atleast this trick works with any browser or internet enabled application.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  2. #2
    Lively Member
    Join Date
    Aug 2007
    Posts
    91

    Re: Restricting Websites

    Quote Originally Posted by iPrank
    Using the HOSTS file might not be the best idea, but atleast this trick works with any browser or internet enabled application.
    thank you so much such for your guidance and this is very nice solution.but my intention behind this is how to peek in to other application.means how to fetch data from the other application(like mozilla or other windows application).and i know that it is possible coz every thing in windows is just a class and it is possible with windows api.but i need little guidance from you guy. any book name or article which can help me out.
    so any kind of help in that direction?????
    Last edited by bhavin12300; Apr 27th, 2008 at 03:20 AM.

  3. #3
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Restricting Websites

    Hi.
    You can try to use this API and then handle the id of the application to get the class names.

    Private Shared Sub GetClassName(ByVal hWnd As System.IntPtr, _
    ByVal lpClassName As System.Text.StringBuilder, ByVal nMaxCount As Integer)



    Originally Posted by sapator
    The class is MozillaUIWindowClass.
    Ok but you have to handle it's url textbox, which is ???
    i didnt understan what you wanted to say.can you tell me in detail???????
    I thought that the url textbox of mozilla has a name so you can use it in sendmessage like internet explorer but apparently it hasn't.

  4. #4
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Restricting Websites

    Quote Originally Posted by bhavin12300
    but my intention behind this is how to peek in to other application.
    Firewalls do that, but I have no idea how to achive this. If you find any open source firewall, that might help. But I think C++ would me better choice for this.

    how to fetch data from the other application(like mozilla or other windows application).and i know that it is possible coz every thing in windows is just a class and it is possible with windows api.
    A app may not have any windows at all or it might be a service or a spyware.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width