Solved

Stop pop up windows??

Posted on 2000-03-14
8
119 Views
Last Modified: 2013-11-28
Here what I need to know...

I am a 16 Year Old learning IT at school in Australia. Now I will be learning VB in the next few weeks. What I want to make is a program which allows people to Input certain TITLES of Internet Explorer and Netscape windows and then for the program to stop that window from poping up...

Now I know it can be done but I want to make my own program to do it. Could someone give me some basic code to work with which my IT teacher can also help me with !!!!


Thanks a bunch...
0
Comment
Question by:jasinski
  • 4
  • 4
8 Comments
 
LVL 14

Accepted Solution

by:
mcrider earned 25 total points
Comment Utility
Check out the following microsoft KB article:

HOWTO: Programmatically Close a Separate Application
http://support.microsoft.com/support/kb/articles/Q176/3/91.ASP?LNG=ENG&SA=MSDN&FR=0

Cheers!®©
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
Thanks for the points! Glad I could help!


Cheers!®©
0
 

Author Comment

by:jasinski
Comment Utility
Could I ask a few more questions..

1. How do I get the Menu Bar: File | Edit etc to link to another window or Form .... ( dont know what its all called)

2. With the link you told me to goto which worked great, it uses a Button to close the popup window, can I use some code to auto detect certain windows which are ABOUT to open and my program to stop them from opening. Each windows title must be saved into a TEXT file (or other) which people can change from my program itself...
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
For 1, Try looking at this article: http://www.vbsquare.com/articles/sysmenu/

Is 2 a question??


Cheers!®©
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:jasinski
Comment Utility
Thanks for your help and yes 2 is a question !!!

Thanks
0
 

Author Comment

by:jasinski
Comment Utility
Thanks for your help and yes 2 is a question !!!

Thanks
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
Aha!... I reread #2...

You need to put the code to look for a window in a timer event...  When the timer kicks off it scans the windows and kills the windows your'e looking for...


Cheers!®©
0
 

Author Comment

by:jasinski
Comment Utility
O That is great !!! I got it to work...


I am going to ask another question but not in this current question... If you can answer it I'd love to give you more points !!

The title of it will be "Check data in file & use it"
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Read about why website design really matters in today's demanding market.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now