VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This smart sample of code will allow users to detect when another application has finished. Instead

by Simon J Smith (2 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Wed 1st November 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This smart sample of code will allow users to detect when another application has finished. Instead of using comprehensive API, it is possible

Rate This smart sample of code will allow users to detect when another application has finished. Instead




on error goto errhand
begin:
a=shell("winword.exe",1) ' Depends on where the executable file is.

Appactivate "Microsoft Word - Document 1"
Msgbox "Microsoft Word Has Loaded!"
Exit Sub

errhand:
Goto Begin



Download this snippet    Add to My Saved Code

This smart sample of code will allow users to detect when another application has finished. Instead Comments

No comments have been posted about This smart sample of code will allow users to detect when another application has finished. Instead. Why not be the first to post a comment about This smart sample of code will allow users to detect when another application has finished. Instead.

Post your comment

Subject:
Message:
0/1000 characters