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...
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...
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...
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...
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...
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 :)...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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.
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.