For example, for this string,
div.img-wrapper img[title="Hello world"]
I want to match the first space but not the second space (which is enclosed in []). What is the regex?
hello
Is it possible in C++ to determine number of variables/fields in the generic class?
for example
// suppose I need metaclass number_members determines number of members
struct example { int i, j; };
assert(number_members::value==2);
I looked through mpl but could not find implementation
thanks.
Hello,
Can multiple SSRS share the same DB? We're getting into an SSRS customization scenario, which may adversely affect our existing SSRS features, and I wanted to see if it was possible.
Thanks.
Hello,
i need to specifi parametr of function witch is nullable.
this dont work:
<message name="SaveRequest">
<part name="serialNumber" nillable="true" type="xsd:int"/>
</message>
please any help is welcome!
simon
Hello, I am starting with spring-roo, so I downloaded it and now I'm trying to export the variable.
To get it, I tryed:
PATH=$PATH:/Users/myUsr/spring-roo/bin
export PATH
PATH variable
my-Name-3:~ myUsr$ echo $PATH
/sw/bin:/sw/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/Users/myUsr/spring-roo/bin
In this path (/Users/myUsr/spring-roo/bin), there is roo.sh
But then, I can not run the command roo as it is suposed to be.
Any idea??
Thanks in advance
Hello,
how can I bind the Content of a ContentControl to an ObservableCollection.
The control should show an object as content only if the ObservableColelction contains exactly one object (the object to be shown).
Thanks,
Walter
Hello all,
I am having a look at this example which makes use of activeX - it does extacly what I need from the description but everytime I try to run the example, I get the error:
Could not load Drivers. The ActiveX
Control could not be started.
I have tried this on IE8 on a windows Vista Machine. What is the problem, how can I get those drivers?
This is my first time with ActiveX.
Thanks all for any help
Hello people,
I have to copy tables from an Oracle database to a db2 v7 one, and in order to do this (avoiding millions of drops and creates) I'd like to know if db2 has a feature like Oracle to enable / disable constraints temporarily without dropping them.
Thanks in advance,
Mauro.
Hello,
Can somebody give me a resource (or just explanation? :-) of what "prototype" is and how it works in Javascript. May be comparison with something in Java? (not really necessary).
But it should be as simple/easy as possible so inexperienced person just learning Javascript would understand (need to explain this to jr designer who is proficient with CSS/HTML, but not with Javascript).
Thank you!
Hello All,
I'm using BoundsChecker9.1 with visual c++. I have a class
class Sample{
public:
vector(AnotherClass) x;
}. When I run my program the BoundsChecker tool reports all push_back() calls such as S.x.push_back(AnotherClass()) as memory leak.. Wouldn't all the elements in vector x will always be deallocated when the Sample class goes out of scope? If so, any idea about why BoundsChecker is showing them as memory leak?
Hello
I'm creating a database structure. I have to store ingoing and outgoing messages and i'm wondering wich is the best way to do this.
2 separated tables or the same tables with an ENUM('in', 'out') column ?
Any suggestion ?
Thanks.
Hello,
I would like to push a video into iPhone simulator to test video picking in UIImagePickerController. Is it possible to do that? And if it possible, could you please provide me with some advices?
Thanks.
Hello,
I have a malformed page to scrape, and have had a hard time getting the correct XPath for YQL. I can scrape individual fields that I need using, for example:
//*[@id="cell_12345"]
But what I really need to do is return all elements who's ID begins with cell_. Something like:
//*[@id="cell_"*]
How do I do this?
Also, if anybody can point me to a good XPath reference it would be very helpful.
Thanks!
Hello
Sun's virtualbox windows binaries are under 'non-commercial' license so can't be used in any company. But source code is GPL. Is it any resource on the network that has a virtualbox compiled binaries for windows?
Added a bounty to see if I can get a little more feedback.
hello all
i have a problem, i have some data in Datacontext and i want to fetch this data how can i achive it
thanks in advance
shashank
button1.DataContext = new DataView(tablename, "field1 in (" + stringbuilder.ToString() + "0)", "field1", DataViewRowState.CurrentRows);
Hello,
I have the coordinates (x,y) of 2 points. I want to build the third point so that these 3 points make an equilateral triangle.
How can I calculate the third point?
Thank you
Hello
I have 2 string arrays, and I would like to return if any of them exists in _authRole array. How is that done?
string[] _userRoles = userdata.Split(',');
string[] _authRoles = AuthRoles.Split(',');
bool isAuthorized = _authRoles.Any(_userRoles ??);
/M
Hello,
i am running eCos with the FreeBSD TCP/IP-stack. Is it safe to have two threads running one to read from a socket and one to write to the same socket?
Well i guess since its the FreeBSD stack the operating system does not matter.
Best regards,
Friedrich
Hello, I am making a twitter application for iPhone, I am trying to add a button which will open Safari, and take the user to their twitter homepage. I have a textfield called username, so the following code does not work, hopefully someone will be able to help me out.
-(IBAction)viewAccount {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.twitter.com/", username.text]];
}
Any help is appreciated! Thank you!
Hello everyone! I have to write a method on C# that associates a certain key ( from the keyboard) to a specific button.For example.... if I press "a"....... the button that I created on a form application should appear like if it is being pressed. I dont really know how to do that and I would appreciate your help! :)
Hello, I have a written a game that works fine on the 'normal' 320x480 screen of my G1.
I tried it on a friends Xperia x10 and it leaves a large blank section on the right hand side of the screen.
How do I fix this? I've read that I need to include an extra directory in res/drawable for different densities. How do I do this?
Thanks for any help
Caroline
Hello all,
I have created Maven project. It allows only single time Clean & Build. On next Clean & Build, it gives me error. But, on running it, it can give output successfully. What is reason for it?
Please reply.
With Regards,
Sarang Dave
Hello,
I found great explanation about the new RTTI in Delphi,but I don't understand one important thing about all I have read so far - Where can I use that?
What is it supposed to replace?
Thanks in advance.
Hello. Does anyone know how to remove the "click" sound you get when navigating to another page, when using a WebBrowser on a WinForm? I would have thought they would have included an option to choose weither you want it enabled, but they didn't. Thanks for the help!