converter

How do I convert microseconds into a timestamp?

I took this piece from an unencrypted .DAT file: Code: 00 e1 27 17 6f e6 69 c0 Which translates to 63,374,851,375,000,000 in decimal. The units for the number are microseconds. And this huge number cannot bypass the 1st January 1970 00:00:00 format; such a format that most converters use today. So, yes. Is there such a converter tha...

Help with Javascript to C# converter

I find a algorithm writen by javascript,now i want to convert it to C#, Any tool can do this? ...

WPF - Elegant way of disabling and enabling different controls based on different states of the Model using MVVM

Hey guys, I am looking for an elegant solution for the following problem. Let's assume we have a (View)Model with the following boolean properties: Alpha Beta Gamma Delta Next I have 5 controls on the surface that shall only be visible when a condition based on those properties are met. Of course, as soon as one of those properties...

Is there a program to create gifs out of text?

Is there any program that can convert a file into an animated gif by taking the bytes (whatever I see on an editor is seen) and producing them on frames? Im trying to change a large script I wrote into an image so that if I run it, it looks like as if the code is scrolling. I would use photoshop, if I knew how to use it. Even then, the c...

XStream: how to marshal/unmarshal lists in a custom converter?

I have the following class (legacy; not annotatable) that is serialized with a custom converter: class Test { // some other variables List<SomeType> someTypeList; } A properly working converter for SomeType is already available. However I want the list to be serialized as if it was annotated with @XStreamAlias("someTypes")....

relational algebra to SQL converter or vice versa

i would like to check if my relational algebra statements are correct, so is there a program out there that outputs relational algebra equivalent of an SQL query? ...

How do I convert a pdf to an image?

How do I convert a pdf to an image (say a .png or .tiff file)? Is there a way to do this without purchasing a third-party component? ...

Interceptions for value converters in Silverlight

Some UserControl uses converters, which usually look like this: <UserControl.Resources> <Converters:CurrentDataConverter x:Key="CurrentDataConverter"/> </UserControl.Resources> I would like to have a base user control for interception of converters, for example, to use Dependency Injection. Would it be possible? Thank you. ...

My DTO object is NOT being saved in the database via the data context why?

hi, i am working on a project and we are using MVVM and Wcf ria services. because of the headache posed by foreign keys whose description must be displyed in grids on UI, i had to resort to using dtos that do the work of joining queries from different tables and returning the descriptions. now the problem is tha when i want to save and...

Help ! download the new Sony HXR-NX5P tapeless camera AVCHD to FCE4 ?

I am on the point of buying a Sony HXR-NX5P AVCHD camcorder. Can I be assured that this WILL work with FCE4? I ask because six months ago I bought a HRV DR60 HDD for a V1 only to find it only did it's stuff with FCPro, not FCE4. This new NXCAM records to SD Memory cards or/and Memory Stick Pro Duo. My computer is a 2.66Ghz, Quad Core ,...

Bind a SolidColorBrush to a DataGridCell/CellStyle from a ViewModel

Hello folks, I have a ViewModel with Property int DepartmentColor. Of course I can not bind the int value to a CellStyle in XAML. Should I make a IntToStyleConverter or should I fumble around with the Style class in the ViewModel like convert the int to a SolicColorBrush and assign it to a Style etc... Is the latter the way to go with...

Can somebody give me an example of using jsf converters?

I want to convert the text entered by someone into a textbox into a double(for example), and automatically set up the value of an bean field with that double. ...

Winnovative HTML to PDF and dynamic footer height

Hi, I'm using Winnovative HTML to PDF Converter. First user creates a template form in html. Then this HTML is transfered to Winnovative Converter. The problem is that footers can have different heights on different templates. Can I measure this height and set proper footer height in Winnovative converter? ...

Converter from IP based cameras to Flash player

Hi, I would like to know the file formats that IP based surveillance cameras produces. I would then need to build or use available codec/ source code to convert to a format Flash player 10 can support. These are formats other than the usual .FLV for my website which is run on JBoss with Flex 3. I would like to support as many file forma...

Free - SWF to FLV Converter

I want to convert the SWF files to FLV formats, please let me know if we have any freewares? Any help, please. ...

good tool for indenting JavaScript files

Hi All, Can you suggest any tool to re indent minified JavaScript files and compressed CSS files? ...

Free (preferably) PHP RTF to HTML converter?

Hi, I am writing a converter for an old db app which contains a large amount of user entered RTF text. Ideally, the RAW RTF should be converted to HTML for display in a browser. I have tried rtfparseclass from PHP Classes, which works ok, but seems to be thrown off but some of the embedded font definitions. For example, raw RTF like {\...