what, was my analysis incorrect?
Printable View
what, was my analysis incorrect?
Coder Puffin:
I think you were correct in your analysis.
I have multiple drives and it opened them both.
When I first looked at the code, thats what I figured it did.
It just takes advantage of code that works with WMP.
I bet if you were to do that on a machine without WMP, it wouldn't do anything.
youall noticed that you got your free cup holder
Here's my question. Coder....where can I get a list of these applications that M$ has defined for their own amusement and ours? >grins<
well it didn't work on my PC at work. I tried it first in Opera, which I'm sure is the reason it didn't work the first time ;)
So I tried it in IE 5 on a 2k machine and it didn't work there either. Perhaps it needs IE 6 to pull this stunt off? I'm no programmer so I don't have a clue what's needed for this to work correctly.
Looking at the code... it looks like you need windows media player installed.Quote:
well it didn't work on my PC at work. I tried it first in Opera, which I'm sure is the reason it didn't work the first time
So I tried it in IE 5 on a 2k machine and it didn't work there either. Perhaps it needs IE 6 to pull this stunt off? I'm no programmer so I don't have a clue what's needed for this to work correctly.
If I remember correctly... on 2k, you have to download that. Or at least a newer version.
I linked a couple of people to that. It worked on some, but not on all.
Quote:
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Creates an object of windows media player
I have two different CD Drives and it also opened them both. I don't know much about code but I think that everbody else is pretty much right about this. For me when I create a CD in Windows Media Player once it is done it opens my cd drive. Somehow this code creates an object making the computer think that it finished writing a cd. Maybe. Thats my assumption.
ah, well I do have Windows Media player installed on this machine right now, but it's only 6.4.09.1121 so it's a bit old.
Interesting. I'll have to try this on one of my home systems and see which one it works on :)
Your analysis was right on, we had written a proof of concept a few years back that used vbscript to format your hard drive over the web. sent that code off to MS and cert and they did nothing about it :( . basically you need to set your internet security settings higher to avoid this type of stuff. So for those of you who it didn’t work for good job you are doing something right :)Quote:
as for the apps that microsoft in which m$ has implemented COM, it is almost impossible to find out what the different objects are. i do know that newer versions of excel, word, etc. can be manipulated as such, and php4 has support for doing so. unless someone has already written one, i will try to write a tutorial on com. does anyone care what language i use?