o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How can I let my app know that an external program has ended ** -

Ok, this is what I want to do:[list=1][*]Have a bunch of files on disk and have the user select which file they want to view in a RichTextbox.[*]Have the user choose a menu item and be able to launch WordPad and automatically load the displayed text from the RichTextBox into WordPad ready for editing.[*]When the user has saved and exited WordPad, I want my app to realise this and reload the newly save text back into the RichTextBox.[/list=1] I can do steps 1 and 2, but not 3. How do I get my app to know when WordPad has exited so I can load the text back?

Thanks.

 

[2005] Checking if an external program is running -
Okay, I have a piece of code that starts an external installation program: Process.Start(programLocation) The variable programLocation may be any number of locations on the hard drive or a network resource. The program, ideally, should do its thing, and the process should then


Again: When End Isn't Enough!! -
I am trying to write a DOOM game, using VB6 Pro and I have the program still running its loops and other events like the Timer controls, when I have ended the program. How can I get all of the events and the Forms, exited or ended using code, when you have ended the program from memory


internal gps vs external gps -
Hello, I am having a bit of a problem programming for internal GPS's. I have created a free golf program that works fine for all my external GPS's, but, when a person with an internal gps comes along, my problems begin. I am just using the serialport to acquire byte value data from th


api for external connection -
Hi, I want to know how long an external connection is active or know whenever an external connection is started and when it is ended. thanks for any help.


SOLVED ** Check wheter the app I started ended -
I have made an Update program. It downloads a file from the ftp and then runs it. But now the problem is that I want to remove the file after the program has ended. So How can I start a program and then check wheter that program has ended?


Need to setfocus to external program... -
Hi all, How can I set focus to an external program if it is running? I have used the FindWindow and SetWindowPos APIs to do this in the past with other programs. FindWindow requires you have the EXACT window title, doesn't it? The problem that I have is that this new external pro


Compile with external .exe -
I am writing a simple program in VB2005 to execute an external .exe file but want to include the .exe in the compile if possible. I can make the installer create a directory and copy the external file to it and have the program execute it from that path. Is there any way to add the ext


How to know when an external program ended -
Hello to all, this is my first post in this forum. Ok here we go....I need a little help with this problem *********************************** Dim Value Value = Shell("xxxxxx.exe", vbNormalFocus) '*********************************** The above line is used by me to


enumerate syslistview32 items in VB.NET ! -
am working on a vb.net code that read a syslistview32 in external program & extract the items text using API Calls. The furthest i got was to get the count of items in the list : count = SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0) the Question is how to loop through these


AppActivate "MS-Dos-prompt", True -
When I activate a DOS program with SHELL then I become a DOS-box named "faxer" (the DOS program). During executing the DOS program the name stays as "faxer"; after the program is ended the name become's something like "ended - faxer". I like to stop the VB


CD Track Ends -
How do Know when a cd song ended. and how do i know if the last song has ended. ? I was able to play the songs but don't know how to get the event when each song has ended.


Sub in external database -
Can I write an entire subroutine in a external file then have my visual basic program run all the code within that external file? I am trying to get a program to auto-update segments of itself dynamically without having the end user download anything else, so I am thinking I could just


smart question (hard question) -
how do execute an external file? and will it wait till the process has ended before continuing (i want it to)


stupid question (easy question) -
how do execute an external file? and will it wait till the process has ended before continuing (i want it to)


