Community of VE/MapPoint Users and Developers
This is a discussion on problem while read NMEA.txt file within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Thank u very much once again.I already did this.. Code: if (text != null) { //Console.WriteLine(text); text = reader....
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Re: problem while read NMEA.txt file
Hi, Thank u very much once again.I already did this.. Code:
if (text != null)
{
//Console.WriteLine(text);
text = reader.ReadLine();
txtResults.Text = text;
} Code:
text = reader.ReadLine();
if (text != null)
{
//Console.WriteLine(text);
txtResults.Text = text;
} Thanks for yours kind help. Regards. Nasir |
| |||
| Re: problem while read NMEA.txt file
when the return value is null then you are at the end of the file. in a timer tick you can check at regularly intervals if someone has appended a line to the file. you also can do this with ReadLine, when it return null then nothing is appended, when it returns data then something is appended. note that 'something' is not necessarily a complete line, it can be part of a line also, so you have to check for that also, and if the line is not complete then wait a moment and read again.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| ||||
| Posted By | For | Type | Date | |
| Programming MapPoint in .NET - MP2K Magazine | This thread | Refback | 04-30-2008 03:16 PM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 04-26-2008 05:03 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem to open Excel file | Chiara | MapPoint 2006/2009 Discussion | 2 | 07-19-2006 06:54 AM |
| NMEA Standard | Anonymous | MapPoint 2006/2009 Discussion | 2 | 06-17-2004 01:54 PM |
| Correctly Mapping NMEA Data | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-18-2004 01:28 PM |
| nmea sentence | Anonymous | MapPoint 2006/2009 Discussion | 0 | 03-09-2004 06:36 AM |
| Import NMEA-data from a file into mappoint | Anonymous | MapPoint 2006/2009 Discussion | 2 | 11-19-2003 12:17 PM |
French Alps Ski Holidays
For French Alps ski holidays to remember visit Holiday Hypermarket. Booking is great value and simple. Pick a holiday to suit you today.
Business Travel Agent
Leading Business Travel Agent. Personal service is at the heart of our business. Talk to one of our travel agents today.
Cuba Holidays
After years of neglect by the western world, Cuba is coming back onto the holiday scene. Cuba Holidays are a unique and enjoyable experience. Book at dealchecker.co.uk.
Holidays in Cyprus
Holidays in Cyprus are enriched by the abundance of churches, ruins and natural wonders. Book a holiday with us today!
Holiday
Searching for the perfect holiday? Well check out ULookUBook online to find out all about your destination and also to book a great value holiday.
All inclusive holidays
To plan all inclusive holidays, use Travel.co.uk to explore all the possibilities.
Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal at On The Beach.