Search found 208 matches
- Wed Feb 18, 2009 5:32 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LibUrlMultipartFormData
- Replies: 8
- Views: 6351
If you change the type to image/jpeg does that work any better? The standard mime type declaration for a jpg file (as per http://www.w3schools.com/media/media_mimeref.asp ) is with an "e" in the jpEg reference. If the receiving server is checking to make sure that the right sort of file is being up...
- Wed Feb 18, 2009 7:09 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LibUrlMultipartFormData
- Replies: 8
- Views: 6351
That did not work at all at first. Post formed and looks like it sent, but image was not uploaded. I then put a "put it into msg" right after the POST line. I get empty. I noticed you had "File" in the liburlmultipartFormAddPart. The field name of the file uplaud field is actually "userfile" so I sw...
- Wed Feb 18, 2009 6:45 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LibUrlMultipartFormData
- Replies: 8
- Views: 6351
This is pretty close to the docs example for libURLMultipartformAddPart - so the following should be close. on mouseUp put "http://www.example.com/basic.php" into tURL put empty into tForm put "Upload" into tUpload get libUrlMultipartFormData(tForm, "upload", tUpload) if it is not empty then ##hand...
- Wed Feb 18, 2009 6:42 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LibUrlMultipartFormData
- Replies: 8
- Views: 6351
Ugg there just isn't enough info on these functions. I even found the LibURL docs but with only one example per function its not much help. Ok, i've figured out that I want to be posting to the basic.php url (that is the "action" of the form). Now I have built the post using libUrlMultipartFormData ...
- Wed Feb 18, 2009 1:53 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LibUrlMultipartFormData
- Replies: 8
- Views: 6351
LibUrlMultipartFormData
I am trying to write a script that will upload a file to a php file upload form. (it is one field with a file choose butten then a submit button) Here is the code of the form cut from the source: Select an image file to upload<br> Max file size is set at 793 KB<br><br> <form method="post" enctype="m...
- Sun Feb 08, 2009 6:15 am
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
I had some friends test the app on there machines and so far it's played on all of them so far, XP MCE, Vista, and XP home. I'm really starting to think that time has been kind to the VFW functionality of the Player and it can play WMV9 consistantly. I figure for dead sure ability I could always loo...
- Sun Feb 08, 2009 12:11 am
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
Keyless, I don't mind if you don't believe me, really. I believe I have sufficiently warned you about Rev's incapability to play modern WMV files. I can't do more than that. Best regards, Mark Mark it's not that I don't believe you, clearly you had tested this and found WMP it did not play. I'm jus...
- Sat Feb 07, 2009 11:54 pm
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
WMI is Windows Management Instrumentation and involves managment fuctions for the OS, has very little to do with Video playback or rendering. Here is brief history of Video on windows machines: first: MCI - Windows 3.1 days. Used loose control framwork for all media playing (16-bit) Second: VFW - Wi...
- Sat Feb 07, 2009 11:44 pm
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
As far as I know, Revolution doesn't use WMP and Codec 9. It uses WMI and only WMI. The deceptive part is that it *might* play, depending on circumstances, which I don't know (I have never checked it out and I stick to QT if I can). Best, Mark That is incorrect from what I have read and seen. It is...
- Sat Feb 07, 2009 11:21 pm
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
Keyless, The problem is not getting a WMV to play. The problem is that not all WMVs will play correctly and some WMVs will play correctly on one but not on another machine. The only format that plays 99% reliably is the MCI compatible format (or whatever you want to call it). Best, Mark as long as ...
- Sat Feb 07, 2009 11:09 pm
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
Well I'll be, I added: on Preopenstack set the dontUseQT to true set the dontUseQTEffects to true on preopenstack to my test stack and had someone create the standalone in 3.0 and it actually plays WMV as a standalone. My previous test did not include the dontuseQTEffects to true so it must have sti...
- Thu Feb 05, 2009 5:53 am
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
I confirmed that directshow does infact have a MCI subset so should work with with the player, I remember a stack in Rev onlive that played video with MCI commands, but don't find it now. I did a little Archive diving and found where Scott R decided to add Video for Windows API support (and consider...
- Thu Feb 05, 2009 4:51 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Get a apps window (non rev) to stick to rev stack
- Replies: 8
- Views: 4933
The environment variable isn't going to change or your C++ application: changes to the environment variables are only passed to the child process once, on startup from within Revolution. So you'll probably want sockets or pipes to transfer the locations. Jan Schenkel. actually I was thinking more a...
- Tue Feb 03, 2009 9:30 pm
- Forum: Windows
- Topic: WMV Playing.
- Replies: 21
- Views: 15007
Just wanted to report another good way of getting a nice video player to play WMV (in it's own window though). Create a html page with embedded player in your editor of choice and set it up to play a video file. Save out the HTML and then change the extension to .HTA. You can launch this HTA from re...
- Tue Feb 03, 2009 7:01 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Get a apps window (non rev) to stick to rev stack
- Replies: 8
- Views: 4933
thanks for the info. I was thinking this from what Jan said, I could have the C++ program check an environmental variable that I set from Rev with the Rect location and move window accordingly. Though I actually like Mark's semi-docking idea now that I see what you meant. Though I suppose an externa...