Hello,
does anyone know how to read data from the Box text?
I am using the following code to read data from a file:
g_fileh = OpenFile ("GPSlocation.txt", VAL_READ_ONLY, VAL_OPEN_AS_IS, VAL_ASCII);
read_number = ReadLine (g_fileh, line, 500);
SetCtrlVal (panelHandle, PANEL_BESTGPSPOS, line);
DecodeGPS (line);
read_number = ReadLine (g_fileh, line, 500);
SetCtrlVal (panelHandle, PANEL_INSPVA, line);
DecodeGPS (line);
CloseFile (g_fileh);
Which command instead of ReadLine should I use for read directly from texBox?
Thank you for your help.
does anyone know how to read data from the Box text?
I am using the following code to read data from a file:
g_fileh = OpenFile ("GPSlocation.txt", VAL_READ_ONLY, VAL_OPEN_AS_IS, VAL_ASCII);
read_number = ReadLine (g_fileh, line, 500);
SetCtrlVal (panelHandle, PANEL_BESTGPSPOS, line);
DecodeGPS (line);
read_number = ReadLine (g_fileh, line, 500);
SetCtrlVal (panelHandle, PANEL_INSPVA, line);
DecodeGPS (line);
CloseFile (g_fileh);
Which command instead of ReadLine should I use for read directly from texBox?
Thank you for your help.