|
-
Mar 26th, 2003, 02:17 PM
#1
Thread Starter
Frenzied Member
Passing Variables !? *Resolved*
Hi !!
I wan't to connect to an online database...
What i'm doing now is:
VB Code:
strCn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=http://www.Ziptron.dk/main.mdb;" & _
"Persist Security Info=False"
strSQL = "SELECT * FROM Main WHERE Brugernavn='" & txtUser.Text & "' AND Password='" & txtPassword.Text & "'"
Set rsEmployees = New ADODB.Recordset
rsEmployees.Open strSQL, strCn, adOpenDynamic, adLockReadOnly
but that won't work! It just gives me an error saying Invalid File...
how do i connect to an online DB ? do i have to have some special rights or something ??
Cheers !
Last edited by vbNeo; Mar 26th, 2003 at 03:31 PM.
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Mar 26th, 2003, 02:35 PM
#2
Thread Starter
Frenzied Member
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Mar 26th, 2003, 02:37 PM
#3
Frenzied Member
Bumping after only 18 minutes? Are we a little impatient today?? 
I tried this, but I'm on the corporate network, and the only way I can access the database through our security firewall is to copy it locally. Sorry!
-
Mar 26th, 2003, 02:52 PM
#4
Thread Starter
Frenzied Member
Hmmm.. Thanks anyways =)
I got a new idea...
Can anyone tell me how to pass variables through ASP to ones application ??
Cheers !
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
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
|