All I want to do is set a session variable in my default page which points to a directory on my server where all media for my site is contained. Now, I used a session variable to do this, and fell into a trap. Say I set it up like this:
Session("mediadir")="D:dev<sitename>media". Now, when anyone looks at my site, the mediadir variable is trying to point to their d:dev.... What should I do. I know it is crazy, but I have mental blank.
I need to set a default option for a combo box that is not the first item in that combo box. Below is an example. I can put the code below into a simple HTML file and it works fine. It does NOT work in a ASP 3.0 app. I have tried two seperate ASP apps as an example and NEITHER work. Code:
I'm building a system where a presenter uploads a PPT to my server and then I show it to all the participants. The problem is that most of the media in the PPT is usually linked, so I'll need to upload all that too.
Assuming I can parse the PPT and figure the exact name and location of each of the media files I need from his hard-disk, is there any way I can upload all these files automatically, without having to make the user choose each of these files manually? If that's not possible, can I atleast show the user a page with a list of input boxes of type file, pre-populated with the file-path and name of the media files I need, so that the user can just click 'Submit' without having to browse and select each of them?
Please say yes. It would be a major usability crisis if my users had to keep hitting the browse button so many times for each PPT! Especially when I know exactly what files I need and where they are! I know that this has a lot to do with browser security, but there's got to be SOME way out?
I have an example running at the moment that shares some 15,000 MP3 files however to offer these as downloadable i would be breaking the law i think !
I would like to set it up so that i have a method where the user can build a play list by going through the files and selecting them and then they would would be played either through the clients own system applications or through media components i can build into the site.
Maybe i could have some controls on there.
also why does the script not like to display files with the .ISO file extention ?
I am using some flash movies & images in a many pages of my site. (like page1.asp, page2.asp, page3.asp)
The problem is when I browse one page to another (redirecting from page1.asp to page2.asp) the other page is again start downloading these images & flash movies. But they are already downloaded by previous page (page1.asp)
Is there any way that to save time, I use the same media (images & flash) that are already downloaded by first page.
While for variables, we can do that by putting them in session. But for media...any know any way....
I have a media player object in ASP on a default page. I'd like to have the audio play continuously no matter what page the user goes to.
In all of the ASP files I have:
<!--#include file="header.html"--right after the <bodytag. The header file has the page header graphic and menu. I tried to put the <OBJECTin header.html but the playlist restarts on every page.
Any way to get the object to load and stay without restarting?
I've seen sites selling jukeboxes that allow you to run a multimedia server, but is it possible to stream to WMP from ASP? It doesn't have to be a true stream. What I basically want to happen is somehow allow the user to create a playlist, or allow them to "queue it up" when clicking on different media types.
In other words, if I have 10 mp3s on my site, and the user wants to listen to 5 of them, without clicking on the next song to play after the first song is finished, and can queue additional songs while any song is playing. Can this be done?
anyone could assist me in finding an ASP script to find the current playing media in a local Windows Media Services server. Since the particular stream is a broadcast, it will have constantly changing media.
I have multiple video and audio files that I want to play on my site. They are also multiple sizes. Some are 320x240 and some are other wacky sizes. What I am trying to do is create a dynamic PopUp player to embed Windows Media Player in.
I have a Database where I have put the links and the display text for the video and audio files. I am currently using JavaScript to make my PopUp window.
Is there any way with ASP I can automatically size the PopUp windows to the right size to correctly house my embedded media player? I use ASP to create the link to the PopUp Window and then once the Window is open I use ASP to get the video file, i do the same for audio files.
Im embedding a streaming .wmv file into a page, and for some reason windows media player 9 is having problems viewing...so Im looking for some vbscript on how to determine: Code:
I'm using a binary stream to send down a file from the web server. I've been having trouble with IE and getting it to recognize my file. I've added the filename as a paramater(?filename=file.jpgw) to handle IE's mime type mangling, but I'm still having trouble with IE's default Save As Type being HTML. When we send down a jpgw (geo-jpeg) file IE wants to save it as an HTML file. I've got the correct filename showing in the Filename box, and if I choose the All Files option from the Save As Type drop down then the file is saved with the correct extension. I'd like to have the All Files option choosen by default. I know it's just a couple of clicks but we have some noivce users that can't seem to get that
I wrote an application that generates reports.It then presents a page where I click a button [javascript:print()] to open the print page. However, I have a fixed printer and would like to know how to print to the default printer without me clicking anything. So the page will just load up and print. Or when I click a button. I just don't want the select printer screen to pop up. Much similar to clicking the print button on top of the address bar in Internet Explorer.
my new site uses default.asp, instead of using index.asp. this is how my old site was done. now i get error 500. is this because it is trying to find index.asp or because my database isn;t workjing properly? i'm tired and being stupid i think. it's reall probably the database, but i just want to make sure in my sleep deprived state.
I want to make it so that when the user is looking at a rendered ASP page and they hit the ENTER key, one of the buttons on the form gets "clicked". In other words I want for the user to not have to click on the button, and just hit ENTER instead. How do I specify the button?
This is the code for a combo box, and I would like to make certain value the default value, so that appears unless users select somthing else.
call rs.Open("SELECT * FROM Trim.dbo.luDecisionMaker ORDER BY DecisionMakerName" _ , myCon)
do while not rs.EOF Response.Write("<OPTION value=" & rs("DecisionMakerID")) if rs("DecisionMakerID") = nDecisionMaker then Response.Write(" selected") end if Response.Write(">" & _ rs("DecisionMakerName") & "</OPTION>" & Chr(10)) rs.MoveNext loop
rs.Close
It comes from a table and has PropertyDetailsID(1,2,3,4) and PropertyDetailsname(Fee, 5,10,Other) and for example "Fee" needs to be the dafault value.
If a new user is added to the database through a webform, and they would usually have immediate access to member only services, is there a way to make them nonactive in a MS access db until an admin activates them?
I am wanting to compress/zip a file up on the server and email it. Is there a default component that should be installed on the server that will compress/zip files? If not is there FREE ones that anyone would suggest?
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file examples before (and works if I put it in a HTML file by itself, but not if I use it in a ASP 3.0 app.
The following code works fine for PC but not for MAC. It won't select the default image from the DB. When I check the DB there looks like there is Binary information there but nothing is displayed ....
I need a string of code that will allow me to eliminate,exclude,or ignore the default values that are sent in my web form.It is an order form that has hundreds of items.The items not selected show up looking like this in my email box.
and I have to sort through all of them to find the few selected.can any one tell me with some type of loop to eliminate the values returning 0 or 0.00.
i set up iis 5.0 on my local machine(win2kpro) (on a pvt LAN) at the default port. when i try to access asp it gives http 500 error. i have been able to configure cgi scripts but asp still doesnt work.
I have two drop down lists on one of my pages.One of the them lists all the MONTHS in a year, second one list a number of years starting for 2004. Users couldn't be bothered selecting that every time they are filling it in for submission, so they want me to popolute the two fields with the current month and the year automatically.
Plus the month has to be selected as a current month up to the 7th of every month,on the 7th it changes to the correct month. of basically if date is < 07/08/2004 = July.
I need to display (and use as a hidden field) the date on a page. How do I change if from MM/DD/YYYY (e.g. 12/25/2004) to 25/DEC/04 . I'm putting it into an Oracle date field and it doesn't like the date in the first format.
Is there available some list of COM components available to ASP pages, that are available on virtually every IIS machine?
I am wondering wether there is some right-away-available API with cryptogrphy functions. The particular function I need is MD5 hash estimation for files. I have one written in JScript, but it would be very slow for larger files.
Is it possible to reset a SQL field to it's default setting? For example, someone changes FIELD1 to "John Doe" and the the default is "YOUR NAME". Can I reset it back to "YOUR NAME" somehow?
I am getting the above error message on a non-default website. But, default.asp and other asp files work properly. There are few asp files which are residing on this non- default website created by our application folks, and it is not working.
Server Details Win2k SP4 IIS 5.0 URLSCAN is installed C2 Security Settings implemented on the server.