Hi,
I'll try to provide you the right solution but yet I don't exactly know what you trying to do (more information please).
Because your topic titel is "get gps info online..." I assume you want to receive gps-coordinates from a specified address through an provider like google maps. You have to use their api(s).
Please read a similar solution which I wrote yesterday, it provides you an overview of common API's for retrieving/translating/working with GPS-data to/from adresses.
Google Maps Controls with MySQL[
^]
For the case you want to extract Coordinates from a real physical GPS-Device which is normally attached with USB/RS232 to your pc, you'll need to open your Serial Port connection and read the NMEA string to extract latitude/longitude coordinates.
Mapping with a GPS and C#[
^]
http://www.gpsinformation.org/dale/nmea.htm[
^]
With Best Regards