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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to work with edit box and notepad

Status
Not open for further replies.

progbuild

Programmer
Apr 20, 2007
2
TH
i need the following:

1. In the form there is 2 component
a) 1 Edit Box(Edit,rich edit,memo any thing)
b) 1 Button.
2. when click on button it popup one txt file.here is the code

void __fastcall TForm1::autoshowClick(TObject *Sender)
{
ShellExecute ( Application->Handle,"open","c:\\test.txt",0,0,SW_SHOW );
}

3.Now in edit box what i write Simultaneously it show on that test.txt text file.Suppose in edit box i type P same time it also show P in that poped up test.txt file.anything what i write in edit box Simultaneously it show in the text file

4.last save that text file.

if any one pls

Best Regards
ProgBuild
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top