How to close an exe(running)
How to close an exe(running)
How to close an exe(running)
How to close an exe(running)
How to close an exe(running)
How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running)
How to close an exe(running) How to close an exe(running)
How to close an exe(running)
Go Back  Xtreme Visual Basic Talk > > > How to close an exe(running)


Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2004, 01:22 AM
shahroz shahroz is offline
Newcomer
 
Join Date: Feb 2004
Location: India
Posts: 2
Default How to close an exe(running)


I want to close a running exe from my program(VB6.0) please provide some help regarding this.

Thanks a lot
Shahroz
Reply With Quote
  #2  
Old 02-05-2004, 01:41 AM
Gruff's Avatar
GruffHow to close an exe(running) Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

Quote:
Originally Posted by shahroz
I want to close a running exe from my program(VB6.0) please provide some help regarding this.

Thanks a lot
Shahroz



Look up AppActivate and the Sendkeys in VB help.
Code:
Option Explicit 'This example closes an already open Windows Notepad session Private Sub Command1_Click() AppActivate "NotePad" ' Activate NotePad SendKeys "%FX" ' Press Alt F X (Main menu exit) End Sub
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I canceled the close button on child, but now mdi form won't close klincecum General 3 07-15-2004 01:10 PM
abort excel close event ?? Gunslinger Excel 4 12-03-2003 05:00 PM
how to make word not close until printing complete AdrianLewis Word, PowerPoint, Outlook, and Other Office Products 3 06-23-2003 09:22 AM
Makin a nice little program! Decontain Communications 3 04-11-2003 03:54 AM
how to change the behaviour of close button hemenkap General 4 10-07-2002 01:37 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to close an exe(running)
How to close an exe(running)
How to close an exe(running) How to close an exe(running)
How to close an exe(running)
How to close an exe(running)
How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running) How to close an exe(running)
How to close an exe(running)
How to close an exe(running)
 
How to close an exe(running)
How to close an exe(running)
 
-->