Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-09-2006, 04:25 PM
Member
 
Join Date: Jul 2006
Posts: 33
Default connect to *.mdb(Access Database)

Help me...I'm could not connect to D:\student.mdb from Action-Script.
code:
Code:
import SWFKit.*
import ADODB.*;


var ax = new ActiveXObject("ADODB.Connection");
var conn = new _Connection(ax.Identifier);
var connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:/student.mdb"
conn.Open(connString, "", "")
Global.trace(conn.State)
var errors = new Errors(conn.Errors);
var error = new Error(errors.Item(0))

Global.trace(error.Description)
It trace me this:
Code:
1
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
please help me...sorry for bad english :'(
Reply With Quote
  #2 (permalink)  
Old 12-11-2006, 02:13 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:connect to *.mdb(Access Database)

Could you please send your .fla file to us (support@swfkit.com) ? It is very hard to find out the reason of the problem from only the above code.
Reply With Quote
  #3 (permalink)  
Old 12-14-2006, 01:21 PM
Member
 
Join Date: Jul 2006
Posts: 33
Default Re:connect to *.mdb(Access Database)

many thanks, You BEST! ;D
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.