|
-
Apr 26th, 2008, 11:13 AM
#1
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.
-
Apr 27th, 2008, 03:06 AM
#2
Lively Member
Re: Restricting Websites
 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.
-
Apr 27th, 2008, 12:30 PM
#3
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.
-
Apr 27th, 2008, 11:20 PM
#4
Re: Restricting Websites
 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|