Skip to main content
BlueMix free trial
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Generic Notes Developer 11.Jul.07 12:27 PM a Web browser
Domino Designer 6.5.3 Windows XP


Use the example direct from the help, in a hotspot text action, gives error illegal function call, as does my version below, any ideas:
Sub Click(Source As Button)
' Use Shell to open the Windows Notepad, then SendKeys to send
' a note entered by the user to Notepad. The user can continue
' composing the note and use Notepad to save it as
' a text file.
WriteNote ' Call the WriteNote sub.
End Sub



Sub WriteNote
Dim taskId As Integer, note As String
'note$ = "Enter the information below:"
taskId% = Shell("notepad.exe", 1)
Sendkeys "{Enter the ROW_ID's (obtained by Using Help > About Record in Siebel) below:}"
End Sub

Or the one from the help (I've never, ever got this to work):
' Use Shell to open the Windows Notepad, then SendKeys to send
' a note entered by the user to Notepad. The user can continue
' composing the note and use Notepad to save it as
' a text file.
Sub WriteNote
Dim taskId As Integer, note As String
note$ = InputBox("Start your note:")
taskId% = Shell("notepad.exe", 1)
SendKeys note$, TRUE
End Sub
WriteNote ' Call the WriteNote sub.






SendKeys (Generic Notes D... 11.Jul.07)
. . RE: SendKeys (Jason S Crawfor... 11.Jul.07)
. . . . RE: SendKeys (Generic Notes D... 12.Jul.07)
. . . . RE: SendKeys (Joseph A Dinda 3.Jul.08)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite