Ask a Question

showing error tkn error

subhram_sahoo
Occasional Contributor

showing error tkn error

Aliases.Eugenus_CTC_Utilities_SecsTestApp.HwndSource_MainWindow.MainWindow.textBoxMsgToSend.Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] "00000050">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */")

In above the red value want take . but its showing error. How to handle this and take as input

3 REPLIES 3
rraghvani
Trusted Contributor

If you want to enter a quotation character, then you need to add two quotation characters in a string e.g.

 

Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] ""00000050"">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */");

 

or use \"

 

Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] \"00000050\">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */");

subhram_sahoo
Occasional Contributor

Already Tried but in application its showing only 00000050

 

rraghvani
Trusted Contributor

The second example includes quotes,

rraghvani_0-1675857907025.png

 

cancel
Showing results for 
Search instead for 
Did you mean: