Hello,
How to get file size of pdf,gif,doc etc using xcode.
suppose to i get pdf file form resorce folder so how can i get size of for this file.
is there any way?
Thanks you,
Hello,
I have the following question about JPA:
Can I save the order of the elements in a java.util.List? In my application the order in which I put elements in the Lists is important but after I get those collections from the database the order is not the same (as expected). Can you show me a way to deal with this problem?
P.S. There is not a field in the entities that I put in the collections by which I can order them.
Rosen
Hello everyone
I hope to mask the text input to UITextFiled as:
"ABCDE" to
"*****"
below are my codes without function
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
{
int l=[textField.text length];
range=NSMakeRange(1, l );
string=[[[NSString alloc]initWithString:@"*"] autorelease];
return YES;
}
Welcome any comment
Thanks
interdev
Hello, everyone!
Is there are an easy way to store some of entitie's properties in a column as a bulk, as XML or something? Querieng by those properties of course is not an option, but it still'd be valuble to be able to extend data model without database migration.
Hello guys.
I have a problem. how i can run my hava-aplet directly without embendend in my web page?
If i answer on this question in a few minutes i will pass exam else i going out from university!!! please guys help!!
Hello I have something like this:
if(isset($_POST['btnProm'])){
$idads = mysql_real_escape_string($_POST['idAds']);
require_once("adPromFrm.php");
}
When a button is pressed, a form will appear....
When i refresh the page, the form doesn't disappear, but when i click a link with a query string (thisPage.php?lang=fr...), the form disappears.
I know i m asking the form only if the button is pressed, but how can i ignore the query string.
hello, how can I Select and dont'show duplicates?
actually it's showing like that: apple | apple | apples | apple
this is my code:
$search = $_GET['q'];
$query = "SELECT * FROM query WHERE searchquery LIKE '%$search%' AND searchquery <> '$search'";
Hello,
I have successfully come up to the access_token step along with final oauth_token and oauth_token_secret values.
Now I'm trying to access the Post method given by Yammer API with following request :
https://www.yammer.com/api/v1/messages/?
body=MyMessage&
oauth_consumer_key=Myconsumerkey&
oauth_nonce=1825bbc0f0a2875eb94bdb4d51c0638b&
oauth_signature=JzG4DCWxuP%2B7xT7u3tFZ2zCC8%2BI%3D&
oauth_signature_method=HMAC-SHA1&
oauth_timestamp=1257761059&
oauth_token=Myfinaloauthtoken&
oauth_version=1.0
But I'm getting "Invalid OAuth signature" error.
Can somebody help me in this.
hello all i am able to connect to facebook through api key from my native iphone application i can also send my post to the facebook through my application but i want to retrive that same post into my application please guide me how could i do that
thanks in advance
Hello,
For my site i need to have www included but currently it's saying Under Construction when i go to the site with www.
For example:
www.example.com - gives me Under Construction
example.com - works fine
Where is this configured is it something in IIS or is it something the my ISP should configure?
Hello,
I have a JSON variable defined as:
var myCollection = {
"data": [
{ "name":"Joe", "id":"1" },
{ "name":"Bill", "id":"2" },
{ "name":"Dave", "id":"3" }
]
};
I have a JavaScript function that is responsible for adding items to the data element in myCollection. However, I'm not sure how to add a name/id pair to the collection via JavaScript. Can someone show me how to add to a JSON collection via JavaScript?
Thank you!
Hello,
In a Java method, I'd like to use a Jersey client object to do a POST operation on a RESTful web service (also written using Jersey) but am not sure how to use the client to send the values that will be used as FormParam's on the server. I'm able to send query params just fine.
Thanks in advance.
Hello,
I have a table structure that looks like this:
ID String
-----------
1 A
1 Test
1 String
2 Dear
2 Person
I need the final output to look like this:
ID FullString
--------------------
1 A, Test, String
2 Dear, Person
I am really lost on how to approach this... I looked on a couple examples online but they seemed to be VERY complex... this seems like it should be a real easy problem to solve in sql.
Thank you for all assistance!
Hello Im trying to make a chat program like skype in c# and having some trouble gavring/updating the messages, what i tryed was foreach value in a database add it into listbox1, and i did a timer every second do that.. but it kept adding it again every second repeating like it was on loop
So then i sat down and thought how can i do this, so i come up with webclient download a list of messages by php and foreach line in the webclient add it to a listbox! is there any way of doing this?
Hello,
I'd like to use custom build properties to drive the build process. Is it possible to specify them using VisualStudio user interface? I'd like to avoid editing the msbuild file every time I need to change the property.
Thanks,
Hello.
I'm using the AjaxToolkit in asp.net project c# code.
I have a script managet and an update pannel in my page. It all works perfect.
The only problem is that I can't figure out how to show the Ajax loader gif while the request is processed.
Any idea?
TY
Hello,
I created application which uses wxWidgets library using visual studio 2008. Now I would like to create version which may be run on other machine.
Because right now when I want to run It on another machine there is an error:
the application failed to start because its side-by-side configuration is incorrect.
What can I do to make It work ?
// When I Run The Following Two Lines, I Get The Error Shown Below
var B:Button=new Button();
var lineMetrics:TextLineMetrics=B.measureText('Hello World');
// TypeError: Error #2007: Parameter antiAliasType must be non-null.
From My Point Of View, As Useless Errors Go, This One Is Unsurpassed.
Can anyone point me in the right direction?
hello!
I'm trying to output multiline text with GD+PHP but can't get it working. my php knowledge is really basic.
here's the code, any idea on how to output 2 or 3 lines of text?
$theText = (isset($_GET['caption']))? stripslashes($_GET['caption']) :'';
imagettftext($baseImage, $textSize, $textAngle, $textXposition, $textYposition, $textColor, $fontName, $theText);
Hello,
I want to create user properties in a dotnetnuke module. I know I can create them manually in Admin-User Account. But I want to create them in my module so the user of the module needs not to create them manually.
Hello.
How to get back integrated source code formatting back to Delphi? I suppose I disabled some package or something and there is no more an option in Edit menu to format source. What package should I get back installed to have it on again?
Hello,
I would like to play three or more video streams on my Nexus One with the VideoView class (or other). Unfortunately the other streams always stop after I start the next video. Always one at the same time is playing, but not more - even if I use threads.
Does anybody have an idea how to solve this? Thanks for help.
Hello,
I have a page where dynamic content arranges vertically one below the other.
Content is small boxes & I want to arrange them horizontally next to each other.
How can I achieve this ?
Thanks.
Hello all,
I'm doing some small projects which involve having different syntaxis for something, however sometimes these syntaxis are so easy that using a parser generator might be overkill.
Now, when should I use a own-made parser, and when should I use a parser generator?
Thanks,
William van Doorn