My VB program is more or less a data entry application. I have ten fields on a third party web page that I want to fill using a String placed on the clipboard. I get a TitleNumber (TNtext) from the ClipBoard. I get a preFix, usrName and imageCount from a VB screen. The logic adds standard values for two other fields and date/time for four fields. I want to string this all together and put it on ClipBoard.Text so that the user can then go to the first of ten fields, hit Ctl-v and have all ten fields filled in.
I tried using vbTab to tab from one field to the next, but when I pasted the long string into the field, everything was output into that one field.
partOne = fullTNtext + vbTab + "Family History Library" + vbTab + usrName + vbTab + "MS"
partTwo = vbTab + dateTime + vbTab + vbTab + dateTime + vbTab + vbTab + imageChr
partTree = vbTab + usrName + vbTab + dateTime + vbTab + vbTab + dateTime
clipText = partOne + partTwo + partTree
Clipboard.SetText(clipText)
This is the code I've tried so far. I pasted the string into a Word page (with special-characters turned on) and everything was there, including tab characters. But it seems that the tab characters get converted to spaces when pasting into a webpage field.
BTW: my VB program is on a client PC, not the web server...