• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

Closing Web Pages

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
bbenkie
Asked:
bbenkie
1 Solution
 
Richie_SimonettiIT OperationsCommented:
More details, please?
0
 
dosylCommented:
ShellExecute hwnd, "open", YourSite.com, vbNullString, vbNullString, SW_SHOW
0
 
dosylCommented:
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
 
DanRollinsCommented:
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
 
kodiakbearCommented:
Moving to the Paq

kb
Experts Exchange Moderator
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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now