Hello friends, how can I convert a source.result from AMFPHP into ArrayCollection? the function I'm trying without success is the following:
public function listrecordsmail(source:ResultEvent,arrayDefinitionsargs:Array):void {
//listamailsend.dataProvider = source.result;
var array:Array = ArrayUtil.toArray(source.result);
Se...
I am currently working on a project where I need to secure access to downloadable files. The solution I want to implement is to have two buttons next to each document. One that says Editable and the other read-only (depending on the users permission they will see one of these or both). The editable will work normally with the browser dia...
Hi peeps,
Can anyone have an idea how to convert images to pdf using PHP?
Any response will be appreciated.
Thanks...
...
Hi folks,
I'm trying convert some decimals to varchar, but they are getting rounded.
Can someone tell me why?
declare @UpperLeftLatitude DECIMAL,
@UpperLeftLongitude DECIMAL,
@BottomRightLatitude DECIMAL,
@BottomRightLongitude DECIMAL
SET @UpperLeftLatitude = 38.663
SET @UpperLeftLongitude = -122.857
SET @BottomRightLatit...
Hi, Here is my code:
$file='C:/a.doc';
$saveas=__DIR__.'/tmp/a.html';
$word=new COM('word.application');
$document=$word->Documents->Open($file);
$document->SaveAs($saveas,8);
$word->Quit();
$word=null;
echo file_get_contents($saveas);
...
I need to send a public key created by RSA by SMS to another phone.
I am converting the 148 byte public key to base64 to be sent by SMS. But it increases the 148 bytes to 200 bytes when converted.
As byte[] cannot be directly sent by SMS, what are the other possible methods of converting them successfully to strings or equivalent which ...
whats the deal with
CharSequence contentTitle = R.string.value;
Error cannot convert from int to CharSequence. Is there a way around this or am i missing something?
i tried
String s = R.string.value + "";
CharSequence contentTitle = s;
it returns integers values.
Any help?
...
Are there any gems / libraries which can be used with Ruby to convert a JPEG into a SWF file with a specific duration?
I need to take a list of JPEGs and convert them into a SWF slideshow.
...
The title basically says it all.
I have a hexadecimal string representing a private key, and for me to be able to use it with OpenSSL, I need to be able to convert it to some format supported by OpenSSL, be it PEM or whatever.
I know that one can read a PEM formatted key and print it out in a format like this:
Private-Key: (102...
I need to convert animated GIF to static in PHP. I mean e.g. use its first frame. Any idea how to do that ?
...
I have multiple rows with time
"42 sec"
"1 min"
"2 h 32 min"
Is it possible to convert this to
"00:00:42"
"00:01:00"
"02:32:00"
with php?
...
Can someone please tell me how to do this in C#?
Convert from Quoted Printable to binary, and then use UTF-8 encoding to decode that binary to text.
Here is example of text I need quoted:
"Commentaires: Je suis abonn=C3=A9 =C3=A0 la livraison =C3=A0 domicile depuis longtemps."
...
What is the best way to take a string which can be empty or contain "1.2" for example, and convert it to an integer? int.TryParse fails, of course, and I don't want to use float.TryParse and then convert to int.
Thanks!
...
I need to convert an ASCII string like... "hello2" into it's decimal and or hexadecimal representation (a numeric form, the specific kind is irrelevant). So, "hello" would be : 68 65 6c 6c 6f 32 in HEX. How do I do this in C++ without just using a giant if statement?
EDIT: Okay so this is the solution I went with:
int main()
{
st...
Dotnet CLR converts the language code to MSIL. While Java Code be converted to Native Code that is platform independent. Can we convert this MSIL to Native Code ? So the Dotnet will automatically become platform independent.
...
double variable = Convert.ToDouble(5/100);
Will return 0.0 but i expected 0.05
What can / must i change to get 0.05
because the 5 in this example is a variable
...
I have this
/([^\/\|\#\<\(\>\;\s][0-9]*[\s][KB]{2})
in order to be specific i had to use [KB]{2}
I get the value needed, but can I convert the final print to MB?
Exemple: match= 2000KB = 2MB?
Thanks
...
I get the file size from the index of the page, it's 1024KB and I want it to print 1MB stead of 1024KB, what should I do? (completely noob here)
I got this:
if($row[2]==1) // Rapidshare Check
{
$index=getpage($row[1]);
if(strpos($index,"FILE DOWNLOAD")===false) //check if page contains the word file download if not = bad link
{...
I have an application I am attempting to convert from a flex 3 air application to a flex 4 air application.
I am running into an issue in my main class. When calling the Instance method on the class I am getting an error:
Access of possibly undefined property Instance through a reference with static type Class.
My main class is pretty...
We have an alpha numeric string (up to 32 characters) and we want to transform it to an integer (bigint). Now we're looking for an algorithm to do that. Collision isn't bad (therefor we use an bigint to prevent this a little bit), important thing is, that the calculated integers are constantly distributed over bigint range and the calcul...