PDA

View Full Version : 3 questions



lnd
11-05-2005, 09:43 AM
1. is it DATAGRID plug-in for asm6
2. i need to no if i can use visual basic 6 dll's or ocx in asm6
3. is it plug-in thet connect to access database

Worm
11-05-2005, 09:12 PM
1. Yes the DataGrid plugin is compatible with version 6.

2. You can use VB DLLs with AMS, but it defeats the purpose of no run-times. You will need to be sure the end user has VBs runtimes installed. Might I suggest you try PowerBASIC or PureBasic for the DLLs. Both can easily port VB code.

3. There is no plugin that connects to Access. You can use SQLite. There is also an example on Icy North's web site that shows how to bind the DataGrid to an SQLite database.

TJ_Tigger
11-05-2005, 09:40 PM
3. Example (http://www.indigorose.com/forums/showthread.php?t=11332&highlight=access+database+luacom) - Access an Access database.

Tigg

lnd
11-06-2005, 06:29 AM
the code is not work way? :huh :huh

TJ_Tigger
11-06-2005, 10:56 AM
the code is not work way? :huh :huh
Could you be more specific, which code is not working?

lnd
11-06-2005, 01:53 PM
if i open the file ADO_Test.apz then i get an error messeg
error reading plugin actions - failed to locate action plugin: LuaCOM\LuaCOM.lmd

Intrigued
11-06-2005, 03:09 PM
if i open the file ADO_Test.apz then i get an error messeg
error reading plugin actions - failed to locate action plugin: LuaCOM\LuaCOM.lmd

Aqui!

http://www.icynorth.com/luacom/index.html

lnd
11-07-2005, 11:29 AM
Thank you.
how can i delete, edit and writ a data to the database with asm? :huh :huh :huh :huh :huh :huh :huh

Worm
11-07-2005, 12:22 PM
Open AMS, Select the SQLite template.

You'll now have a sample application that does all of the tasks you've asked about.

TJ_Tigger
11-07-2005, 12:44 PM
If you are looking for more information on using LuaCom to access an Access DB, below is a link to Microsofts site on the objects and properties for doing such.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adosql/adoprg01_1kwv.asp

tigg

lnd
11-07-2005, 02:07 PM
SQLite template? SQLite template work whit access database?

Worm
11-07-2005, 02:13 PM
how can i delete, edit and writ a data to the database with asm?


Your question didn't state you wanted to use Access.