I want to strip away all letters in a string, which are not numeric. Preferably a solution made with Regular Expressions or something. And in C#.
How to do that?
In Visual Studio 2008 I know its possible to have one solution with two (or more) projects.
Is it possible OR How is it possible for the projects to share common class files?
For example - Project 1 has a log file handling class. Can Project 2 reference it?
My hope is to increase code re-use and avoid two copies of the same thing that need to be maintained.
The target is Winforms C# (3.5)
Hi,
I want to display a small animated gif image in gridview image column. I tried it but my image is displayed without animation.
Can you have some solution for this??
Thanks.
HI,
I'm new to iphone programming and developing travel application, which retrieve most of it data from remote database.
What is the best way to implement this solution? I thought of generating XML files in server side and getting data via XML files to iPhone app and displaying them...
Is there better implementation to this, thank you in advance?
Waruna.
I feel a little silly asking this, seems pretty simple but I can't find the solution anywhere.
I have a trackbar made in visual studio 2008 and I want to use it to adjust an image threshold but I can't find the code to retrieve the sliders/markers position.
Any help would be much appreciated and I am using C++
I am making a very basic map editor. I'm halfway through it and one problem i hit is how to delete an object.
I would like to press delete but there appears to be no keydown event for pictureboxes and it will seem like i will have it only on my listbox.
What is the best solution for deleting an object in my editor?
How can you suppress the 'Terminated' message that comes up after you kill a process in a bash script?
I tried set +bm, but that doesn't work.
I know another solution involves calling 'exec 2 /dev/null', but is that reliable? How do I reset it back so that I can continue to see stderr?
Thanks
hello friend,
I am using the easy eclipse on fedora Linux system. I have to configure the ucdetector with easy eclipse. which version of ucdetector is suitable with this.Please tell me the solution.
Thanks in advance..................
I have two page one is login and second is attendance..
In attendance page there is two button In and Out visible any one of them at a time..
while i am pressing back button it navigates to previous button instead of previous page. plz give me solution for this..
This doesn't need to be a real time solution, but are there some log files or system messages that could be read to identify periods of time where someone was connected via RDP to a Windows 7 machine?
I'm building a watchdog script for a computer which will be deployed in a remote place and would like to add this metric to a daily status update.
Is it possible to add visual studio macro's to a solution, so they would be checked in by svn ?
If not, how do you deploy your utilities/scripts with your developer team ?
I want to resize a image with DPI 300 or greater..
I want it's DPI to remain intact...
I have used GD library function to resize image cropped but it brings down DPI to 90!!!!!!
please give a solution as my requirement involves no downsizing of DPI
By default, parent_id = 0. I want to select all records with parent_id = 0 and only the last ones with parent_id 0.
I tried this, but it didn't work:
SELECT * FROM `articles`
IF `parent_id` > 0 THEN
GROUP BY `parent_id`
HAVING COUNT(`parent_id`) >= 1
END;
ORDER BY `time` DESC
What could be the solution?
On Unix, is there any way that one process can change another's environment variables (assuming they're all being run by the same user)? A general solution would be best, but if not, what about the specific case where one is a child of the other?
Edit: How about via gdb?
How would I write a SQLite query to select all records from a specific month?
My dates are stored as Unix timestamps. PHP code is allowed in your solution if it's required. SQLite2-compatible queries only, please. :)
Hello: Does anyone have a solution to convert an acts_as_tree model to json that includes all its nodes? I trued using :include=:children, but that only goes down to one single level. Any idea how to iterate the whole tree?
Hi
I would like to know about any Test Automation Solution adopted in Middle ware Testing. Is it similar to automation solutions provided for functional tests? I would like to know in what ways it is similar / different than Functional test automation.
What are the tools which can be used to accomplish test automation in Middleware testing?
Some times while coding i'm sucking at some point. I couldn't come out of the problem easily and this ate plenty of time. Is it this is happening to all? If it is what is the solution and how to approach this problem.
Hi,
Being quite new with PHP, I cannot find any solution why this does not work. The query is OK and the resource is returned. But I dunno why fetch_assoc does not print values. Thanks
$query=sprintf("SELECT ID,NAME FROM USERS WHERE PASS='%s' AND NAME='%s'",mysql_real_escape_string($p),mysql_real_escape_string($n));
$result=mysql_query($query);
if ($result)
{
while ($row = mysql_fetch_assoc($result)) {
echo $row['ID'];
echo $row['NAME'];
}
}
}
hello all,
Please provide me a solution for GetByLatest it is giving me an error
How to use this "GetByLatest"
IList<IRss> news = new Trytable().GetByLatest().Cast<IRss>().ToList();
please help me
Thanks
Ritz
Hi all,
i creating an small application in Delphi 2009. here i got problem that when i run my application in WindowsXP its working but it is not working in Windows95. i know the problem that 95 will not support Unicode. if anyone knows the solution please tell me. and also i have one more idea that converting Unicode to ASCII. is it possible please tell how to do that.
Thanks in Advance
Worm Regards,
Yuvaraj
I want to generate some dynamic data and feed these data in to test cases. But I found that Django will initial the test class every time to do the test. So the data will get generated every time django test framework calls the function.
Is there anyway to use something like the singleton or static variable to solve the problem? What should be the solution?
Thanks!
Hi
i tried to implement a servlet with servlet (in tomcat 6) which act as as a proxy (for browser), it takes the parsed url, use apache httpclient to get the result & push it back to the client (browser), with http it works well, doesnt work with https , seems the problem concerns unsupported CONNECT method in servlet-api & servlet even doesn't see the request
is there any solution/workaround for this?
thanx in advanced
My site has an iFrame that displays content from and second site. I don't control the second site. When a user clicks on a link in the iFrame, I want it to redirect the entire page, not just the iFrame.
I've seen solutions for doing this from the iFrame, but I need to do it solely from the parent. I'd prefer to do it in the code behind, but a javascript solution would be acceptable.