Search Results

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: obscured47
Forum: ASP.NET Jun 12th, 2009
Replies: 0
Views: 259
Posted By obscured47
Hi,

I was wondering if there is a nice way to have the System.Web.Cache in sync with a file.

I'm looking to keep a mapping object (an array of objects with a couple of properties) in cache and...
Forum: ASP.NET Apr 9th, 2009
Replies: 2
Views: 483
Posted By obscured47
Thanks, I didn't think of the Attribute solution.
Forum: ASP.NET Apr 6th, 2009
Replies: 2
Views: 483
Posted By obscured47
Hi everyone,

A very specific question..

I've got a ConfigurationElement class that has some configuration elements. At the moment, the config is something like this..

<Hello>
<A...
Forum: C# Nov 17th, 2008
Replies: 3
Views: 1,237
Posted By obscured47
Environment.SpecialFolder.MyDocuments could be useful for you :)
Forum: C# Nov 15th, 2008
Replies: 4
Views: 462
Posted By obscured47
Sorry for not replying earlier. What LizR described is what I was pretty much lookingfor. Cheers :)
Forum: C# Nov 12th, 2008
Replies: 4
Views: 462
Posted By obscured47
Hi guys,

I have a type that implements an abstract class that is known at compile time and I want to construct at run time an instance of the type and place the reference in a variable that is of...
Forum: ASP.NET Oct 6th, 2008
Replies: 0
Views: 413
Posted By obscured47
Hi,

I've read some msdn pages about fragment caching etc but I'm still unsure about something.

I've created a server custom control that acts on a text field using it's id. So it has TextID...
Forum: Java Apr 19th, 2008
Replies: 0
Views: 435
Posted By obscured47
Hello gurus!

I have a very annoying problem with the font on a server-client program I'm working on. Probably that it's a server-client thing doesn't matter. Anyway, I want to use custom font on...
Forum: Java Feb 3rd, 2008
Replies: 0
Views: 1,193
Posted By obscured47
Hi guys,

I have a hexagon class that given the side and the angle of the hexagon, it draws it on the screen (using Polygon class). I need to fill that hexagon with an image. It works if i have a...
Forum: C++ Jan 3rd, 2008
Replies: 5
Views: 1,260
Posted By obscured47
Forum: C++ Jan 2nd, 2008
Replies: 5
Views: 1,260
Posted By obscured47
Sure,

Say I have:
class custom_exception : public std::runtime_error
{
public:
custom_exception(string msg) { cout << "Error: " << msg << endl; }
};

and then in my main:
Forum: C++ Jan 2nd, 2008
Replies: 5
Views: 1,260
Posted By obscured47
Hi again,

Is it possible when throwing a custom exception to pause the program instead of just exiting?
I have a throw customexception("error msg") in my main and I want to print the error msg...
Forum: C++ Jan 2nd, 2008
Replies: 8
Views: 2,046
Posted By obscured47
lol thanks for the replies I'll make them floats and play around with the decimals
Forum: C++ Jan 1st, 2008
Replies: 8
Views: 2,046
Posted By obscured47
Hi,

I was wondering if its possible to get the integer OR float value of a string. If I know it's an integer I can do int x = atoi(str) and atof if its a float but what do I do if I don't know...
Forum: Shell Scripting May 6th, 2007
Replies: 9
Views: 1,889
Posted By obscured47
that was so dumb of me :P thanks
Forum: Shell Scripting May 5th, 2007
Replies: 9
Views: 1,889
Posted By obscured47
thanks for the replies but i still have a problem with it
#!/usr/bin/sh
read no
echo $no | egrep -c '^[0-9]+$' > $y
echo "-->$y---"
when i give a number, this prints 1 and then -->---. It...
Forum: Shell Scripting May 3rd, 2007
Replies: 9
Views: 1,889
Posted By obscured47
hm..well i haven't test it yet but i believe u :P
can anyone tell me whats wrong with my code tho? actually, how can i fix it? is there a trim function?

cheers
Forum: Shell Scripting May 3rd, 2007
Replies: 9
Views: 1,889
Posted By obscured47
ah! sorry error on copy-pate!
if u try that it works, but prints " 1", not "1"
and when u put it in y u get blank string
Forum: Shell Scripting May 3rd, 2007
Replies: 9
Views: 1,889
Posted By obscured47
hey guys, can anyone tell me what's wrong with my code?
im trying to test if the input ($no) is a number:

read no
echo $no | egrep - c "^[0-9]*$" | wc -l > y

y now should be 1 if the user...
Forum: Java May 1st, 2007
Replies: 2
Views: 940
Posted By obscured47
you can put that in a try-catch block. if it fails getting a float it will execute the code in catch block
Forum: JavaScript / DHTML / AJAX May 1st, 2007
Replies: 5
Views: 1,661
Posted By obscured47
great, thanks MattEvans ;)
Forum: JavaScript / DHTML / AJAX May 1st, 2007
Replies: 7
Views: 37,699
Posted By obscured47
You can create a new window using the window.open() funtion. This will help http://www.w3schools.com/htmldom/met_win_open.asp
Forum: JavaScript / DHTML / AJAX Apr 29th, 2007
Replies: 5
Views: 1,661
Posted By obscured47
Hey thanks for the reply,

I still get an error when i have the <hr /> out of a <p>. It says that it shouldn't be there...

I'm afraid I can't change the textarea now, everything depends on...
Forum: JavaScript / DHTML / AJAX Apr 29th, 2007
Replies: 5
Views: 1,661
Posted By obscured47
Hey, sorry if this is a really stupid question but i'm a bit in a hurry, got this coursework due tomorrow and i realised there are some problems with my code.

I have a text area where the user...
Showing results 1 to 24 of 24

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC