?
Solved

Stop pop up windows??

Posted on 2000-03-14
8
Medium Priority
?
128 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 100 total points
ID: 2615394
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
ID: 2621758
Thanks for the points! Glad I could help!


Cheers!®©
0
 

Author Comment

by:jasinski
ID: 2622391
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 14

Expert Comment

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

Is 2 a question??


Cheers!®©
0
 

Author Comment

by:jasinski
ID: 2626701
Thanks for your help and yes 2 is a question !!!

Thanks
0
 

Author Comment

by:jasinski
ID: 2627247
Thanks for your help and yes 2 is a question !!!

Thanks
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2627530
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
ID: 2632180
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
The burden of debt that average person carries today has not only increased, but it keeps on growing. It is quite common nowadays that people find it extremely difficult to make ends meet in the face of millions of competing priorities that they hav…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

839 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