Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 41

Thread: Telematics.net

  1. #11
    Clover Grayscale's Avatar
    Join Date
    May 2004
    Location
    Arkansas
    Posts
    1,549
    You just inspired me. I could store all of my app settings in my DB instead of registry. Wow, i should go cut myself now. ::bashes head::
    CarPC install is starting to come along again...

  2. #12
    Maximum Bitrate yunusyu's Avatar
    Join Date
    May 2004
    Location
    Hollywood
    Posts
    715
    would you be up for making animation clips in between screens...
    ie:
    1.click on dvd button (dvd button has word DVD over a DVDdisk)
    2. that disk twists and expands into the viewer, and zooms unitll a new menu pops up.

    i am just wondering if you or anyone really wanted to start an interface with animations?

    DICE
    DICE Los Angeles
    ]

  3. #13
    Whistle Tip pimpJ's Avatar
    Join Date
    Apr 2004
    Location
    Metro, TX
    Posts
    523
    this looks awesome
    I consider that our present sufferings are not worth comparing with the glory that will be revealed in us.

    www.neoterikos.com

  4. #14
    Newbie
    Join Date
    Oct 2004
    Location
    Long Island, NY
    Posts
    2
    Lookin' good!

    I've been doing a lot of VB.NET projects over the last year and a half or so -- while there are a few drawbacks vs. VB6, the enormous benefits definitely outweigh the drawbacks. Everything works smoother and easier, and the UI improvements within the VS.NET IDE itself (e.g. much better, dynamic Intellisense) are quite useful.

    I had actually started work on an app for music, nav, etc., but maybe I'll wait until you post up some of your files to resume work on the UI sections. The weather data seems interesting.

    What are you using for music playback? (I'm using WMP9 in my app) And for the UI, are you using DX?
    --ABakshi (A+, MCSE, MCT, CCNA, CCNP, CCDA, CCDP)

    TechAutos.com (down for upgrades)

    Via M10000N Mini-ITX ////

  5. #15
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    Hey everyone, I'd first like to anwser a few questions:

    I was going to use windows registry and .Net built in functions to save my applications working state (i.e. is it playing a song, or was the gps software running. They way we normally do things to remember settings) I've found it SO much easier to tie everything into the database that my media files are going to be stored in..

    In fact every media file is just going to be a class that has intrensic controls within itself. (i.e. it plays it self, knows its own working state) In the database, the working media file will have a field called "playing" and "position" only one song in the audio table of the database will have playing=true So when the ignition is cut from the carputer and power is lost to the system.. It will easily be able to recall what it was doing.

    When the software starts, it goes to the GUI table in the database (code posted above) It checks the database to figure out what was opened. Then an event handler goes ahead and opens each feature in my software.

    Each feature, then calls its own table of settings in the database (via SQL) and remembers what it was doing before the ignition was cut.

    Whats your thoughts about doing this through database ?? I really think it streamlines the coding a hell of a lot better.
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

  6. #16
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    Now here's some goodies:

    Yall need MSIntet control. (ya, ya, you could use winsock.. but wait till you see how easy it is to use Inet)

    Q. What is Inet ?
    A. It's a control that is similiar to winsock (used to communicate to other computers through a PC's Virtual ports.) Inet can recieve HTTP, FTP even through a proxy connection. For you programmers, think of it has a friendly way to do the same basic stuff winsock can (with limited features)


    ok, open a .net new windows project. in the toolbar right click on (Components) and search for (COM components) (yes, inet was designed for VB6) Once, Inet shows up in the components toolbar add it to Form1. Add this code to a button:

    change image_and_directory to "C:\img.jpg"
    change URL = "http://image.weather.com/images/maps/current/cur_cen_720x486.jpg"

    Code:
            Dim bytedata() As Byte
    
            Dim fs As New FileStream(image_and_directory, FileMode.Create)
            Dim w As New BinaryWriter(fs)
    
            '*
            'Ok, we've declared the filestreams and opened the binarywriter. 
            'Lets get some work done now
            '*
    
    
            '*
            'Tell Inet to get my file (which should be in the URL)
            '*
    
    
            bytedata = Inet.OpenURL(URL, 1)
    
    
            w.Write(bytedata)
    
            '*
            'Yup, write my data and close streams!
            '*
    
    
            w.Close()
            fs.Close()
    I should mention at this point the URL is 1 of 81 maps created my weather.com (I have a list of ALL the static urls that are update by weather.com by the minute) I will also post more code.. so we can all writ our own weather map retreiving software !!
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

  7. #17
    Clover Grayscale's Avatar
    Join Date
    May 2004
    Location
    Arkansas
    Posts
    1,549
    good stuf but im a vb6'er. i'm interested in the static map list tho! i'll figure out the weather thing later, still got more stuff to do on my software first!
    CarPC install is starting to come along again...

  8. #18
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    I posed the static map list in developer resources as a data base file.

    DB of Static Maps
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

  9. #19
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Quote Originally Posted by IntellaWorks
    Hey everyone, I'd first like to anwser a few questions:

    I was going to use windows registry and .Net built in functions to save my applications working state (i.e. is it playing a song, or was the gps software running. They way we normally do things to remember settings) I've found it SO much easier to tie everything into the database that my media files are going to be stored in..

    In fact every media file is just going to be a class that has intrensic controls within itself. (i.e. it plays it self, knows its own working state) In the database, the working media file will have a field called "playing" and "position" only one song in the audio table of the database will have playing=true So when the ignition is cut from the carputer and power is lost to the system.. It will easily be able to recall what it was doing.

    When the software starts, it goes to the GUI table in the database (code posted above) It checks the database to figure out what was opened. Then an event handler goes ahead and opens each feature in my software.

    Each feature, then calls its own table of settings in the database (via SQL) and remembers what it was doing before the ignition was cut.

    Whats your thoughts about doing this through database ?? I really think it streamlines the coding a hell of a lot better.
    Object persistence via a database is nothing new and sounds like a reasonable design decision. I'm not sure your class design is the most efficient. I prefer to keep my classes as close to reality as possible. In the real world, a song doesn't play itself. That's a method of a mediaplayer. Let your player class maintain which song is currently playing. You can persist that in your database and save a the space you would otherwise waste in keeping this value stored with each song -- as you said, only one of them will ever be marked true anyhow.

    Keep up the good discussion.

  10. #20
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    Thanks, I've actually done it the way you had described I'm just going to test to see how an intrensic audio class (that plays it self) is gunna work.. I'm just curious to see if this will be beneficial or not, beleive me I can already see a ton of problems but I'm just playin with stuff.

    To be honest I was thikning of making an audio base class then derrive inhertied classes under that. The base class would almost just do the basic play pause stop.. Everything else would be derrived off of that.

    Any thoughts ??
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

Page 2 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

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