convert

video in format .dwz to other formats

hi all, how I can convert a video .dwz a to format comertial(avi,mp4 etc) or how I can watch it?. Thanks for your answers ...

convert string to integer in c++

Hello I know it was asked many times but I hadn't found answer to my specific question. I want to convert only string that contains only decimal numbers: For example 256 is OK but 256a is not. Could it be done without checking the string? Thanks ...

Convert database field to time format

I'm trying to make my string a nice formatted time but the column in the database isn't set up as a date/time field is there anyway I can do this? Here's my query Dim query as String = "Select * from openquery (devbook, 'SELECT wb.arrival_time FROM web_bookings wb ')" And here's where i'm converting it Session("formattime") = DateTi...

convert textfile to pdf iphone or ipad ?

how to convert a text file to pdf , i achived it by 2 qurtz frame work , but it is time killing, is their any way to convert text files to pdf in ipad. thanks Kumar ...

C#: How do i convert a const override from C++ to C#

The line of code i need to translate from C++ to C#: void GetAnalysisModeName( ON_wString& name ) const; I've tried with: public override void GetAnalysisModeName(string name){} But it tells me that the return type has to be a string. ...

Specify input date format for /bin/date

I'm creating Unix bash script that parses web-server log file and inserts this data into database. So I need to convert timestamp which has format "05/Oct/2010:07:38:40 +0400" into "YYYY-mm-dd". I've tried to use /bin/date -d, but it does not accept given format. I could not find a way to specify input date format for this tool. Is is p...

How to convert an array of strings to an array of floats in numpy?

How to get from ["1.1", "2.2", "3.2"] to [1.1, 2.2, 3.2] in numpy? ...

trouble in converting Generic List coming from a WCF Service to a DataTable

I am confused on how can I use generic methods to parse generic list into datatable/dataset. My setup: 1. I have a class Customers defined in WCF Service Library. namespace Wcf.Sample.ServiceLibrary { public class Customers { public string ID = string.Empty; public string CompanyName = string.Empty; publi...

Batch convert on Mac OS X html files to UTF-8 with Unix (LF)

I am on a Mac OS X with Snow Leopard. I need to batch convert a lot of .htm files that were originally created on Windows to UTF-8 with Unix (LF) line breaks. I can batch rename all of the files .html with NameMangler. I can do a search/replace of all of the files to update all hyperlinks to reflect the extension change to .html u...

Matlab variable type help

How to convert variable of 'struct' type to a matrix in Matlab? How do we convert the q_yearly_w, in the code below, which is of type 'struct' to a matrix with which we can perform normal mathematical operations? %# open the file fid = fopen(Reportq_rwo); %# read it into one big array, row by row fileContents = textscan(fid,'%s','Deli...

Converting LinkedIn XML data to JSON in Java

I am making a LinkedIn app that is primarily written JavaScript and Flash, but all of the data comes from a Java proxy. I need the data to be in JSON, and unfortunately LinkedIn only supports XML. The best solution is to convert XML to JSON on the server before sending it back to the client, but admittedly my Java skills are not strong...

C++ Converting a float to an unsigned char?

I'm new to C++, and doing a bit of googling I thought sprintf would do the job, but I get an error upon compiling that I can't convert between an unsigned char and a char. I need an unsigned char because I am going to print to an image file (0-255 RGB). unsigned char*** pixels = new unsigned char**[SIZE]; vector<float> pixelColors; .....

Android load timezone too long: Loaded time zone names for en_US

Dear all, i just code a snippet code to get date time string as below: public static String getCurrentDate(){ Locale.setDefault(Locale.US); Date date = new Date(); String strDate = date.toString(); return strDate; } But problem is it take too long time (about 2 seconds) to convert from Date to string, Logs: 10-11 17:5...

Convert Doc,Docx to TIFF with delphi

Hi How can i convert doc,docx to TIFF whith delphi? ...

Converting C# Data Types from unknown sources

There seems to be a lot of confusion around converting strings (usually) to their appropriate datatype, whilst validating it on the fly as well. Wherever I look - blogs, articles, code samples, forums.. a few people seem to have a preferred way of dealing with these scenarios. The case is usually a string/object that comes from an unkn...

How to convert the date from the DateTimePicker control into the mm/dd/yy 12:54:30 PM format (Current date time format) ?

I am developing mobile application in C#. I am using the SQLite database to store the data. In the SQLite database I am storing the information related to the customer. In that I am storing the date with mm/dd/yy 12:54:30 PM format. Now I want to retrive the customer data based on start date & end date. I am using the following code Sho...

convert .mov to .m4v with mac terminal

what do i need to type into the mac terminal to be able t convert my .mov files to .m4a its for my iphone project. thank you ...

Convert multiple files using Mercurial's Filter System

Is it possible to convert multiple, on-each-other-depending files using a filter? E.g. instead of converting a.zip to a.txt and b.zip to b.txt is it possible to convert a.zip AND b.zip to ab.txt? The problem is that a.zip and b.zip can't be converted individually, since a.zip contains data which is needed for the conversion of b.zip. ...

Convert array into csv

Hi, I would like to ask on how to convert array into csv file. this is my array: stdClass Object ( [OrderList_RetrieveByContactResult] => stdClass Object ( [OrderDetails] => stdClass Object ( [entityId] => 1025298 [orderId] => 10952 [...

ImageMagick: What is this convert-command doing?

I'm trying to port a PHP script to Ruby and until now I only used ImageMagick to convert from one file-format to another. Meaning: Yes, I'm an ImageMagick newbie. ;-) Somewhere inside the PHP script the following code is executed: $output = array(); $returnValue = 0; $cmd = 'convert '.$pngFile->path.' -resize 1x1 -alpha on -channel o ...