Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from a button

Status
Not open for further replies.

pumkinjay

Technical User
Dec 19, 2001
9
GB
can you open a windows application from a button on a form in pdox7 ???
any advice will be concidered and used
Please remember to write your anwser in a way that some one who knows less about programming than a penguin knows how much fish would costs down his local market
 
Here is the codes to open notepad from a Pdox button.

Create a button on your form
Add this statement to the PushButton method:
Execute("Notepad.exe")
That's it!

However, make sure the application you are openning does not interfer with Paradox, you could crash Pdox.

Example:
This pushbutton would open a text file, mydoc.txt, in Notepad.

method pushButton(var eventInfo Event)
Execute("Notepad.exe C:\\mydoc.txt")
endMethod
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top