Hello. I try to use this code :
webBrowser.Document.GetElementById("login").SetAttribute("value", "user");
It work great but not when i use it in a new thread. I get an InvalidCastException. What can I do ?
Hello.
Is there analogue of Django Messages Framework (or RoR flash messages) in Java?
http://docs.djangoproject.com/en/dev/ref/contrib/messages/
I want to show a message for user one time.
Hello,
I am a newbie to game programming,I would need the suggestions and help of the wonderful people around here.
I have set of players, and a ball, the players can kick the ball around the ground (not yet a football game, neither a foosball game too ).Are there any algorithms/ patterns for addressing the problems with tracking the ball and taking decisions, Is that too much to ask.What I was looking at is something like a collision detection algorithm for the common problem of 2 objects interacting with one another.
Hello everyone,
I am using scp command to copy file from a MacBook Pro OS X 10.5 to another Linux box (Red Hat Linux Enterprise 5).
I am using the following command on Mac, sudo scp ~/.ssh/mykey.rsa [email protected], there is no output from Mac command line. I am not sure whether the scp is success or not. Where is the location the file mykey.rsa on remote computer 10.10.100.101?
thanks in advance,
George
Hello
Im currently strugglung with annotations. how can i prevent the AnnotationLable for the blue GPS-point. (Here is an Image)
- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(MKAnnotation *) annotation{
if (annotation == mapView.userLocation) {
return nil;
}
the function above isnt working, and i realized that i can't compare two coordinates.
Any hint is welcome. Simon
Hello, I implemented IDispatchMessageInspector and in method AfterReceiveRequest I can receive name of method (action) that calling from client like this request.Headers.Action. Can I found name of service that where this method was implemented? For example I have service Test and two methods Start and Stop and request.Headers.Action for this method like this request.Headers.Action "http://bla.my.com/Start" and "http://bla.my.com/Start" How Can I found name Test and possible this or impossible?
I am using bassistance.de jQuery Autocomplete function.
Have text like "hello to you @john"
I made, Autocomplete run only when character @ is in word.
But when I click on the needed item, it replaces me full text.
How can I do so - to replace only "@john"?
Or maybe there is another Autocomplete plugin for jQuery, which has such ability?
$('#input_line').autocomplete('data.php', {
extraParams: {input: function(){return GetTextareaWord("input_line");}}
});
Hello,
I'm using a rich text editor in my asp.net mvc form (nicedit with a textarea) and when I submit the form on post, because it is not html encoded I get the following message:
"A potentially dangerous Request.Form value was detected from the client" .
How can I html encode the textarea on post ? I don't want to cancel the validation.
Is there a way to use the html.encode helper on submit?
Thank you.
Hello,
How do I qery individulas in my ontology, here is a description of what I would like to do (similar to SQL queries):
I have three classes (components, features, and polarity). The polarity value can be positive_polarity or negative_polarity, both are subclasses of polarity.
a_component hasFeature a_Feature
a_Feautre hasPolarity a_Polarity
I would like to list all components which have a positive_polarity value.
How can this be achieved using the DL Query tab in protege 4?
Thanks for your help in advance,
Hala
Hello. How is it possible to debug rake tasks?
When I write debugger it does not start:
NoMethodError: undefined method `run_init_script' for Debugger:Module
from /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3/lib/ruby-debug-base.rb:239:in `debugger'
from (irb):4
If I run rake my:task --debugger rake returns me to console immediately.
Hello, colleagues. I've got a problem with SilverLight default VS2008 project. Wnen i create new SL project and choose ASP.NET Web Site web project type all is ok, at my browser I see default template. But when I choose ASP.NET Web application, at running I get blank browser screen with js error: "Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings" What's wrong?
Thanks for answer
Hello,
I am trying to use rapidshare apis but dont know exactly how to use it?
http://api.rapidshare.com/cgi-bin/rsapi.cgi?subroutine=getaccountdetails_v1&type=prem&login=MY_USERNAME&password=MY_PASSWORD
after using this i am getting error "ERROR: Subroutine invalid."
Can anybody tell me what is wrong with my link?
Hello,
I would like to create an Entity Framework 4.0 context when a call is received and invoke to save changes when it finish, (something like JPA).
I think it is a good idea because I can use the state for all the call, It is short and encapsulate enogh to be threadsafe and long enough for caching calls and the context itself.
Any idea how is the best way for implement this?
Hi,
I have a question in regards to http://developer.android.com/resources/tutorials/views/hello-tabwidget.html Lots of issues are already discussed but this example only works for me if I in the onCreate() method do NOT use setContentView(R.layout.main); Why is that? What do I have to do if I want to mix a tab layout with other elements?
Thanks.
paradroid666
Hello i have received this message ever since i started building my first iphone program several months ago. I check if a delegate implements a given method. It works but I get this warning. How can i do it the correct way? Thanks in advance.
hello, how would you make a JComponent (panel, frame, window, etc.) fullscreen so that it also overlaps everything on the screen including the windows startbar?
i dont want to change the resolution or anything with the graphics device like bitdepth etc, i just want to overlap everything else.
thanks!
Hello All:
I am creating an Asp.net web site which will support dynamic data. When I am creating a dynamic web site from Scratch (from template in VS) all is working fine. But when I am trying to add dynamic entity (.edmx) file and running the application I am getting following error
"The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'. "
Please help
Thanks
Vinay
Hello!
What I want is to create a Model that connects with other by a has_many in a dinamic way, without the foreing_key like this:
has_many :faixas_aliquotas, :class_name => 'Fiscal::FaixaAliquota',
:conditions => ["regra_fiscal = ?", ( lambda { return self.regra_fiscal } ) ]
But I get the error:
: SELECT * FROM "fis_faixa_aliquota" WHERE ("fis_faixa_aliquota".situacao_fiscal_id = 1
AND (regra_fiscal = E'--- !ruby/object:Proc {}'))
Is my will makeable? I don't wanna black magic solution..
Hello
using Bind in a GridView control template enables the control to extract values from child controls in the template and pass them to the data source control. The data source control in turn performs the appropriate command for the database. For this reason, the Bind function is used inside the EditItemTemplate or InsertItemTemplate of a data-bound control.
Why is Bind() needed to extract values and pass them to GridView. Why isn’t GridView able to extract child control’s values directly?
thanx
Hello,
a few weeks or months ago a (I think jQuery plugin) wizard was released,
which allows you to do interactive "tutorials".
You were able to create interactive boxes which relates to html elements and you were able to change to color of these boxes to red.
It's also possible that it was "just" a javascript script and not a jquery plugin.
Hello, i would like to know how to use two embedded fonts in Flex in tag
i am dynamically loading rss description into it and would like to have first character and characters unsupported by other font be in that first font. i limited the range of char of that second font so all unsupported chars and first char should be in that first font.
thanks in advance , Igor.
if my writing was unclear please let me know.
Hello Experts,
I posted this query here, but as usual, noone knows / no replies
http://www.anddev.org/viewtopic.php?p=41513#41513
How can I launch the android default mail application through the click of a button in my code?
I would also like to know, how this can be done to launch the contacts list also.
Any help in this regard is appreciated,
Regards,
Rony
Hello All,
I am trying to find how can we catch the events of that whenever a scroll bar is moved. Scroll bar can also be moved programmatic-ally so, mouse scroll events wont work here.
I am using Carbon, Mac
Thanks,
Rahul
Hello everyone, Is it possible to extract the certificate number from the pkcs8 private key or from the pkcs10 public certificate file using chilkat RSA active x in delphi?
Thanks
Alejandro Jourdan