Skip to main content

AccessTr.neT


regeditte dsn ayarları oluşturma

regeditte dsn ayarları oluşturma

Çözüldü #3
Basit bir örnek hazırladım regeditte Etis dizini ve alt dizinler yok ise ekleniyor.

ReadRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "serino", "S", "", Serial
Me.Metin1 = Serial

If Me.Metin1 = "" Then

WriteRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "AutoStop", "S", "Yes"
WriteRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "Delphi", "S", "Yes"
WriteRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "DatabaseFile", "S", CurrentProject.Path & "\Databases\Etis.db"
WriteRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "Driver", "S", CurrentProject.Path & "\ASA\Win32\dbodbc8.dll"
WriteRegistry "HKCU", "Software\ODBC\ODBC.INI\Etis", "Integrated", "S", "No"
End If

regeditdeneme.rar
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
regeditte dsn ayarları oluşturma - Yazar: accessman - 25/04/2012, 21:49
Cvp: regeditte dsn ayarları oluşturma - Yazar: ozanakkaya - 27/04/2012, 09:34
Task