I've done the connection with connection string.
I read about ASP.NET & DSN connection in a book that's why i suprised when i saw the results!
Sometimes books make mistakes..
Anyway thanks for your reply.
.
.
.
Dim data As OleDbConnection
data = New OleDbConnection( "DSN=database" )
data.Open()
.
.
.
Why i get an error message when i'm trying to connect a database with DSN name??
The error message says that i don't specify provider (sqlolebd)...
How do i delete files from asp code?
strfile = Server.MapPath("Photos") & "/" & "photo.gif"
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile (strfile)
I use this coce and it doesn't works, Please Help Me
I have use a lot of times .dll libraries with asp to upload files into web server directory, but this in my own server that i could put that .dll file in the system what happens with another servers????. My question is if there is any way to upload an image or a file into SQL server database...
I was working with IIS 5 with Windows 2000 and everything was ok.Now i have this problem with Windows XP when i try to write in access database "Cannot update. Database or object is read-only."
Sessions works fine! Finally the problem is that sometimes internet explorer does not request an execution of asp code from server, but restores the previous executions results (html) from clien's machine. When i clear internet explorer history, everything works fine.Aslo Netscape Navigator...
I have allready put Session.Abandon at the first line of login.asp, so if server or client remember a session,all sessions are closing and when a user doing loggin start new session, but the problem exist!!!I think that the solution is to find a way to delete the cookie which global.asa...
When users close a current session and start another with another user name (ID) then sometimes my application remember the old login and sometimes the new one. I think that it's something about client's browser memory or cookies from global.asa. Can you give me a reason or a solution? Thanks
You may put html tag <br> when line breaks.You can ignore line break using VB String Constant vbCrLf.
You can use this while recording in database but in this case you enter much more chars (<br>) in your db when line breaks.
Keep clean your db by using this code while printing on screen...
I want to know how can i redirect inside php code.
For example in ASP is: Response.Redirect "page1.asp?Id=34"
I want to do the same thing in php code.
Thanks
Dim objBrowser
Dim colBrowser
Set objBrowser = Server.CreateObject(MSWC.BrowserType")
'Get Browser's Info
colBrowser = objBrowser("xxxxx")
Response.Write colBrowser
xxxxx get's :
version 'for browser's version
majover 'for browser's majover version
minorver 'for browser's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.