Search found 16 matches: tdsn

Return to advanced search

Re: Can I change ODBC Data Source Configon the fly? *Got it*

Maurizio wrote:I Use

oDSN := TDSN():Create( cODBC, "mastroODBC",cDbName ,cServer, cUser,1, 'C:\Program Files (x86)\MySQL\Connector ODBC 3.51\myodbc3.dll', val(nPort), cPassword )

Maurizio
http://www.nipeservice.com

Thank you so much, Maurizio. It's the one that I need. Where is TDSN Class?
by dutch
Mon Sep 04, 2017 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I change ODBC Data Source Configon the fly? *Got it*
Replies: 7
Views: 1321

Re: Can I change ODBC Data Source Configon the fly? *Got it*

I Use

oDSN := TDSN():Create( cODBC, "mastroODBC",cDbName ,cServer, cUser,1, 'C:\Program Files (x86)\MySQL\Connector ODBC 3.51\myodbc3.dll', val(nPort), cPassword )

Maurizio
www.nipeservice.com
by Maurizio
Mon Sep 04, 2017 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I change ODBC Data Source Configon the fly? *Got it*
Replies: 7
Views: 1321

Re: Crear un DSN por programa ( ODBC )

Joel, Julio o Lautaro,

Alguno de uds. que pueda postear el archivo tdsn.ch se lo agradeceria muchisimo para poder hacer algunas pruebas de esto.



Saludos a todos
by Raymundo Islas M.
Mon Jul 12, 2010 4:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear un DSN por programa ( ODBC )
Replies: 11
Views: 3607

Re: tdsn.ch for tdsn class

You can use ODBC WITHOUT creating DSN entry. Here is a website that has many DSN-Less and other connection strings. They use ASP but easily converted to xHarbour. http://www.codemaker.co.uk/it/tips/ado_conn.htm Here is another http://www.dofactory.com/Connect/Connect&...
by Gale FORd
Wed May 26, 2010 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdsn.ch for tdsn class
Replies: 3
Views: 644

Re: tdsn.ch for tdsn class

thanks for yuor reply.

I also use ado to connect to sql dbase,
but i have an old program with odbc connection.
before to convert the old program to ado instructions,
i would like to make the automatic creation of the odbc dsn.

ciao, marzio
by marzio
Wed May 26, 2010 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdsn.ch for tdsn class
Replies: 3
Views: 644

Re: tdsn.ch for tdsn class

I was using a DSN entry but since I found a way to access ODBC without having a DSN entry, it has been less I have to do at each workstation. Check out this http://www.w3schools.com/ado/ado_connect.asp We have a new system using Progress so here is my sample Progress connect string: ...
by Gale FORd
Tue May 25, 2010 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdsn.ch for tdsn class
Replies: 3
Views: 644

tdsn.ch for tdsn class

hi,
can someone post to me the file TDSN.CH for the class tdsn?
(to automatically create a dsn in ODBC)

thanks in advance
marzio
by marzio
Tue May 25, 2010 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdsn.ch for tdsn class
Replies: 3
Views: 644

Re: tdsn.ch per classe tdsn

fa parte della classe tdsn.prg per creare un dsn in odbc.
evita di crearlo manualmente, passando: nomeOdbc, server, dbase, user, password...
ho cercato in tutto il forum, qualcuno mette a disposizione la classe ma non il file ch.

ciao, marzio
by marzio
Thu May 20, 2010 10:25 am
 
Forum: All products support
Topic: tdsn.ch per classe tdsn
Replies: 2
Views: 887

Re: tdsn.ch per classe tdsn

L'ho cercato per tutto il mio hard disk ma non ce l'ho. Di cosa fa parte?

EMG
by Enrico Maria Giordano
Thu May 20, 2010 10:01 am
 
Forum: All products support
Topic: tdsn.ch per classe tdsn
Replies: 2
Views: 887

tdsn.ch per classe tdsn

salve a tutti,
qualcuno mi può postare il file TDSN.CH per la classe tdsn?

grazie in anticipo
marzio
by marzio
Thu May 20, 2010 8:08 am
 
Forum: All products support
Topic: tdsn.ch per classe tdsn
Replies: 2
Views: 887

Re: Crear un DSN por programa ( ODBC )

... // 0=DSN Sistema 1=DSN Usuario cNomODBF='MiODBC' cDBase ='MiBasedeDatos' cServer ='MiServidor' cUser ='MiUsuario' cPassWord='MiPassWord' oDsn:=TDsn():New(cNomODBC) oDsn:Create(cNomODBC, ; 'Descripción de Mi ODBC',; cDBase ,; cServer ,; cUser ,; nTypeDsn, 'c:\windows\system32\SQLSRV32.dll',, ...
by Joel Andujo
Tue Apr 27, 2010 6:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear un DSN por programa ( ODBC )
Replies: 11
Views: 3607

TDsn y TMyDsn ( crear ODBC desde aplicacion )

Hola a todos. El otro dia bajé del sitio de Patrick ( fivewin.info creo ) una clase para crear ODBC desde la aplicacion ( TDSN ), necesitaba hacerlo para una base en ACCESS, pero desafortunadamente no funcionó. Existe una clase mejorada para hacer esta tarea, o se debe hace de otra ...
by dbzap
Mon Dec 04, 2006 12:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDsn y TMyDsn ( crear ODBC desde aplicacion )
Replies: 6
Views: 1579

TDsn o TMyDsn ( crear ODBC desde aplicacion )

Hola a todos. El otro dia bajé del sitio de Patrick ( fivewin.info creo ) una clase para crear ODBC desde la aplicacion ( TDSN ), necesitaba hacerlo para una base en ACCESS, pero desafortunadamente no funcionó. Existe una clase mejorada para hacer esta tarea, o se debe hace de otra ...
by dbzap
Mon Dec 04, 2006 12:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDsn o TMyDsn ( crear ODBC desde aplicacion )
Replies: 1
Views: 748

Crear DSN en vuelo

Como puedo crear DSN, al vuelo dependiendo de la empresa que se seleccione , tengo el sig. codigo me lo crea pero no encuentro como crearle el password ya que mysql tiene password el servidor. oDsn := TMyDsn():New( BaseDatos ) IF oDsn:nStatus == TDSN_NO_ERROR oDsn:Del() ENDIF oDsn:Close() nTypeDsn :...
by fsandoval
Sat Mar 25, 2006 5:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear DSN en vuelo
Replies: 2
Views: 843

Tdsn

Here the information

#define TDSN_SYSTEM_DSN 0
#define TDSN_USER_DSN 1

This define are in the TDSN.CH

Atte,
Lautaro Moreira
by Lautaro
Fri Nov 11, 2005 1:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tdsn
Replies: 2
Views: 891
Next

Return to advanced search