Open string in edit control with another software
-
I want to show the data in edit control with Notepad or Microsoft Excel. Anybody know how to write the code
-
I want to show the data in edit control with Notepad or Microsoft Excel. Anybody know how to write the code
-
Write the data in the Edit control to a file. Open the file with Notepad using WinExec.
Akkott
-
I want to show the data in edit control with Notepad or Microsoft Excel. Anybody know how to write the code
Do you want insert datas to editbox on Notepad?
_**
**_
WhiteSky
-
::ShellExecute(NULL,NULL,_T("Test.txt"),NULL,_T("C:\\MyProjects"),SW_SHOW); From above The system will run Test.txt in C:\MyProject. Normally it use Notepad. If I want to use Microsoft Word or Excel to run this file. How to write the code?
Max++ wrote:
If I want to use Microsoft Word or Excel to run this file. How to write the code?
You can still use
ShellExecute()
, but you'll need to explicitly indicate that word.exe or excel.exe is to be used.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb