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

Problem adding NotePad to Form

Status
Not open for further replies.

CactysJack

Programmer
Nov 5, 2002
45
US
Weird problem. I have a more or less finished split database which is working well. I want to add a command button for the NotePad application which should be easy to do. But when I add it I get an "Invalid Data" warning and an error message when I try to use it. Also the other command buttons stop working and I get the same error message. Any ideas?

I have the back-end Read-Only but it doesn't seem like that would hurt.

TIA,

John
 
I would be inclined to use code something like the following as an easy way of launching Notepad from a command button's OnClick event:

Code:
Dim RetVal
RetVal = Shell("notepad", 1)
[pc2]
 
Thanks MP9,

I'll gie it a try and let you know. I have installed the NotePad command button the easy way on a near duplicate application which was not yet split and it worked fine.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top