473,511 Members | 17,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Universal Data Link

Do you know any way to invoke UDL from a Windows Application?

I want the user to specify connection parameters, currently I use SQLDMO to
display Servers, Databases, and enter userid & password.

UDL does all of that for me, but I do not know how to invoke it. I read a
few years back that VBScript could do it.

Lewis
Jul 21 '05 #1
1 2713
Hi Lewis,

Thanks for posting in the community.

First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you wants to invoke the OLE DB
Data Link Properties Dialog Box in VB.NET
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

I think you may try to use the OLE DB Service Component 1.0 Type Library
shipped with MDAC.

HOWTO: Invoke the OLE DB Data Link Properties Dialog Box in Visual Basic
Code
http://support.microsoft.com/default.aspx?kbid=286189
You can get he connectionstring by using the method below.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim MSDASCObj As MSDASC.DataLinks
MSDASCObj = New MSDASC.DataLinks
Dim cn As Object
cn = MSDASCObj.PromptNew
MsgBox(cn.ConnectionString)
End Sub

Also take a look at the link below.
Incorporating the Data Link Properties Editor into a VB.NET App
http://www.developer.com/db/article.php/2241031

Please try my suggestion and let me know the result.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1859
by: Nick Kew | last post by:
Rationale ========= Many applications today benefit from an SGML and/or XML Entity Catalogue to dereference entities referenced by a Public Identifier. For a validating SGML parser this is an...
4
6325
by: Dani | last post by:
Hi everyone Description of the problem: Using a PreparedStatement to write down an integer (int) plus a timestamp for testing purposes. When read out again the integer looks very different. We...
0
3067
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2...
2
1458
by: Skybuck Flying | last post by:
I have finally figured out what the hell it is I invented :) It's another universal code: http://en.wikipedia.org/wiki/Universal_code I shall name this code: Skybuck's universal code...
25
1382
by: Roger | last post by:
I am writing non GUI software in C for use on Windows and Linux. while libc packages are generally compatible, I am ending up with a lot of conditional macros for OS and I/O related stuff such as...
33
2683
by: news.microsoft.com | last post by:
To Microsoft and fellow MSDN Universal subscribers... Regarding new MSDN Universal (I mean Premier) price and level changes: 1) Way too expensive for the small and medium developer Universal...
1
344
by: LWoodIS | last post by:
Do you know any way to invoke UDL from a Windows Application? I want the user to specify connection parameters, currently I use SQLDMO to display Servers, Databases, and enter userid & password....
1
5878
by: stuart.medlin | last post by:
I have an Access 2003 application that I recently converted from Access 97. I have a routine in which I use to export the data that the users have keyed into a text file. This text file resides...
0
1481
by: knorth | last post by:
The launch of DataServices World in New York was successful so the conference is bringing a distinguished faculty to Silicon Valley in November. DataServices World offers a program for those...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5066
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.