Since you're asking on a VB6 WinApi forum, I assume you're asking about the
API. Look up SQLConfigDataSource in MSDN. The attributes argument is a
string (name=value;...), so this is easily handled in VB6 (c.f. KB171146).
You can also hack the registry. See KB184608 for sample code. I have not
tried this code.
> Hello,
>
[quoted text clipped - 7 lines]
>
> Raj.
Raj - 21 Jun 2007 09:36 GMT
In fact I did programming to add/delete DSN.
But what I am looking for is to change the name of the DSN alone not
add/delete which already I am familiar with.
Thank you,
Regards,
Raj.
> Since you're asking on a VB6 WinApi forum, I assume you're asking about
> the API. Look up SQLConfigDataSource in MSDN. The attributes argument is a
[quoted text clipped - 14 lines]
>>
>> Raj.
Mark Yudkin - 24 Jun 2007 08:30 GMT
Did you look up SQLConfigDataSource in MSDN?
> In fact I did programming to add/delete DSN.
>
[quoted text clipped - 25 lines]
>>>
>>> Raj.