Hi All,
I have senario in which one view and view has binding with multiple ViewModel.
Eg. One View displaying Phone Detail and ViewModel as per bellow:
Phone basic features- PhoneViewModel,
Phone Price Detail- PhoneSubscriptionViewModel,
Phone Accessories- PhoneAccessoryViewModel
For general properties- PhoneDetailViewModel
I have...
I heard from http://stackoverflow.com/questions/2208522/ffmpeg-on-iphone-modifying-video-orientation post that we can create command line arguments with the options and pass it to ffmpeg main() method.
anybody who knows how to do this, pl provide some code.
I need this to capture images, encode them and stream from iphone device.
Mohan
...
This is MVVM application. There is a window and related view model class.
There is TextBox, Button and ListBox on form. Button is bound to DelegateCommand that has CanExecute function. Idea is that user enters some data in text box, presses button and data is appended to list box.
I would like to enable command (and button) when user ...
I have a ContextMenu whose items are all bound to commands and enable\disable correctly after ANY Command is invoked from another source but prior to, they are all disabled. So if I run the app, all the MenuItems are disabled but if I invoke any of the bound commands from another source (buttons, for instance) they become synchronized w...
I need to create hot-keys for every control + number combination and would prefer not to have create ten commands. Is there any way to do this?
...
Is there any example on DOS Batch - Find and Replace command for files?
I need to find all files with some exact name in a folder (and its sub folders) and replace tham all (one by one for ex) with another known file
...
It is a simple question to which I am not able to find the answer:
Given a LaTeX command, how do I find out what package(s) it belongs to or comes from?
For example, given the \qquad horizontal spacing command, what package does it come from? Especially troublesome since it works without including any package!
...
I am coding a simple login UserControl with two TextBoxes (Username and Password) and a Login button. I want the Login button to be enabled only when the username and password fields are filled in. I am using Prism and MVVM. The LoginViewModel contains a property called LoginCommand that is bound to the Login button. I have a CanLoginExe...
Im deriving from a third party control. It is implementing ApplicationCommands.SelectAll. However the behaviour i want is slightly different. there is no virtual method i can override, and when i register a class handler, like so
CommandManager.RegisterClassCommandBinding(typeof(MyDerivedControl), new CommandBinding(ApplicationComm...
Hey I have run into the following problem when attempting to build a program in java which executes commands on a remote linux server and returns the output for processing...
Basically I have installed Cygwin with an SSH client and want to do the following:
Open Cygwin,
Send command "user@ip";
Return output;
Send command "password";...
The LaTeX code provided below shows the usage of the command "\indent" as it appears in the document, but it does not produce the desired indentation within the document. Is there a specific package associated with the command "\indent" or "\="? I am asking for a step by step method of producing an indentation within a document for only ...
In a test project based of the nServiceBus pub/sub sample, I've replace the bus.publish with bus.send in the server. The server sends 50 messages with a 1sec wait after each 5 (ie 10 burst of 5 messages). The client does not get all the messages.
The soln has 3 projects - Server, Client, and common messages. The server and client are ho...
Suppose we have a BASH script running some commands in the background. At some time we want to kill all of them, whether they have finished their job or not.
Here's an example:
function command_doing_nothing () {
sleep 10
echo "I'm done"
}
for (( i = 0; i < 3; i++ )); do
command_doing_nothing &
done
echo "Jobs:"
jobs
sleep 1
...
I'm writing a PHP script that downloads a series of generated files (using wget) into a directory, and then zips then up, using the zip command.
The downloads work perfectly, and the zipping mostly works. I run the command:
zip -r /var/www/oraviewer/rgn_download/download/fcst_20100318_0319.zip /var/www/oraviewer/rgn_download/download/f...
Hi all
Is it possible to specify the position of the mouse as the value of the Parameter property of a Command in XAML. Something like the following:
<UserControl.ContextMenu>
<ContextMenu>
<MenuItem Header="Create Link"
Command="{Binding CreateLink}"
CommandParameter="{Bi...
Hi all
I have an mp3 player that sends MCI commands to play pause/ff/rw/stop the audio files etc and the only thing i can't figure out how to do is send an MCI command to tell it to play the next song when the current one's finished playing.
The songs are in a ListBox. I have no problems actually selecting the next song, I just need to...
Hi All,
I'm currently working with CKEditor (http://ckeditor.com/). I'm looking for:
1) an exhaustive list of commands available by default via 'execCommand'.
2) a mechanism by which to set styles (as in the same way the FONT and SIZE combo boxes do it). I saw the function called 'setStyle' in the documentation, however it seems ...
I have a menu drop down action in the coolbar. It has 3 sub items that form a radio group. I would like to change the icon shown in the coolbar when the user selects one of these options.
I've googled and seen that I should look at:
org.eclipse.ui.commands.ICommandService.refreshElements(String, Map)
and
org.eclipse.ui.commands.IEleme...
Hi all,
I am new to this kind of application and looking for some sample code how to connect to remote server using SSH , execute commands and get output back using java as programming language.
Thanks in advance.....
Regards,
Devayani
...
I am having trouble binding a Command that is generated up the UI tree to a control. The following example illustrates my point, the CommandBinding in Grid does not act on the InputBindings in Window. Maybe I do not understand the point of commands, but I would like to have a nice solution for child controls to act on user input on the W...