|
-
Dec 17th, 2002, 07:54 PM
#1
Thread Starter
Member
How do i do app.path in VB.NET
Hi all,
How can i use App.path in VB.NET.App gives error as name 'App' is not decalred.
what shall i do.
I tried to import system.windows.Forms.application
but i could not make it correct.
Pl give me a solution
Dim Conn As ADODB.Connection
Dim objword As Word.Application
Conn = New ADODB.Connection()
Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.path & "\testdb.mdb;Mode=Share Deny None"
Conn.Open()
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|