dos command flex core
can i execute some dos like command from flex just like attrib c:\a.txt -h. function available in c exec(), in java Runtime.getRuntime().exec(). but in flex is there any available? ...
can i execute some dos like command from flex just like attrib c:\a.txt -h. function available in c exec(), in java Runtime.getRuntime().exec(). but in flex is there any available? ...
I'm trying to create an app for Android that simply sends a command to an SSH server. No response needed, I just need to be able to send a command. I was wondering if there's any java library out there that I could use? No advanced stuff needed, just a pure connection to send the command. ...
I have a static class which contains a RoutedUICommand that I would like to use in binding. public static class CommandLibrary { public static ProjectViewModel Project { get; set; } public static RoutedUICommand AddPage { get; private set; } static CommandLibrary() { AddPage = new RoutedUICommand("AddPage", "Ad...
Question title says it all, really. Need to add lalleg to the end of my linking command. ...
I need to bind the double click event of a textblock (or potentially an image as well - either way, its a user control), to a command in my ViewModel. TextBlock.InputBindings does not seem to bind correctly to my commands, any help? ...
I have a program that I want to automate runs for, since it takes awhile to complete. For some reason it outputs everything to stderr instead of stdout, and I'd like to check on its progress, so I find myself needing to redirect stderr output within a start command. I tried this: start "My_Program" "C:\Users\Me\my_program.exe" --some -...
I have a question concerning Josh Smith's famous demo app on MVVM. I try building a "real" application around it to learn WPF. He creates this CommandsList in the MainWindowViewModel containing 2 Commands (create new and view all customers). This list is readonly (why? any particular reason?). I thougt it would be nice to add and remo...
Hi, I thought I'd post here in the hope that maybe someone with MVVM expertise would be able to offer opinions on whether the following is a good idea: I'm using Sacha Barber's Cinch MVVM framework, which includes Marlon Grech's SimpleCommand class. One thing this class doesn't have which some other alternatives have is a Text property...
I have a Menu where each MenuItem in the hierarchy has its Command property set to a RoutedCommand I've defined. The associated CommandBinding provides a callback for the evaluation of CanExecute which controls the enabled state of each MenuItem. This almost works. The menu items initially come up with the correct enabled and disabled...
I'm working on a .NET program that executes arbitrary scripts against a database. When a colleage started writing the database access code, he simply exposed one command object to the rest of the application which is re-used (setting CommandText/Type, calling ExecuteNonQuery() etc.) for each statement. I imagine this is a big performan...
I have a command which I am executing from my XAML file using the following standard syntax: <Button Content="Zoom" Command="{Binding MyViewModel.ZoomCommand}"/> This worked fine until I realized that I needed TWO pieces of information from the view in order to make this operation complete the way users expect (the width and height of...
Is there a way to do command substitution in BASH shell without breaking output into multiple arguments? I copy the path of some directory (from the location bar in a GUI file browser) to clipboard and then issue the following command, where the command xsel returns the clipboard content, which is the path of the directory in this case:...
Hello, I'm working on automated builds and need to be able to list elements that were worked on under particular activities. I'm new to ClearCase so I apologise for naiivety ... My downstream build process works fine and I now need to populate a 'pre-build' area by identifying the (checked-in) files associated with one or more activiti...
I have been experimenting with object dock and rocket dock. So far I like object dock better, but it takes FOREVER to start up on my machine (more than a minute). I am running on a good computer (quad core 4 gigs ram ect ect) so I don't understand why this is. Anyway I have been using rocketdock instead because of this, but the problem i...
Hi all, In my initial days of using linux I usually had to search google to know the command for doing a particular task. Once I have the command name, i can view its usage using man command-name. Similarly I was thinking of some utility which can tell the command to do a particular task if the task to be done is specified as an argument...
Hi, I've got a view <UserControl x:Class="Modules.NavigationMenu.Views.NavigationMenuView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="300" Width="300"> <StackPanel> <Button Command="{Binding InspectionCommand}">Inspection</Button> <Button Com...
I want to run a dos command from my program for example "dir" command. I am doing it like, system("dir"); Is there any way to read the output of that command directly into a program variable? We can always redirect the output to a file and then read that file, by doing system("dir > command.out"); And then reading command.out fil...
In my XAML I have this command (which is an AttachedCommand which I got from http://marlongrech.wordpress.com): <TextBlock Text="Edit Test Customer"> <Commands:CommandBehaviorCollection.Behaviors> <Commands:BehaviorBinding Event="MouseLeftButtonDown" Command="{Binding ClickEditTestCustomer...
How can I, in Windows, use the output of a script/command as an argument for another script? (A pipe | will not work here, since that other script doesn't read from the standard input) Too clarify: I have AnotherScript that needs an argument arg, e.g.: AnotherScript 12 now I want the argument (12 in the example) to come from the outp...
How to turn screensaver on (windows 7) by a code (in cmd)? ...