Substitute/alternative for WM_LBUTTONDOWN -
Is there an alternative for WM_LBUTTONDOWN? I want my program to click the form of an external program that is on the the background(not seen in the screen). I used lngresult = SendMessage(lngGetNewTask, WM_LBUTTONDOWN, 0&, ByVal lnglparam) lngresult = SendMessage(lngGetNewTask


is my dos windows open -
from my program, i run some operation that uses a dos window. i need to run another dos operation after the first is ended. how do i know that the first operation has ended ?


Open External *.Exe -
hi all, is there any way to open an external program with a button and have the external program maximized? this is the code i have currently: '-------------------------------------- Dim RetVal RetVal = Shell("C:\Program Files\The Program.exe") '------


Check if external program is finished -
How do i check when an externally run program is finished? I have a button menu which launches programs, I want the button menu to disappear after an external program is selected, then reappear when that external program is closed. Thanks.


start external program by VB program -
Hi everyone, I have problem with monitoring process in VB. My VB program will start other VB program but i can not check if the external program has errors or works successfully. Please help me. Thank you very much.


Exiting external program, and gaining focus. -
I have a program that runs other external programs. I need a way to force the external program to close, and then give my app focus. And in some cases give my program focus in a backround kinda way... The other programs, run full screen and I would need to give my program focus or


Continue the program when wav file playback ended -
I play wav files like this: Dim SoundInst As New SoundClass SoundInst.PlaySoundFile("C:\1.wav") Is there any way to continue the program when wav file ended? Thanks, David


Finding external IP or ISP asssigned IP in VB -
I've seen this asked but never really answered. I'm working on a small VB app that will display my external IP address (the IP address assigned by my ISP and viewable to the external network or internet). I wrote a program that gets my local IP (using winsock) and emails it to my accou


Sendmessage + TAB help -
I have been on the internet for the last 6 hours trying to find the answer to my puzzling question. I am trying to send the TAB key to an external program from VB6. Basically I am trying to move from text box to text box in an external program. I've seen all the posts on sendmessag


How to get all list item from a listbox of an external program -
I want my program to get all the list item from a listbox of an external/another program and transfer it to my program's listbox. The external/another program have a two listbox and also my own program. How can I programmed it? And it is possible to automatically add item to my listbox


Running External Program Question -
hello folks, prob. a pretty easy one for someone...but i can't think of a way to do it =) i am writing a front-end [menu] that calls an external .EXE with the shell command... as in shell "ZSNESW.EXE game.zip" but i need the program to wait for the external program


launching external program -
how to launch external program from vb.net application compact framework.i'm using vs2003.


- strings - -
Hi I'm fetching data from an external program to mine. I want to be able to check if a value fetched from the external program is the same as mine. The problem is this: Program1 (External) fills up its info with empty spaces so "CAR" will be "CAR "


sizing an external program -
am i able to, when opening an external program, open it in a certain size? thanks sir nerdalot


Value pass by a VB program after ended -
Is there a way to have a program to pass out a static value after it is ended so that other program can except it to further process ? For example: ------------------------------------------------------------------------ If I would like to write a program, namely "FileExist&q


External program's position and size -
Dear All: I call an external program in my form, and how do i do to set this program's position and resize this program? Thank you very much and have a nice day


How to detect external massage box and close it -
Hi all i want to make a small program that waits for a perticuler external massagebox and once that massage box displayed it automatically close it .THe external massage box has a ok button and closing X. I be happy if some one show me how i can do this.Thanks


Loading an image, editing it externally, and returning -
I have a picture box that a user loads an image into. I want them to be able to edit it in an external program like Photoshop and then return to my app showing the newly updated image. I can launch the external app with Process.Start(FileName), but how do I get that external app to


Opening Question and Task Manager Question.. -
I have 2 questions.... 1. If i have a program running, and on the form_unload there is code written to open a folder. But, if the program is directly ended through Task Manager, the Form_Unload sub does NOT seem to be called, and the program just ends without opening a folder for th


[help] shell and wait for child programs -
ok, I need to open an external program and wait for it to finish running before my code continues... i would normally just "shell and wait" except for a slight glitch... the external program opens a secondary program and then closes itself (after some necessary actions


Terminating an external process -
I have an API call which is used to start an external program and wait until it finishes before proceeding. Here it is: Private Sub ShellAndWait(ByVal strProg As String, ByVal lStyle As VbAppWinStyle) Dim ProcessId As Long Dim ProcessHandle As Long Const Access As Long = &H


External Programs -
Hello again guys... How can I determine if an external program like word or excel is closed thanx!


open an external program -
hey i need a code to open an external program


Deactivate a private sub -
Guys, I'm new to VBA and have been writing a program which opens an external workbook before copying data and importing into my workbook. The problem is, when the external workbook is opened and i select the requisite cells i wish to copy, my code appears to be overridden and it subseq


Launch an external app -
I'm extremely new to Visual Basic (6.0 EE), and I'm building a small front end for a CD-Rom autorun program. I need to know how to launch an external program. I've been poking around, but haven't had any luck finding any reference on how to do this. Thanks for any help... D


Disabling External Links Dialog Box -
Does anybody know how to do this? Through VB, I create an instance of Excel. Then, I set the display alerts, interactive, and screenupdating properties to false. Then, I loop through my workbooks and do my processing. I'm trying to write this so it can run 100% automated (U