Solved

Stop pop up windows??

Posted on 2000-03-14
8
121 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal reports - Formula Field code need assistance with code 17 75
Spell Check in VB6 13 114
Added a column screws up code 5 58
MsgBox 4 61
Read about why website design really matters in today's demanding market.
Online promotion is consistently becoming more important for all types of businesses. From Facebook ads to search engines to YouTube videos, there are all sorts of channels that can effectively be used to promote a business or product. But how shoul…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 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