General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>Ok, it's Friday. Must be why I can't see the forest...
>
>I can programmatically pass information correctly to a bluetooth device using this format (the format is the bluetooth device's programming language syntax):
>
>lnBytes = thisform.zOcx.Send([! U1 GETVAR "bluetooth.authentication"]+CHR(13)+CHR(10))
>
>That succeeds. However, if I type
>
>! U1 GETVAR "bluetooth.authentication"
>
>in a textbox and try this:
>
>lnBytes = thisform.zOcx.Send(thisform.text1.value+CHR(13)+CHR(10))
>
>it fails. So does passing single quotes or square brackets. I need to pass a value INSIDE double quotes taken from a value typed in the textbox and pass the double quotes in the string. Any ideas? What obvious thing am I missing this time? :o)
lnBytes = thisform.zOcx.Send("["+alltr(thisform.text1.value)+"]"+CHR(13)+CHR(10))
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only