Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages
Started by Alexandre C�sar Reis Tr�s
Sat, 17 Feb 2001 20:17
Configuring DSN automaticaly via setup software!
Author: Alexandre C�sar Reis Tr�s
Date: Sat, 17 Feb 2001 20:17
Date: Sat, 17 Feb 2001 20:17
15 lines
1675 bytes
1675 bytes
Hi friend�s, i need distributed one application wich use one Access table access through ADO Connection and ADO Table.Well, when i create the setup disk of installation through InstallShield Express and then install this application in another computer its failure!!!! I know wich the mdac will be there, this is not problem, my great problem is HOW I DO TO CONFIGURE AUTOMATICALY THE DSN FILE ?In my machine i create and configure the DSN to point to my Access table, but the user dont know nothing about DSN.Please, i need one software or one way (through article in NET) to configure DSN automaticaly!!! Thank�s friend�s -- Alexandre C�sar Reis Tr�s Infohab Team alex@infohab.org.br
Re: Configuring DSN automaticaly via setup software!
Author: Neo
Date: Mon, 19 Feb 2001 16:19
Date: Mon, 19 Feb 2001 16:19
26 lines
1802 bytes
1802 bytes
You could write a seperate app using the TRegistry class and make the appropriate changes yourself Alexandre C�sar Reis Tr�s <alex@infohab.org.br> wrote in message news:3a8eceb4$1_2@dnews... > Hi friend�s, i need distributed one application wich use one Access table > access through ADO Connection and ADO Table.Well, when i create the setup > disk of installation through InstallShield Express and then install this > application in another computer its failure!!!! > I know wich the mdac will be there, this is not problem, my great problem is > HOW I DO TO CONFIGURE AUTOMATICALY THE DSN FILE ?In my machine i create and > configure the DSN to point to my Access table, but the user dont know > nothing about DSN.Please, i need one software or one way (through article in > NET) to configure DSN automaticaly!!! > Thank�s friend�s > > > -- > Alexandre C�sar Reis Tr�s > Infohab Team alex@infohab.org.br > >
Re: Configuring DSN automaticaly via setup software!
Author: Jerry Bloomfield (TeamB)
Date: Mon, 26 Feb 2001 05:44
Date: Mon, 26 Feb 2001 05:44
26 lines
2417 bytes
2417 bytes
On Sat, 17 Feb 2001 17:17:09 -0300, "Alexandre C�sar Reis Tr�s" <alex@infohab.org.br> wrote: >Hi friend�s, i need distributed one application wich use one Access table >access through ADO Connection and ADO Table.Well, when i create the setup >disk of installation through InstallShield Express and then install this >application in another computer its failure!!!! >I know wich the mdac will be there, this is not problem, my great problem is >HOW I DO TO CONFIGURE AUTOMATICALY THE DSN FILE ?In my machine i create and >configure the DSN to point to my Access table, but the user dont know >nothing about DSN.Please, i need one software or one way (through article in >NET) to configure DSN automaticaly!!! You should use the InstallShield feature to create the ODBC DSN for you. If you are using the free ISX which ships with C++Builder, this capability may not be present, in which case you can still create the DSN programmatically using the ODBC API call to SQLConfigDataSource(). This function call is documented in the MDAC SDK from Microsoft. I believe I have an example of using this for MS-Access MDB files uploaded to Code Central which you could also take a look at for some help... Jerry Bloomfield (TeamB) -- http://www.teamb.com JersWork@wwa.com Please do *NOT* send private e-mail without prior permission (my anti-spam filters will probably just delete it anyway <g>)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads