Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 12th, 2006, 11:30 AM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 294
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Download Blocker Finished - Random Text in Window Title?

Hello, it's been awhile since ive been here with school and all, but anyways. As some of yall may remeber i was makign a Download Blocker a couple months back. It is finished http://www.teamaando.com/DownloadBlocker.zip
Right now it only works in IE but im making it avaliabel for Firefox Opera and Avant in the Pro Edition im making right now.

I have a few Questions first though:
When i made it for IE it was simple becasue i made it block Window Class #32770 with the Window Title of File Download.

But in Firefox the Window class is #32770 Window Title "Opening (name of file trying to download)

I dont kjnow hwo to make it where it will block it since the window Title is always changing . So i need some help there.

Thank you,
Seth Hall
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

We all make mistakes. If it doesn't kill us, it will make us stronger. If it does kill us, then it's to late, but it was a great ride while it lasted. - Seth Hall
bigguy is offline   Reply With Quote
Old Jan 13th, 2006, 1:05 PM   #2
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 294
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
What about if i use

Function Find_Download()
Find_Download = FindWindow(#32770, NULL)
End Function


and then use GetWindowText and if the Window text has one word matching the GetWindowText in code then it blocks it like that?
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

We all make mistakes. If it doesn't kill us, it will make us stronger. If it does kill us, then it's to late, but it was a great ride while it lasted. - Seth Hall
bigguy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:39 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC