Solved

Stop pop up windows??

Posted on 2000-03-14
8
120 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
 
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

932 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

10 Experts available now in Live!

Get 1:1 Help Now