|
divyesh1432 wrote: Can a browser/client have access to download media files and save it to specific location using javascirpt/vbscript or any other way (no manual process it should be done automatically) and after that play those media files !
Nope.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
No Browser doesnt have access to file system.
What you can do is when you are making a playlist, store the ids in the browser cookie, and play them in browser based music player directly from the server based on the sequence made by the user.
This is just what esnips does.
|
|
|
|
|
hi,
You can try the above. additionally you can write a browser using browsers control in .net and you can use that for your purpose...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
I think playing media files using flash players is the best way. You can also try out the recently introduced Silverlight players.
At least there should be a browser plugin involved to play a sound in browser.
|
|
|
|
|
I'm needing to convert some old code using document.all to use document.getElementById instead. I've been searching for the better part of an hour for an in-depth comparison of these two -- something more than "document.all is deprecated, don't use it". I need to know if document.all has any behavior that document.getElementById doesn't emulate. Are there any situations where document.all['text'] will not give the same results as document.getElementById('text')? Can anyone link me to a good article/post comparing these two?
|
|
|
|
|
http://www.mozilla.org/editor/ie2midas.html[^]
the thing to watch out for, in my humble opinion, is that document.all.element works with name as easily as id. If your code is old enough to use "all," it may be using "name", too
|
|
|
|
|
Dear All:
Today i was assigned a bug, that bug was when you use firefox and a javascript alert pops up. The title of the popup has the following " Alert " + the IP of the IIS which causes a huge security problem. How could i change the title obscure it any thing that would prevent it from showing information
|
|
|
|
|
No.. It wont be possible with normal alert ... You need to create custom alert for your site. You might either create an alert using Window.open or create custom html popup using div's.
|
|
|
|
|
How about using VBscript? what do you think??
|
|
|
|
|
No... VBScript doesnt work in Mozilla. Its only for IE.
So its also discarded... .sorry..
|
|
|
|
|
Thanks for the information i will go with one of your suggestions the moment i discuss them with the PM.
|
|
|
|
|
you are most welcome..
|
|
|
|
|
I have done a project. I hosted all my files but difficulties to add my database.
|
|
|
|
|
Can you make more clear?
why do you need to add database. Just create a connectionstring in web.config to connect to the database.
|
|
|
|
|
Actually I want to attach my database (named KoorasDatabase.mdf) in the server to host. I need to the procedure.
I am confused if all all my tables are needed to create again.
|
|
|
|
|
To attach a database use this script.
USE [master]
GO
CREATE DATABASE [KoorasDatabase] ON
( FILENAME = N’C:\Data\KoorasDatabase_Data.mdf’ ),
( FILENAME = N’C:\Data\KoorasDatabase_Log.ldf’ )
FOR ATTACH
GO
IF EXISTS ( SELECT name
FROM master.sys.databases sd
WHERE name = N’KoorasDatabase’
AND SUSER_SNAME(sd.owner_sid) = SUSER_SNAME() )
EXEC [KoorasDatabase].dbo.sp_changedbowner @loginame=N’sa’,
@map=false
GO
Just replace the Filepath with appropriate one.
|
|
|
|
|
Hello
I'm currently designing an intranet web project that will need to plot graphs (not charts)
Something like mxGraph, more precisely in this port sample or in database sample.
I'm not allowed to has a local copy of their script, so I can't use them.
Are there any good similar libraries out there, which is not too low level, and are allowed to be hosted locally?
Thanks in advanced 
|
|
|
|
|
|
Thx
But it wasn't really what I looked for
Not charts, but more like a database diagram where you connect an entity with the others
Thanks 
|
|
|
|
|
Member 3369662 wrote: will need to plot graphs (not charts)
Member 3369662 wrote: more like a database diagram where you connect an entity with the others
Then you really need to be more clear in what you are asking for. These requests are completely different
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I would like to use ASP script to connect and open my local MS Access database, I also have the MS Access database at my c:\inetpub\wwwroot\Name_ID.mdb with have only 1 table List with 2 columns: column "Name"(defined as Text) & column "ID" (defined as Number)
I have my web-page ConnectLocalDatabase.asp at my web-site with the following codes:
<%
Dim strQuery, rsRequest, conn
set conn = CreateObject("ADODB.Connection")
conn.open "Provider=MS Remote;" &_
"Remote Server=http://27.33.22.211;" &_
"Remote Provider=Microsoft.Jet.OLEDB.4.0;" &_
"Data Source=c:\inetpub\wwwroot\Name_ID.mdb;"
set rsRequest = Server.CreateObject("ADODB.Recordset")
strQuery = "SELECT * From List Where ID = 1"
'======================================================================
rsRequest.Open strQuery, conn, adOpenDynamic, adLockOptimistic, CmdText
If Not rsRequest.EOF Then
Response.write(rsRequest("Name"))
Response.write("OK1")
End If
rsRequest.Close
'======================================================================
conn.Close
Response.write("OK2")
%>
If I comment-out codes between '=== ... '=== then my web-page show OK2 without any error, but when I remove those comment-out I will have web-page error
- If I connect directly with the same Name_ID.mdb on my web-site, then there is no error (sure I have to modify the "Remote Server=<b>http://27.33.22.211;"
Note1: I even use ODBC Data Source Administrator to register the Name_ID.mdb in c:\inetpub\wwwroot\ as recomended
Note2: I did use www.showmyip.com to have my Internet address of my PC: 27.33.22.211
Can anyone help on this?
Thanks in-advanced
modified on Saturday, October 31, 2009 6:03 PM
|
|
|
|
|
i m displaying records from one table and while displaying
i m passing the id field of project.asp to scheme.asp
now my problem is that when scheme.asp does not contain the scheme for the
project.asp then it should not show the hyperlink viewscheme on project.asp file.
here is my code.....below
| <%
opendatabase conn
id=request("id")
sql="select * from projectdescription where id="& id
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
sql2="select * from schemedescription where projectid="& obj("id")
set obj2=server.CreateObject("adodb.recordset")
obj2.open sql,conn,1,1
if obj2("projectid")=obj("id") then
response.Write("View Project ")
response.Write("View Scheme ")
response.Write("View Team ")
%>
|
| <%
response.Write(obj("description"))
%>
| " height="150" width="200" alt="Central Home Images" >
<%
else
response.Write("View Project ")
response.End()
end if
%>
|
|
|
|
|
|
I think you need to omit this
response.Write("scheme.asp?id=%22%20&%20obj(%22id%22)%20&%20%22")
Use an IF statement then.. .whats the problem ??
|
|
|
|
|
Please consider the following web page:
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or<br />
g/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head><br />
<title>Untitled Page</title><br />
</head><br />
<br />
<body><br />
<script type="text/javascript"><br />
<br />
document.getElementById("I1").href = "http://www.google.com";<br />
<br />
</script><br />
<br />
<a href = "http://www.yahoo.com" id = "I1" name = "N1" >click here</a><br />
<br />
<br />
</body><br />
<br />
</html><br />
<br />
When this JavaScript runs, I would expect the getElementById call to return a reference to the href tag. Instead it returns null. I would like to know what I am doing wrong.
Thanks
Bob
|
|
|
|
|
I think you need to call this in your page loaded event, I thnk it's running before the control exists.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|