Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. StuckInTheMiddle

    Flex Tree disable certain nodes

    Hi Guys, Been playing with this one for a while and cant seem to find out how i can disable certain nodes on a Flex Tree control. My control is bound to simple XML data, a property of my nodes is enabled='false' and I was hoping that on setting the data that would be enough. I could post...
  2. StuckInTheMiddle

    TextInput change event doesnt fire when changing text programmatically

    I'm still fairly new to Flex and event handling so hoping someone has come across a solution for this. I have a following Flex 3 textinput <mx:TextInput id="myName" text="" change="stateChanged(event)" /> Which works fine when a user makes a change stateChanged event fires and is captured...
  3. StuckInTheMiddle

    Create Movie thumbnails in .NET (.mov, .mpg .avi &gt; .jpg)

    Asked this the other day in the wrong forum, Is it possible to get a thumbnail of a movie file in .NET? (Any movie file format will do, .Mov, .Avi, .Mpg, .MP4 media files for instance) I have cliet that has a web site that accepts user submitted videos, much like youtube but they don't encode...
  4. StuckInTheMiddle

    Create Movie thumbnails in .NET (.mov &gt; .jpg)

    Is it possible to get a thumbnail of a movie in .NET from a video file? (.Mov and .MP4 media files, but any movie file format will do as a proof of concept) I have a web site that accepts user submitted videos, much like youtube but I don't encode anything right now. I just allow them to host...
  5. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    Just thought I'd follow up this post with a WARNING the above API call does not check the contents of the file, it merely tells you the filetype associated with the extension. We discovered this during our unit testing, giving the API call a GIF file renamed as a word doc, and the above...
  6. StuckInTheMiddle

    Start/Stop of Windows service from a web app, not possible right?

    Thanks Jason, I was able to use that, never thought of calling a batch file. I would still be interested to know if the windows service is accessible through a .NET library directly or an API call, so I could get a response to know if it worked or not. But this should keep him happy, for now :)...
  7. StuckInTheMiddle

    Start/Stop of Windows service from a web app, not possible right?

    You guys often seem to have answers to the impossible so here's a puzzler for you. I have a user that wants me to give him permission to a start/stop a windows service via a web page. I have to imagine that such a thing isn't possible, I know we could programmatically do something with a .NET...
  8. StuckInTheMiddle

    Can a ASP.NET web service access a network share?

    Thanks jmeckley for your comments. The issue turned out to be we had to give permissions to the 'fileshare' as well as permissions to the folder to 'Network Services'. I didn't know in a server environment 'fileshare' permissions were needed, once that was done the application to save...
  9. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    Here's the code SHFILEINFO shinfo = new SHFILEINFO(); IntPtr i = Win32.SHGetFileInfo(myfilepath, 0, ref shinfo,(uint)Marshal.SizeOf(shinfo),Win32.SHGFI_TYPENAME); string s = Convert.ToString(shinfo.szTypeName.Trim()); textBox2.Text...
  10. StuckInTheMiddle

    Can a ASP.NET web service access a network share?

    Hi Guys, I have a web service that takes a network address to a word doc as an input and it renames the document (using FileInfo.MoveTo) to something else (not really important). This works great when the webservice is given a C:\ or e:\ drive path, but as soon as a UNC path to the same...
  11. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    Sorry guys, been on vacation and didn't see the post. Will hunt down the code for you from work tomorrow and post then. "If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.
  12. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    It returns the text string 'Microsoft Word Document' which I see embedded in .doc files. Not sure if that's the MIME type, but it's good enough for my needs for now. "If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the...
  13. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    I've decided to just use the API call to 'SHGetFileInfo' in the shell32.dll. I figured that's much better than trying to parse through a string of binary data of the word doc. A, "If you can stay calm, while all around you is chaos...then you probably haven't completely understood the...
  14. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    Thanks ca8msm. I was hoping there'd be something that would tell be 'Word.Document' or 'Microsoft Word Doc' as I can see these strings clearly in the file (at the end) when opened in a text editor. But your suggestion would at least allow me to check, but I agree it doesn't sound very...
  15. StuckInTheMiddle

    How to determine file type of a file, e.g. test.doc

    Hi Guys, Did a forum search and couldn't find precisely I needed so hoping someone can help me out. I would like to check/validate that the files my users submit to my ASP.NET website are valid MS Office documents. Currently I am checking the file extension of the filename, easy enough, and...
  16. StuckInTheMiddle

    Is there a top recognized standard for delivering online content

    Hi everyone I am new to the whole online learning thing and the tools that are available. The not-for-profit company I just joined this month is looking to move the content of their computer training books to be online delivered offer online testing. My question is 'is there 1 best way to...
  17. StuckInTheMiddle

    get 'nice' XML from a Word 2003/2007 doc?

    Hi Rick, Open Office definitely sounds like an improvement, unfortunately my client is a Microsoft only house and has a load of word 2003/2007 documents that they want to catalog and scan through electronically for which they need an XML version of all their office docs. Microsofts 'save as...
  18. StuckInTheMiddle

    get 'nice' XML from a Word 2003/2007 doc?

    Hi Rick I looking to get OOXML, an XML representation of the word document, basic text and formatting. A, "If you can stay calm, while all around you is chaos...then you probably haven't completely understood the seriousness of the situation.
  19. StuckInTheMiddle

    get 'nice' XML from a Word 2003/2007 doc?

    I've asked this in the office forum but didn't get any response, so hoping that you guys can shed a little light on this for me as this will be an VB.NET eventually. Does anyone know of the easiest method of getting good XML from a word doc either 2003 or 2007. Eventually want to be able to do...
  20. StuckInTheMiddle

    get 'nice' XML from a Word 2003/2007 doc?

    Does anyone know of the easiest method of converting a word doc either 2003 or 2007 to 'nice' looking XML. I know there's the say as XML option in 2003, and 2007 natively supports XML, but both these options wrap the usual amount of MS rubbish tags in there. I simply want to have tags that tell...

Part and Inventory Search

Back
Top