to have a beer would be to go against the teachings of my religion, but I get what you're saying =P
twinscythe12332
Posts
-
C# webpage playing a video from server hard drive -
C# webpage playing a video from server hard driveMurphy's law says I look for something slightly off the topic and find the solution -_- The solution (for future reference) is to include a virtual directory through IIS. This allows you to reference the files as if they were in a folder in your website. I am now going to go hit my head against a wall. Regards, Brad
-
C# webpage playing a video from server hard driveHi Everyone, I have created a placeholder that holds a windows media player object. ds is a DataSet that holds the video's location on the hard drive. here's the code:
PlaceHolder2.Controls.Add(new LiteralControl(
//adjust height here
" <OBJECT id=\"VIDEO\" width=\"640\" height=\"480\" " +
"CLASSID=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" type=\"application/x-oleobject\"> " +
//put url here
"<PARAM NAME=\"URL\" VALUE=\"" + ds.Tables[0].Rows[0][0].ToString() + "\"> " +
"<PARAM NAME=\"SendPlayStateChangeEvents\" VALUE=\"True\"> <PARAM NAME=\"AutoStart\" VALUE=\"True\"> " +
" </OBJECT> "
));Normally this would work fine, except I am trying to access a file that is outside the IIS and on a seperate hard drive, so currently an example of the "url" would be "D:\videos\camping.wmv" The client won't be able to take this because it'll try to locate the file on the client's machine. What I'd like to know is if it is possible to reference a video file outside of the website folder, and how to do that. Regards, Brad
-
List of most ethical companies releasedthat's funny, there is an american company represented in each category... except for banking 0_o
-
What would you like on your tombstone?sort of those "famous last words" types: "this seafood smells dodgy" "damn this curry is killer" "do you think he'll bite?" "plant a cigarette when leaving"
-
PC Gaming on the Out?what we mustn't forget is a PC is a multi-purpose machine whereas most gaming consoles are designed for one purpose: gaming. sure you can put your music and videos on your PS3 and whatever, but the core reason the system is bought is for its gaming capabilities. personally I believe graphics are killing and making the games. you're getting games that are pushing the limits in terms of graphics (requiring you to get that GTX 280 :sigh: ), and are pushing into a more submersive storyline. of course, you also get the games with a pathetic storyline not worthy of the poop you fling at it, that have the unholiest of awesome graphics, explosions, limbs flying everywhere, etc,etc,etc. The only "console" I have is my PSP. it's easy to go anywhere and play, has good enough graphics, can be hooked up to a TV if you really want, and a few good titles. I used to loath consoles simply because their controls were retarded. now I loath them because of all the unique titles that come out ;P console gaming is picking up, but PC gaming is never going to quit pushing the limits of the latest hardware, and is not going to die any time soon.
-
How to speed up my XP notebookwell, I used to use a program called system mechanic from iolo. fixed registry screw ups, could choose which apps i wanted running at start up, delete data permanently (military strength something or other) had a shiny looking super defrag that took 2 to 3 days, and a bunch of other nice little checks and optimizers.
-
Quick PollI had formal training. helped a fair amount. did all the relational database and design stuff, drew pretty pictures with flow charts and stuff, and then eventually got onto the actual programming. did JAVA, and then a half language of C# (ie, without database, like serious basics of it). I then wrote an application that my dad had wanted. suddenly, SQL made sense, I didn't find it to be the major mission it was. I was programming in sharp develop, and my knowledge of syntax grew fairly well. I wasn't reading out of the book anymore =P. learnt asp.net at my current job, have gotten fairly decent at it. but anywho, I feel that the formal training I received helped me understand programming more than if I hadn't had it. after all, alot of what we look for these days is syntax to do something, but understand the logic behind it =P anywho, that's my 2 cents worth.
-
Why is it called plug and play??hmmm, most of the usb and such stuff I used to plug into my machine (XP) used to find drivers that made them at least a little functional... I'm on vista and my one keyboard doesn't work :rolleyes:
-
ContentPlaceHolder Masterpage Issuethank you very much it works hundreds ^^. I've also used an AJAX Update Panel that effectively Fires the event first, then carries on. I'm wondering which would perform better though =/. curse my curiousity.
-
ContentPlaceHolder Masterpage IssueHi, I have a ContentPlaceHolder that is in a masterpage. I have a drop down in my masterpage, and this I am using to try and change certain details in the page(contentplaceholder). My issue is that when the dropdown's selected index event causes the postback (event in master page), it goes into the placeholder code first, before moving out into the masterpage, which seems highly incorrect to me 0_o. any help on this would be greatly appreciated.
-
Costume ideasgo as one of those luge guys (dunno, would you call them lugers?) and find like the least steep slope possible n slide along it. then say "what a rush"... oh wait, work related NVm :sigh:
-
AJAX numericupdownextender issue in asp.netmy problem is that I am attempting to create a page with a numericupdownextender. I am creating a kind of time (1am, 2am, 3am... 6pm, etc)so that it goes up and down through it. the problem I am finding is that when I put 1am etc is that it is jumping up in 2s, and doesn't even decrease (like a normal increment should go 1,2,3, this goes 1,3...). the following is just the snippet for the extender: any help would be much appreciated.
-
Intellectual Property and partnershipsperhaps get some form of "per-implementation" agreement (guess this would count as a license) so that each time they implement your software somewhere, you get a fee.