Hello,
I would like to remove a trailing slash from a string. For example if i have a string called
$test = "test/". How would i remove the slash at the end?
Hello,
I want to pass data to a server and store the file there in a database as binary data.
NSData *myData = [NSData dataWithContentsOfFile:pathDoc];
pathDoc = [NSString stringWithFormat:@"<size>%d</size><type>%d</type><cdate>%@</cdate><file>%c</file><fname>File</fname>",fileSizeVal,filetype,creationDate,myData];
Any idea about this?
Thanks you,
Milan
Hello,
is there any ready to go solution within the microsoft framework, regarding conversion of date to day?
For example, i would like to convert this string 21/03/2010 (dd/mm/yyyy) to Sunday
Hello,
I would like to have .class and .java files in a JAR. Thus, I have "bin" and "src" pastes in that JAR. How should I edit the MANIFEST.MF?
JAR
|
-- bin -- .class files
|
-- src -- .java files
|
-- META-INF -- MANIFEST.FM
Im doing this:
Manifest-Version: 1.0
Class-Path: ./bin/
Main-Class: simul.Simulador
But with no success.
Hello all,
i need to get the value of 3 hidden fields in a gridviewrow where the checkbox has been checked & build a querystring with them.
I can only use Javascript, it's not possible to use postback in our framework :s
Any ideas?
thanks
Hello everybody
I'd like to know if and how I can access api calls inside the kernel. I need them to preform several integrity checks on a program of mine running in user mode. But I don't know how I can access the api's and funcions required to do so.
Does anybody know how to obtain the process id of my user mode proces? and how to access all it's memory to preform the check?
Thanks in advance
ps:
My I'm on a windows xp machine
This is not just an idle quip... I wonder if anybody knows if there's an actual design reason why Scala does not support interpolation similar to Groovy and other "syntactically better Javas"?
e.g.
var str1 = "World";
var str2 = "Hello, ${str1}";
hello all,
I am working with images and changing their sizes dynamically from the input I get from the user.
when I change the size of the image first time it doesnot reflect the changes when I click the refresh the page using the browser button the change gets reflected and after that tere is no need to click the refresh button
Please tell how shall I do it so that there is no need to click the refresh button of the browser ,the changes but get reflected at one shot.
Thanks
Ritz
Hello,
Is there any way to generate the good error report from Cruise Control?
I like to get the following things in that report.
The line number of File that break the build
The name of developer who commited that file. (It should not be related to last person who committed because the build might be broken earlier before last person check-in. )
Thanks.
Hello,
I'm looking for a good way to antialias a bitmap i'm generating with actionscript3. My goal would be to achieve this processing from scratch.
I read a lot on the subject but the most common algorithm are looking too loud to work properly within my swf, because i'm using a scale2x algorithm to smooth the edges of my shape. It doesn't have to be colorfull, since my shape is black and white !
Any hint would be appreciated, thanks :)
Hello everyone, I'm implementing a home screen app widget. I was wondering which is better to store/read data: SharedPreferences or a SQLite database? The data is accessed from an AppWidgetProvider (similar to a BroadcastReceiver), and any given instance of the widget displays different data based on appWidgetId. Is one way or the other frowned upon?
Thanks for your time.
Hello,
I have pagination links set-up like this:
http://localhost/?page=2
http://localhost/?page=3
They are wrapped in Anchor links as the HREF attribute. I want to know how can I check first if the HREF attribute for a given ANCHOR contains the query string "page" case sensitive, and if it exists return its number the value after page=
Please give me a straightforward example on this, much appreciated. :)
hello,
I have a little problem using c# to find tables inside Word textboxes.
Using this method (abstractDoc.Tables.Count) I get only the number of the main tables.
What would be the solution to reach the tables that are inside textboxes ?
I thank you in advance.
hi,
hello,I want that i load a xib on tab click after condition check.where i put the condition in my code.i put in view did lode but not working.please help me .......
Hello,
I have been working with the clamshell mobile phone emulator for netbeans. I recently have tested a simple bluetooth application and got an Out of Memory erorr. Is it possible to up the amount of memory the emulator can use?
thanks!
hello today i look at a 3D desktop as below. i feel very code,i want to make one,but i donot know how to begin? how to put desktop icon paste to every aspect of
3d,could you give me some guide or simple example ,thank you.
Hello pip`s,
I have a JTable in Java that has a custom dataMOdel and custom renderer. Now when i select some cell it has a dark blue border around it. I want the selected row to be all highlighted in some colour. How to do that?
Hello,
I am going to develop a new website with asp.net 3.5 and LinqToSQL. For maintainability purposes, how can I modify a Linq class if an attribute is added to a table in the database ?
Thank you.
I have following code snippet:
class ABC{
public:
int a;
void print(){cout<<"hello"<<endl;}
};
int main(){
ABC *ptr = NULL:
ptr->print();
return 0;
}
It runs successfully. Can someone explain it?
Hello,,
I have 3 entities that are not related to each other and I want to get all these entities in one trip to the database how can I do this ??
Thanks
Hello,
Could anyone point exactly where MSDN says thet every user stored procedure returns 0 by default if no error happens? In other words, could I be sure that example code given below when being a stored procedure
IF someStatement
BEGIN
RETURN 1
END
should always return zero if someStatement is false and no error occurs?
I know that it actually works this way, but I failed to find any explicit statement about this from Microsoft.
Hello guys, i define an object:
tempRes = new Object[100000][7];
now after that i fill it up till 100 rows for example.
Now how to delete every object past that(from tempRes[100] too tempRes[10000]).
I need this for a JTable.