Which tool/approach would you suggest to convert of a large 16bit Windows GUI application, written in old Borland Pascal 7 / OWL, to Delphi?
Understanding the pretty heavy differences between OWL and VCL, as well as the differences between the pointer manipulations in 16bit pascal and the state-of-art using of strings and objects in De...
.
private void Form1_Load(object sender, EventArgs e)
{
List<CaclulatedData> tests = new List<CaclulatedData>
{
new CaclulatedData()
{
Bonds = "First Bond",
...
I am programming a small script using PHP and regular expressions
The aim of this script is to extract all links in a page and convert these links to absolute- when it is relative -
I figured how does relative links works but their are some questions also
lets say we have this page http://www.example.com/xxx1/xxx2/xxx3.html
if this pag...
When dealing with sparse matrices, how do I convert Matrix Market format into CRS (Compressed Row Storage)?
...
I have a couple floats that are kinda big. They're around a 100 million.
I would like this number to show like the following 123,456,789.01234
I've found that I can use CONVERT if its a money datatype but this doesn't do the full trick (it leaves off some decimal places).
I have to have commas on the left and five decimal places on th...
Hi,
I have few methods that returns different Generic Lists.
Exists in .net any class static method or whatever to convert any list into a datatable? The only thing that i can imagine is use Reflection to do this.
IF i have this:
List<Whatever> whatever=new List<Whatever>();
(This next code doesnt work of course, but i would like...
I'm using the DriveInfo class in my C# project to retrieve the available bytes on given drives. How to I correctly convert this number into Mega- or Gigabytes? Dividing by 1024 will not do the job I guess. The results always differ from those shown in the Windows-Explorer.
...
I ran the solution conversion for a bunch of reports I maintain, but a handful (about half a dozen) failed to convert. I managed to convert some by hand, but some are different enough that changing the RDL by hand is difficult. Is there a better way to fix these reports?
...
Greetings - My cell phone records videos into a strange (to me) format, .3G2. I would like to convert it to a more common format, like WMV or AVI.
Does anyone know of a simple and free tool that can do this?
Thanks - Jordan
...
Hi all,
I have an older library that uses COleDateTime as a return type in a C++ MFC Dll. When I do a PInvoke, can I marshal that with confidence to a DateTime object? Or should I do something wacky, like convert the COleDateTime into the number of ticks since 1970, and then convert those ticks back to a DateTime object in the C# call...
i'm generating text images with following command sequence
convert -background "rgb(233, 231, 218)" -fill black \
-font media/fonts/FuturaStd-Medium.otf \
-pointsize 13 label:"ğüşıöçĞÜŞİÖÇ" -size 88x18 \
media/images/category_images/food-drink/category-top-row/tr_food-drink.png
which generates the following image.
ğşĞİŞ are proble...
I'm trying to do a simple ajax update of a div from a php file that gets data from a mysql database. One function populates the div, the other adds messages to the database and is called on click of a submit button. I was wondering if someone could give me their equivalents in jquery. Below are the prototype versions.
<script>
function...
I have a MySql database with a certain feild that contains a date.
How can I convert it to a C# DateTime object?
And how do I convert a C# DateTime object so I can insert it to the database?
...
I'm a newbie for C#, i have a lot of libraries are wrote with C++, when I want to call these libraries in C#, i met many problems. I want to know if there is a book or guideline to tell me how to do that.
...
I am looking for a good gem/plugin to convert user-uploaded audio files to different formats. One format in particular that I am interested in is converting to Apple .caf with ima4 compression for inclusion in an iPhone app.
I have been using afconvert on my mac for this so far, but I need to do it on my linux box, server-side. Ideall...
I am creating a two-dimensional list that has consecutive numbers at the end of "day", for use as dataProvider for a DataGrid
i have been accessing them via the command
dg1.selectedItem.day1
dg1.selectedItem.day2
dg1.selectedItem.day3
etc...
is there any way to take the string ("day"+i) and convert it into a (what is it? variable name?)...
I have a Android app. It recieves videos in .flv format which is unplayable by the Android phone. I was wondering how to convert the file to MP4. I could use FFMPEG, but I do not know how I would get it onto the phone, and how it would work on multiple phones if it was compiled for a single one.
...
My application reads an Excel file using VSTO and adds read data to a StringDictionary. It adds only data that is a number with few digits (1000 1000,2 1000,34 - comma is a delimiter in Russian standards).
What is better to check current string being appropriate number?
object data, string key; // data had read
try
{
Convert.ToDoubl...
I received an NSMutableData from a server and now I want to convert it to an NSString. Any ideas about how to do this?
...
Hey,
I'm trying to convert an Image object to a byte array then back to an Image (so that I can store the image in a blob object in an Apache Derby Database).
I can convert an Image to a byte array (code below) but I cann't convert the bytes back to an image. As a further complication I'm using J2ME, so I can't use javax.image.*.
Can y...