Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Other Languages

Post new topic   Reply to topic
Ok Guys help me out here: ASP
View previous topic :: View next topic  
Author Message
vbman995
Moderator


Joined: 19 Aug 2005
Posts: 264
Location: Planet Earth

PostPosted: Nov 10th, 2005 05:07 PM    Post subject: Ok Guys help me out here: ASP Reply with quote

I am terrible at ASP, actually I don't know a thing about asp.

I need to change this code so that it opens the file of mywebsite.com/fups.mdb and not C:\fups.mdb:

Code:

<%

'This should be the only place you have to edit the
'connection information.

 dim objConn, rs, strSQL

 set objConn = Server.CreateObject("ADODB.Connection")
 set rs=Server.CreateObject("ADODB.Recordset")
 
'CHANGE THIS LINE ONLY!!!
 objConn.Open "DSN=MS Access Database;DRIVER=(Microsoft Access Driver (*.mdb));DBQ=C:\fups.mdb"

'In each ASP file exists the following code:

'strSQL = "WHATEVER NEEDS TO BE DONE"
'set rs = objConn.Execute(strSQL)
%>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Other Languages All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic