ODBC Manager: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Adding new author and category links.)
(redirect to nsODBC)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageAuthor|sl}}
#REDIRECT [[NsODBC plug-in]]
 
== The Script ==
<highlight-nsis>
  ; Create MS Access DSN & Data Base
  nsODBC::AddSysDSN "Microsoft Access Driver (*.mdb)" "DSN=SERVER_${PRJ_NAME}_DB" "DBQ=$INSTDIR\${PRJ_NAME}.mdb"
 
  ; Remove DSN
  nsODBC::RemoveSysDSN "Microsoft Access Driver (*.mdb)" "DSN=SERVER_${PRJ_NAME}_DB"
 
  ; Methods:
    ::AddDSN      ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::AddSysDSN)  ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::ConfDSN)    ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::ConfSysDSN  ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::RemoveDSN    ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::RemoveSysDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
    ::RemoveDefDSN ;[DriverName] Parameters pairs follows: [DSN=XXX] [UID=0x777] ...
</highlight-nsis>
 
[[Category:Database Functions]]

Latest revision as of 17:47, 30 June 2006

Redirect to: