ODBC Connection problem
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-29
10:10 AM
- last edited on
2023-08-03
11:49 AM
by
Doreena Deng
2010-04-29
10:10 AM
Hi all
Have downloaded ArchiCAD 13, ODBC Driver.
Created simple plan, saved it.
Created ODBC connection, and now I try to connect to that plan.
Here is VBscript code:
Dim conn, rsObjectList
set conn = WScript.CreateObject("ADODB.Connection")
If not IsObject(conn) Then
WScript.Echo "connection: error"
WScript.Quit(-1)
End If
conn.Open "ArchiCad_Test" <- This is ODBC name, created in Control panel/ODBC, and here is error reported
Set rsObjectList = conn.Execute("select * from WALLS'")
This is error:
Line: 8
Char: 1
Error: Catastrophic failure
Code: 8000FFFF
Souce: Provider
Can someone explain how to make simple connection in VB or VBscript, please?
Have downloaded ArchiCAD 13, ODBC Driver.
Created simple plan, saved it.
Created ODBC connection, and now I try to connect to that plan.
Here is VBscript code:
Dim conn, rsObjectList
set conn = WScript.CreateObject("ADODB.Connection")
If not IsObject(conn) Then
WScript.Echo "connection: error"
WScript.Quit(-1)
End If
conn.Open "ArchiCad_Test" <- This is ODBC name, created in Control panel/ODBC, and here is error reported
Set rsObjectList = conn.Execute("select * from WALLS'")
This is error:
Line: 8
Char: 1
Error: Catastrophic failure
Code: 8000FFFF
Souce: Provider
Can someone explain how to make simple connection in VB or VBscript, please?
Labels:
- Labels:
-
Add-On (C++)
5 REPLIES 5
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-29 01:05 PM
2010-04-29
01:05 PM
Have try with Excel (Get external data) but without success.
Is there someone who actually use Archicad 13 ODBC driver?
Thank you
Is there someone who actually use Archicad 13 ODBC driver?
Thank you
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-29 01:30 PM
2010-04-29
01:30 PM
jperic022 wrote:Does TRIAL version works with ODBC ???
Have try with Excel (Get external data) but without success.
Is there someone who actually use Archicad 13 ODBC driver?
Thank you

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-29 09:04 PM
2010-04-29
09:04 PM
jperic022 wrote:I've only used the ODBC driver with files produced by the commercial license. I do not know if the driver works with any other file versions. The various training guides contain commercial project PLN files, so you could try setting your ODBC connection to one of these sample files just to get your VBA code working. If you own Microsoft Access, that is the easiest way (no coding required) to link to an ODBC source and verify the connection.
Does TRIAL version works with ODBC ???
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-30 01:39 AM
2010-04-30
01:39 AM
Karl wrote:Hi thank youjperic022 wrote:I've only used the ODBC driver with files produced by the commercial license. I do not know if the driver works with any other file versions. The various training guides contain commercial project PLN files, so you could try setting your ODBC connection to one of these sample files just to get your VBA code working. If you own Microsoft Access, that is the easiest way (no coding required) to link to an ODBC source and verify the connection.
Does TRIAL version works with ODBC ???
Karl
could you be so nice, and draw 2 walls, save it and post reply here?
Files on this site -
Thank you

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-04-30 02:56 AM
2010-04-30
02:56 AM
Nothing that large can be attached here. Sorry. You might contact your local reseller, which I believe is 3DArt.
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB