dcsimg
Results 1 to 6 of 6

Thread: How to connect vb6 with a gps API

  1. #1

    Thread Starter
    Registered User
    Join Date
    Feb 2019
    Posts
    1

    How to connect vb6 with a gps API

    Halo everyone. I'm a new member here and this is my first post. So forgive me for any mistake that I made.

    Can someone give me an example of creating a very simple car-gps application with vb6. I mean, I've got a gps Api, and how can I create a basic application, ex : locating current car location.

    Thanks in advance.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    33,136

    Re: How to connect vb6 with a gps API

    I moved the thread over to the VB6 forum on the principle that the question is as much VB6 as networking, and the VB6 knowledge is concentrated here.
    My usual boring signature: Nothing

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    19,623

    Re: How to connect vb6 with a gps API

    Well wouldn't you just call the API asking for the current location and get it back as the result?

  4. #4
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    1,583

    Re: How to connect vb6 with a gps API

    Quote Originally Posted by dilettante View Post
    Well wouldn't you just call the API asking for the current location and get it back as the result?
    Don't forget to ask nicely (aka using correct Parameters/Arguments)....
    One System to rule them all, One IDE to find them,
    One Code to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    For health reasons i try to avoid reading unformatted Code

  5. #5
    New Member
    Join Date
    Feb 2019
    Posts
    1

    Re: How to connect vb6 with a gps API

    I write marine software and I've always just grabbed the GPS sentences from a serial port and then just decoded the NMEA 0183 strings. You can find most of what you need to know about decoding the different messages at http://aprs.gids.nl/nmea/ but the $GPRMC mesage gets you most of what you need Latitude, Longtude, Speed over ground etc.

  6. #6
    Hyperactive Member
    Join Date
    Jun 2015
    Posts
    283

    Re: How to connect vb6 with a gps API

    when you say car-gps software what operating system and hardware are you using?

    A windows 10 tablet would work, Android, UConnect, or raspberry PI would be a different language.

    If you search "open source gps" you may also find a project you could start from and modify to your needs.
    I would start my question with what software and hardware will get me the closest to my goal from the start.

    The time spent learning a different language could be the same as writing something from scratch.
    Last edited by dz32; Feb 16th, 2019 at 10:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width