Re: Dynamic DSN

From: Ricardo Magalhaes (ricardosm70_at_hotmail.com)
Date: 12/29/03


Date: Mon, 29 Dec 2003 08:07:10 -0300

Thanks Brion,

IŽll do it

Regards,
Ricardo

"Brion L. Webster" <brion.webster@nospam.ci.fresno.ca.us> escreveu na
mensagem news:3fe9d443$1@newsgroups.borland.com...
> Ricardo Magalhaes wrote:
>
> > I want create an ODBC DSN into my delphi 6.0 apllication without
> > need to go control panel . How can I do it ?
>
> It's a WinAPI Call - definition follows.
>
> function SQLConfigDataSource(const hwndParent: LongInt; const
> fRequest: LongInt;
> const lpszDriver: pChar; const lpszAttributes: pChar): LongInt ;
> stdcall; external 'ODBCCP32.DLL';
>
> -Brion



Relevant Pages

  • Re: URGENT! Named Sets
    ... mensagem news:%23vvgbZ6XEHA.2344@TK2MSFTNGP11.phx.gbl... ... > Set rst = oConn.OpenSchema ... > Best Regards, ... >> Services server! ...
    (microsoft.public.sqlserver.olap)
  • Re: Windows XP Pro from PIII to PIV
    ... Best regards. ... "Dinarte Gouveia" escreveu na mensagem ...
    (microsoft.public.windowsxp.hardware)
  • Re: language pack for windows vista enterprise
    ... "MA" escreveu na mensagem ... How can i get the language pack for windows vista enterprise. ... Best regards, ...
    (microsoft.public.windows.vista.general)
  • Physical Screen Size
    ... What is the WinAPI to return the actual screen width and height in inches? ... I sure don't see it in DevMod, ... Regards, ...
    (microsoft.public.vb.winapi.graphics)