I want to convert a tab delimited text file to a XML file. I was able to do it with a single character delimiter. But how do i extend it to tabs? I am coding in C# and using Visual Studio 2010.
I want to convert a C# style generic type string, like
System.Dictionary<System.String, System.String>
to it's CLR equivalent:
System.Dictionary`1[System.String, System.String]
and back. Is there an easy way to do this, or do I have to resort to string manipulation?
I have a column in my datatable which is of DateTime Type. I only want the DatePart, hence when I use the ToShortDateTimeString it converts to short date but of string type. Hence when i reassign the string to the column of the datatable it again appends 12:00:00 to it. I cannot change the column type in my datatable. Is there any way to convert DateTime to ShortDateTime directly without converting to string?????
hi.......
i have a problem.i don't know how to convert a html file to pdf file. i want the answer in c#.net,but the must be without use of any convertor. i want full code in c#.so if any body can help me please reply, it is very urgent.
Thanks in Advance
Regards
Sushant jena
Using PHP, what's the fastest way to convert a string like this: "123" to an integer?
Why is that particular method the fastest? What happens if it gets unexpected input, such as "hello" or an array?
Hi, just going through the registry retrieving values and binary is making my file outputer fall.
I was wondering how could i convert Subkey.getValue(value[i]) into a String if the Value type is binary?
Thank you in advance
Hello fellow stackoverflowers, quick question. I'm using C# 3.5 and I have a date that comes in as string in the following format:
Tue Jan 20 20:47:43 GMT 2009
First question, what is the name of that format? Second question, what's the easiest and clearest way to convert this string into a datetime? I would love to be able to use a .net API/Helper method if possible.
Thanks a bunch...
How do I convert this:
[True, True, False, True, True, False, True]
Into this:
'AB DE G'
Note: C and F are missing in the output because the corresponding items in the input list are False.
I'm programming in Java using a French machine with an AZERTY keybord. I like to type text with a certain character, the colon, test: hello. When I launch the test, only test is displayed. Are there ways in Java to convert the colon : to the QWERTY equivalent?
I have a direct3d project that uses D3DXCreateTextureFromFile() to load some images. This function takes a LPCWSTR for the path to file. I want to load a series of textures that are numbered consecutively (ie. MyImage0001.jpg, MyImage0002.jpg, etc) But c++'s crazy strings confuse me.
How do i:
for(int i=0; i < 3;i++)
{
//How do I convert i into a string path i can use with D3DXCreateTextureFromFile?
}
I am trying to optimize the database buffer size, but i am finding the
SHOW TABLE STATUS
rather cryptic. I know that the data length is "165719261184"- how do i convert that into actual megabytes?
Hi.
I get from another class string that must be converted to char. It usually contains only one char and that's not a problem. But control chars i receive like '\n' or '\t'.
Is there standard methods to convert this to endline or tab char or i need to parse it myself?
Hi all,
My source gave me the following lat and long codes from Amsterdam. But I can't get them working with Google Maps. Is there some logic behind it, or some kind of algorithm to convert them?
5,237,300,539,279,090 | 489,290,714,263,916
Should be something like this:
52.378268, 4.888859
How can one tell where the dots should be?
Thanks!
i am looking for a way to convert the Arabic numerical string "??????????" to an English
numerical string "0123456789"
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
dim Anum as string ="??????????"
dim Enum as string =get_egnlishNum(Anum)
End Sub
private function get_egnlishNum(byval _Anum as string) as string
'' converting code
end function
I'm wondering how you can convert Word .doc/.docx files to text files through Java. I understand that there's an option where I can do this through Word itself but I would like to be able to do something like this:
java DocConvert somedocfile.doc converted.txt
Thanks.
I have a hex string(lenght 48 chars) i want to convert to raw bytes with the pack function in order to put in in win32 vector of bytes.
could someone help how i can do this with perl ?
Good day everyone and happy holidays.
I'm trying to create a "simple" program that allows me to create a list of video files (Youtube video's to be precise) that are then run through by my program and converted any given format to pure MP3 audio. For this purpose I'm trying to use the BASS.dll and well it isn't going so well.
I was wondering if anyone has used BASS to convert from one audio format to another?
Or is there another library better suited for this?
Can someone help me complete this PHP function? I want to take a string like this: 'this-is-a-string' and convert it to this: 'thisIsAString':
function dashesToCamelCase($string, $capitalizeFirstCharacter = false) {
// Do stuff
return $string;
}
In my java application i am having latitude information in this format 28"41'44.13597 .
My need is to convert the same information into 28.705450.
Please help through code or any references
Thanks in advance
Hello,
I can say I don't know what I'm asking for help,because I don't know the format,but I've got a picture.
I have a byte[] array ,how do I convert it to that format below(in right)?
Its not plain ascii.
I have a game of jeopardy that I made in PowerPoint and I was wondering if I could have a Silverlight application read the ppt file. Or is there a way to convert a .ppt file to a Silverlight readable format?
Hi..
I have a hex string and i want to convert it utf8 to insert mysql. (my database is utf8)
hex_string = 'kitap ara\xfet\xfdrmas\xfd'
..
..
..
result='kitap arastirmasi'
How can i do that?
Best regards.
Hi,
I am trying to convert an integer number in C into an array containing each of that number's digits
i.e. if I have
int number = 5400
how can I get to
int numberArray[4]
where
numberArray[0] = 0;
numberArray[1] = 0;
numberArray[2] = 4;
numberArray[3] = 5;
Any suggestions gratefully received
--dave