Setting Up A Default Media Dir.

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.

View Replies


ADVERTISEMENT

Setting A Default Option For A Comb Box

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:

View Replies View Related

Setting A Default Value For The Input Type File?

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?

View Replies View Related

How Do You Run Media Not Download It ?

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 ?

View Replies View Related

Using Media For Multiple Pages

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....

View Replies View Related

Media Player In Asp Page

how i can put a frame like Microsoft media player to old asp web page (for video clips)

View Replies View Related

Media Player Object

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?

View Replies View Related

Important Media Player

how i can place a media player on my asp page to allow user to listen to sample songs, etc? or anyone know where to find the code?

View Replies View Related

Windows Media Player

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?

View Replies View Related

Current Media In Local WMS Server

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.

View Replies View Related

Dynamic Media Content And Player

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.

View Replies View Related

Detect The Users Window Media Version?

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:

View Replies View Related

Close Windows Media Player In A Web Page After Its Played?

How do you close windows media player in a web page after its played. I have added a windows media player to my web page as:

<object id="Player"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
..
..
..

After its played I would like it to automatically close.

View Replies View Related

Default Value

if for list box, check box or radio button. in asp. how can i write to make it a default value??

View Replies View Related

IE's Default

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

View Replies View Related

Default

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.

View Replies View Related

Default.asp

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.

View Replies View Related

Specify Default Button

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?

View Replies View Related

Combo Default Value

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.

View Replies View Related

New User In DB Default

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?

View Replies View Related

Default Compenent

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?

View Replies View Related

Default Value In Field

with "select @@IDENTITY" i get the value of the last field insered.. i would
like to get also the field.name

View Replies View Related

Default Include

Is it possible to add a default include file to every ASP-page servered on IIS? So I do not have to modify every page.

View Replies View Related

Default Value For Combo Box

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.

<select name="cboCompany" style="text-align:right; font-size:8pt">
<option value="08">08</option>
<option value="09" selected="true">09</option>
<option value="33">33</option>
<option value="18">18</option>
<option value="17">17</option>
</select>

View Replies View Related

Default Image

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 ....

View Replies View Related

Change The Default

Using a DetailsView to update data in SQL 2005, How do I change the default "Update" hyperlink to a more user friendly button?

View Replies View Related

Default Values

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.

ANCPW122=0
p1E1=0.00
ANCPW182=0
p1E2=0.00
ANCPW183=0
p1E3=0.00
ANCPW242=0
p1E4=0.00

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.

View Replies View Related

Default Port

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.

View Replies View Related

Default Dates

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.

View Replies View Related

Default Date

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.

View Replies View Related

COM Components Available By Default

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.

View Replies View Related

Reset To Default In SQL

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?

View Replies View Related

Non-Default Web Site

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.

let me know what could be wrong.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved