Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2006
    Posts
    13

    Databases in AMS?

    hello,

    I want to make a basic phonebook with AMS, is that possible? I want to get data with inputs an save them in to a file. Then I want to seach in my "database" for datas and show them. I have a bit mysql expirience, but i want to use an offline database or a text file etc.

    A mysql query like like this, how can i do it with AMS? Can i use something else then mysql?

    Code:
    mysql_db_connect("localhost","username","pwd");
    mysql_select_db("my_database");
    
    mysql_query("SELECT * FROM foobar...");
    or
    mysql_query("INSERT INTO foobar...");
    )

    thanks

    PS: I know my english rox :-P

  2. #2
    Join Date
    Nov 2005
    Location
    Banned by moderator.
    Posts
    264
    You can use the SQLite tabase or XML files or anything you want.

  3. #3
    Join Date
    Apr 2006
    Posts
    13
    thanks i will try

  4. #4
    Join Date
    Oct 2005
    Location
    MI
    Posts
    524
    Here's an example that other users of this forum have worrked up...

    http://www.indigorose.com/forums/sho...t=sqlite+phone
    Yeah right. Who's the only one here who knows the illegal ninja moves from the government?

    ()))))))))o)))))))==============================================

  5. #5
    Join Date
    Apr 2006
    Posts
    13
    looks really interesting..I will download it now.


    thanks
    Last edited by n00bz; 04-13-2006 at 10:02 AM.

  6. #6
    Join Date
    Dec 2003
    Posts
    891
    If you have a lot (or just big) of vid-audio-image files, building to an exe may cause performance issues as the whole exe will have to be unzip to a temp folder. I have a decent system and 80-90MB is about all I can stand at runtime.
    You can encrypt them, but they will have to be unencrypted to a temp folder and are accessible as long as the project is open, or you call a file delete action in the script. Same with passworded Zip actions.
    Renaming the resource (AutoPlay folder) will hide them, but they are still accessible if the user knows how it's done.
    You can only make it difficult for a leech to get the files, but you won't stop everyone.
    I kinda figure that if someone is going to the trouble above to get my stuff, then I've made a decent application.

  7. #7
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    You have to look at the Mysql database as a lot of the servers will not let you connect from outside of the localhost.

  8. #8
    Join Date
    May 2005
    Posts
    1,115
    Yeah.

    An there is a guide to connect to an online MYSQL server from APMS somewhere on this board!
    Never know what life is gonna throw at you.
    (Based on a true story.)

  9. #9
    Join Date
    Apr 2006
    Posts
    13
    @ Roboblue

    My project are only 20-30 MB I think it not matter.
    Yes you right, its not a good idea to hide them, because the people can still access them.

    @ bobbie, bule

    To connect mysql with AMS is not a good idea, because everybody can read the config files and can connect to the database. Thats why I want to use an offline database. SQLite looks interesting, but a bit complex. I need a bit more expirience..

  10. #10
    Join Date
    May 2005
    Posts
    1,115
    Well it's not that complex. It's actually very simple once you get your hands on it. It helps making your application much simpler and cleaner.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  11. #11
    Join Date
    Dec 2003
    Posts
    891
    It's kinda confusing at first, but not as complex as Mysql (hence the name SQLite). I have been using AMS since Version 3 (back in 96-97, I believe) and have always used text files for hard data storage for AMS. Now, I use SQLite for everything.

  12. #12
    Join Date
    May 2005
    Posts
    1,115
    Quote Originally Posted by Roboblue
    Now, I use SQLite for everything.
    True. Except for some minor settings which .ini handles just fine.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  13. #13
    Join Date
    Oct 2005
    Posts
    13

    Grin

    Quote Originally Posted by Roboblue View Post
    It's kinda confusing at first, but not as complex as Mysql (hence the name SQLite). I have been using AMS since Version 3 (back in 96-97, I believe) and have always used text files for hard data storage for AMS. Now, I use SQLite for everything.
    what about cyrillic support in that plugin? We are already tired to sort out this question. Could you advise the way how to use it?

  14. #14
    Join Date
    Oct 2009
    Location
    Merton, United Kingdom
    Posts
    684
    I prefer JavaScript Object Notation but I wouldn't use it for a database.

Similar Threads

  1. AMS project distribution
    By vadim in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 01-28-2005, 02:28 AM
  2. Easy ActiveX/COM use for AMS
    By SRJ in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 09-07-2004, 05:05 PM
  3. Dual Format AMS autorun CD/VCD
    By tviman in forum AutoPlay Media Studio 5.0
    Replies: 9
    Last Post: 04-12-2004, 02:20 PM
  4. Pop-up window in AMS 5
    By Lee_Benson in forum AutoPlay Media Studio 5.0
    Replies: 9
    Last Post: 12-25-2003, 06:43 AM
  5. (( Right Click Properties Version infomation
    By GraphiX2003 in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 02-10-2003, 01:15 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