Hello,
I have a msi package that have option to install two different languages , is there a way to detect the parameter responsible for selecting the language so I can use the command prompt to install the package silently (unattended installation) ?
Thanks
...
Hi,
I'm looking into using MVVM and while I understand it for the most part, there is one thing I can't get my head around.
Imagine I have a View and ViewModel combination that show a list of foobars. When the user selects a foobar in the list and clicks the edit button I want the foobar to be shown in a popup dialog window so it can ...
EDIT I don't want to use Java Web Start
I've got a Java application that I'd like to run with different VM parameters depending on the amount of memory the system it is launched on has.
For example if the machine has 1 GB of memory or less I'd like to pass "-Xmx200m" and "-Xmx400m" if it has 2 GB and "-Xmx800m" if it has 8 GB (these ar...
I need to call a function in an unmanaged .dll written in C lang from vb.net. The function declaration looks like this
LONG _stdcall ReadInfo(char *reply);
Now the behavior of this function is that it copies some data in argument "reply" and returns a numeric value which signals its pass/fail status. How do i pass it a string object so...
I'm attempting to define an extremely simple utility method that will save me from having to use a calculator to define RGB values as percentages. When I look into Apple's sample code called "QuartzCache", in the DrawView.m file, line 96, I see this:
float whiteColor[4] = {1, 1, 1, 1};
However, when I attempt to created a method like ...
Hello,
I am currently doing something like this:
myFunc(tracer);
function tracer(message:String):void{
trace(message);
}
function myFunc(callback:Function):void{
callback("Hello");
}
Now, this works fine. But how can the function myFunc know, if the given callback function accepts the correct number and type of arguments in its si...
Are there techniques for this, or does it come down to the individual language and compiler?
...
I have an URL like this /home/action/id
How can I access this id in view?
...
i have 2 link on page PictureList
<%= Html.ActionLink("pic", "PictureList", "Admin")%>
and
<%= Html.ActionLink("pic", "PictureList", "Admin", new { id = item.MenuId })%>
after click on second link, first link catch id parameter. how can it be solved?
...
Hello,
What is wrong with this code. The code is finding the javascript and debug1 shown. If I remove the parameter p the code also founds mycontrol action and debug2 is shown.
View:
function method(p) {
alert("debug1");
$.post('../MyController/MyAction/' + p, function() {
alert("debug2");
$('#panel').empty().h...
Hello,
I'm learning about VB.Net and need to work with an SQLite database using the open-source System.Data.SQLite ADO.Net solution
The examples I found in the HOWTO section are only in C#. Would someone have a simple example in VB.Net that I could study to understand how to use transactions when INSERTing multiple parameters?
FWIW, h...
Hello,
I want to change the field title to integer max value 21......... not 200 chars only.
When I change the value 200 of Size and confirm OK button a 2nd Dataset1.designer file is created and I get a lot of duplicate variable errors... I already changed the value in the designer and saved everything ok, but when I check again the ...
When I try to mock a class using Moq the method attribute gets inherited to the mock class, but not the parameter attribute.
Basically the row "let a = (ArgumentsAttribute) p.GetCustomAttributes(typeof (ArgumentsAttribute), true).SingleOrDefault()" doesnt return the attribute.. Run the code to see where it fails.
How do I make this tes...
Hi. I am developing a java client for a web service.
I have this method in my web service:
@WebMethod(operationName = "test")
public Integer test(@WebParam(name = "number")
int number) {
return number;
}
My client looks like this
public static void main(String[] args) {
try {
String BODY_NAMESPACE_VALUE = /namespace url/;
QName ...
I'm listing the data from one of my models in a table
<% @events.each do |event| %>
<tr>
<td align="center"><%= button_to "Add", :controller => 'personal', :action => "add" %> </td>
<td><%=h event.name %></td>
<td><%=h event.description %></td>
<td><%= link_to 'Show', event %></td>
<td><%= link_to 'Edit', event %></td>
<% end %>...
Here is the code:
class Time {
public static void printTime (int hour, int minute) {
System.out.print (hour) ;
System.out.print (":") ;
System.out.print (minute) ;
}
public static void main (String[] args) {
hour = 11 ;
minute = 30 ;
printTime () ;
}
}
Here is what terminal says when I try to compile it:
david-allenders-macb...
Hello Folks
In my android app i'am going to implement my strings with Internationalization.
So currently i got a problem with the grammar and the way sentences build in different languages.
For example:
"5 minutes ago" - english
"vor 5 Minuten" - german
So my first question is, can i do smth like this in strings.xml:
<stri...
Are there any ressources on what the parameters in a Google query mean? Any analysis how the Google search pages work internally?
Examples would be
http://www.google.com/#hl=en&source=hp&q=lol&aq=f&aqi=&aql=&oq=&fp=45675624562456
or
http://www.google.com/url?sa=t&source=web&ct=res&cd=11&v...
I've got an offline html page on my hdd with some javascript that does different things depending on the url parameters. when I open this page in firefox and opera everything works fine but IE does not allow me to attach anything to the url. it shows an error that reads "windows cannot find 'filename'". I guess the IE takes it for a fil...
Jeff Atwood asked the original question about parameterizing a SQL IN clause, but I want to do this with an integer column. If I try the code from the original post I get the following exception, which makes sense:
Conversion failed when converting the
varchar value '%|' to data type int.
Anyone try this before?
...