conversion

is there anything exist to convert xml -> yaml directly?

is there any library or way exist from which I can convert my xml records to yaml format ? ...

Implementing "View as HTML" for Word and PDF documents on an intranet

I am looking for a way to implement "View as HTML" (as seen in e.g. GMail) for Microsoft Office and Adobe PDF documents stored in an intranet. Can anyone recommend approaches for this? The intranet consists of multiple .NET sites, so I would prefer a .NET library (one that doesn't launch MS Word on the server) for this capability, but ...

Problems with video conversions through the web (local host)

Hello, I get the following errors when I attempt video format conversions called from the local host: “An invalid media type was specified” for M4V to WMV conversions. “One or more arguments are invalid” for MP4 to WMV conversions. Here are the details of the problems: I’ve written a dll in C# that accepts videos in the formats AVI, ...

Java string to double conversion.

Hi, I've been reading up on the net about the issues with handling float and double types in java. Unfortunately, the image is still not clear. Hence, i'm asking here direct. :( My MySQL table has various DECIMAL(m,d) columns. The m may range from 5 to 30. d stays a constant at 2. Question 1. What equivalent data-type should i be usi...

convert SQL Reporting Services project (.rptproj) to VS 2010

I have an .rptproj that works with VS 2008, but I can't convert it to VS 2010 This link seems to confirm the issue but provides no options: https://connect.microsoft.com/VisualStudio/feedback/details/532664/cannot-open-a-sql-reporting-services-rptproj-file?wa=wsignin1.0 Any suggestions or new info on this? ...

Generating 8000 text files from xml files

Hi all, i need to generate the same number of text files as the xml files i have. Within the text files, i need the title and maybe some other tags of it. I can generate text files with the elements i wanted but not all xml files can be generated. Only some of them are generated. Something might be wrong with my parser so help out please...

Which Perl moudle can handle variety of date formats with unicode characters ?

My requirement is parsing xml files which contains wide varieties of timestamps based on the locales at which they are written. They may contain Unicode characters in case of Chinese or Korean locales. I have to parse these timestamps and put then in a standard format something like 2009-11-26 12:40:54 to put them in a oracle database. S...

.Net Round-trip Types

I making a method that generate a unique string key for some parameters. But the same key if call with same values. I just accept primitive types, string, DateTime, Guid, and Nullable(since I append types together, I can distinguish who is int and who is int?), because I can convert all to string without lost values or precision.(for fl...

Displaying PowerPoint slides on a web page automatically

Anyone know of any Flash components that would do the job of displaying an external PowerPoint file (e.g. .PPT, .PPTX) file in a Flash movie on a web page? Or a way of automatically parsing uploaded PowerPoint docs from a PHP-based CMS and displaying them on a web page. Our client needs to be able to upload a PowerPoint documents on the...

Explicit type conversion

I have read in a book that specifies this : //: C03:SimpleCast.cpp int main() { int b = 200; unsigned long a = (unsigned long int)b; } ///:~ "Casting is powerful, but it can cause headaches because in some situations it forces the compiler to treat data as if it were (for instance) larger than it really is, so it will occupy more spac...

How to convert a SQL Server database (including procedures, functions and triggers) to Firebird

I am considering migrating to Firebird. To have a "quick start" approach I downloaded the trial of a conversion tool (DBConvert) and tried it. I just picked up a random tool, this tool doesn't convert procedures, functions and triggers (I don't think it is a limit of the trial since there is not an explicit reference to sp, sf and trigg...

Excel Time format data getting converted to text value in XML

Hi, Thanks for viewing my question. This is basicaly excel I am working on **Shift Start Time Break 1 Time Lunch Time Break 2 Time Shift End Time** 7:00:00 8:30:00 12:00:00 14:30:00 16:30:00 when I am convertiong this excel to XML from my .Net code the time values in Xcl are getting conver...

How to convert datatable to json string using json.net?

How to convert datatable to json using json.net? Any suggestion... I ve downloaded the necessary binaries... Which class should i use to get the conversion of my datatable to json? Thus far used this method to get json string by passing my datatable... public string GetJSONString(DataTable table) { StringBuilder headStrBuild...

convert string to float without silent NaN/Inf conversion

I'd like convert strings to floats using Python 2.6 and later, but without silently converting things like 'NaN' and 'Inf' to float objects. I do want them to be silently ignored, as with any text that isn't valid as a float representation. Before 2.6, float("NaN") would raise a ValueError on Windows. Now it returns a float for which ...

how to get a byte[] representation from a IP in String form in Java

Suppose I have the IP stored in a String: String ip = "192.168.2.1" and I want to get the byte array with the four ints. How can I do it? Thanks! ...

convert tsql to mysql

Is there an easy way to convert Transact-SQL to MySQL? I am attempting to convert a DB archive of stock ticker symbols and company names. ...

Converting latin mysql data to utf8

I want to use utf 8 right now , but all my data is latin1 , what is the efficient way to convert data . Also I know how to change database's structure(charset) to utf8 , What I want to do is changing charset of existing data . update Here are my old setting , Html output : utf8 Html input : utf8 Php - mysql connection : latin1 mysql ...

converting a timestring to a duration

Hi, At the moment I am trying to read in a timestring formatted and create a duration from that. I am currently trying to use the boost date_time time_duration class to read and store the value. boost date_time provides a method time_duration duration_from_string(std::string) that allows a time_duration to be created from a time strin...

How to make a simple voice recorder in pcm format?

i created a simple voice recording using wav format. my problem is i wanted it to save as PCM format using Tbass components form http://www.un4seen.com. My compiler is delphi. or convertion from mp3/wav to pcm. ...

RTF to TEXT in sql server

I have a RTF field in my SQL 2005 table, I need to convert it to Text and display it. After a quick research I got the following method... create function dbo.RTF2TXT(@in varchar(8000)) RETURNS varchar(8000) AS BEGIN DECLARE @object int DECLARE @hr int DECLARE @out varchar(8000) -- Create an object that points to the SQL Server EXE...