Hello,
I'm having problems decoding a file with "ISO-8859-1" encoding.
For example, I can't decode "%E7" to "ç". Can you help me?
P.S.: I'm using VB.NET
Thanks,
Pedro
Hello everyone,
I am using Silverlight 3.0 + .Net 3.5 + VSTS 2008 + C# to develop a simple video application using the open source slvideoplayer of Silverlight.
http://slvideoplayer.codeplex.com/
For the player, the play control is at the bottom of the rendering video, any ideas how to place play control at the top of video? I have tried hard but can not figure out. Any solutions?
thanks in advance,
George
Hello,
Just wonder how much cost to raise a java exception (or to call native fillInStackTrace() of Throwable) compared to what it cost to log it with log4j (in a file, with production hard drive)...
Asking myself, when exceptions are raised, does it worth to often log them even if they are not necessary significant... (i work in a high load environment)
Thanks
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,
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?
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
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
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,
im using chart control in my website and locallly everything works correctly, but when i try to deploy, the page with chart doesn't work.
i found some kind of solution here:
http://stackoverflow.com/questions/807170/does-the-new-aspchart-control-need-to-be-installed-on-the-server-or-can-it-be-u
but i don't know which dll should i copy and where can i find that bin folder?
Cheers,
Bart
Hello,
How to implement timeout in this code:
Response.Write(@"<script language='javascript'>alert('some alert');</script>");
Response.Redirect(Request.ApplicationPath);
I want to show to user message, and after redirect. But in my solution operations occurs very fast, and alert is not shown.
thanks
Hello
Is there a way in Java to determine if the software is run on an x32 or x64 operating system - and in function of that - include a different jar during runtime?
I am using qtjambi and they wrap the QT c and c++ libraties in an xxx_x32.jar and xxx_x64.jar
Thanks for your feedback
Marc
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 All,
I am new to unit testing. I have done unit testing on controller classes but have never tested modal class. I am using passive view pattern for my application.
I am using Cpp Unit test framework.
Any tips would be highly appreciated.
Thanks
Rahul
Hello,
Can somebody help me with this - I need some tips or code to connect to wsdl service, send XML request and than print response on client side. I only have primer written in ASP.NET and need PHP alternative:
function doXMLRequest(Xmltext)
Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30")
oSOAP.ClientProperty("ServerHTTPRequest") = True
oSOAP.mssoapinit sys_xmlservice, "", "", ""
oSOAP.ConnectorProperty("Timeout") = 600000
myXMLResponse = oSOAP.XMLReq(XmlText)
doXMLRequest=myXMLResponse
set oSOAP=nothing
end function
Thanks in advance! :)
Hello, I'm making a custom message box that lets you copy text, but I wanted it to look exactly like a standard message box, so I would like to set the buttons text to whatever the system language is, as the MessageBox class does.
Does anyone knows how to get that text ("Yes", "No", "Cancel", etc)?.
Hello, I am new to Android and java development. I create a WebView object in the OnCreate function. Now I need to be able to pass this same object to other functions in the code, such as the onOptionsItemSelected function. I currently have it where I just create a new WebView object in each function where I need it, but this slows down the code since it has to recreate it and such.
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,
here is my next question and i hope some one can help me :-)
Is it possible to position a msgbox in wsh/vbs?
I need the msgbox everytime in the foreground. I know that how to position a inputbox, but not a msgbox.
Thanks for help.
Greetings,
matthias
Hello all,
I am looking for an open source implementation of a checkers game to run some game tree searching experiments on. Does anyone know of an implementation?
Thanks,
Pat
Hello everyone,
I want to know if I can create a WebBrowser through code in Vb.NET, instead of dragging a webbrowser into the form. Simple enough to say, I would greatly appreciate your help.
Hello everyone,
How can I assert a fact into a file without deleting the previous fact?
In the following line, when I execute it twice, the second fact overwrites the first fact:
tell('animal.txt'),write(Animal),nl,told.
But when I use assert or assertz it will do nothing.
Help me please.
Thank you :)
Hello,
I have the following problems:
First: I am trying to do a 32-spaces bitwise left shift on a large number, and for some reason the number is always returned as-is. For example:
echo(516103988<<32); // echoes 516103988
Because shifting the bits to the left one space is the equivalent of multiplying by 2, i tried multiplying the number by 2^32, and it works, it returns 2216649749795176448.
Second: I have to add 9379 to the number from the above point:
printf('%0.0f', 2216649749795176448 + 9379); // prints 2216649749795185920
Should print: 2216649749795185827
Hello all
When i try to deploy crystal report application on sharepoint server i get the following error
The vs2008 application works fine locally.But when it is deployed on sharepoint server it gives this type of error..Plz help
Unknown Query Engine Error Error in File C:\WINDOWS\TEMP\EmpReport {C388758D-9AE2-4E60-A4D1-E18BFB6F3703}.rpt:
Unknown Query Engine Error at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
i really cant figure out the issue
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