I am using VB.NET now, and facing some problems on coding, please help, thanks a lot !
1. How to fetch ALL the tables name in a database.
(Not specify the tables name by SQL command.)
2. In ADO.NET, how to make the Oledb connection string get the info from UDL (Micosoft Data Link) file ?
What I am doing is like this:
(But the syntax is wrong. How should I code ?)
3. How to use DLL files ? I want to use oledb32.dll to execute UDL files in my program.
What I am doing is like this :
(Can I make it other way ?)
Any help with these questions is greatly appreciated.
1. How to fetch ALL the tables name in a database.
(Not specify the tables name by SQL command.)
2. In ADO.NET, how to make the Oledb connection string get the info from UDL (Micosoft Data Link) file ?
What I am doing is like this:
Code:
Dim oledbconn as oledbconnection
oledbconn.connectionstring = "File Name=c:\xxx\db.udl"
3. How to use DLL files ? I want to use oledb32.dll to execute UDL files in my program.
What I am doing is like this :
Code:
Call shell("rundll32.exe oledb32.dll c:\xxx\db.udl")
Any help with these questions is greatly appreciated.
Last edited by a moderator: