Improve company productivity with a Business Account.Sign Up

x
?
Solved

Closing Web Pages

Posted on 2002-03-23
5
Medium Priority
?
158 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
ID: 6891079
More details, please?
0
 
LVL 1

Expert Comment

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

Expert Comment

by:dosyl
ID: 6891369
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
ID: 7634284
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
ID: 7666190
Moving to the Paq

kb
Experts Exchange Moderator
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
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…
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…

579 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