Solved

Closing Web Pages

Posted on 2002-03-23
5
143 Views
Last Modified: 2010-05-02
I am actually developing an application that monitors internet usage and i want to close all web pages opened as soon as the time is up. How do i go about it Guys?

0
Comment
Question by:bbenkie
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
More details, please?
0
 
LVL 1

Expert Comment

by:dosyl
Comment Utility
ShellExecute hwnd, "open", YourSite.com, vbNullString, vbNullString, SW_SHOW
0
 
LVL 1

Expert Comment

by:dosyl
Comment Utility
Forgot this:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Const SW_SHOWNORMAL = 1
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
bbenkie, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Refund points and save as a 0-pt PAQ.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Accepted Solution

by:
kodiakbear earned 0 total points
Comment Utility
Moving to the Paq

kb
Experts Exchange Moderator
0

Featured Post

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.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

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

11 Experts available now in Live!

Get 1:1 Help Now