» Home » command » Page 1
IBAction button to send a command to ip camera to rotate. The command is a html link with username password and CGI command but it redirects to safari
by Ryan in Mobile Programming

I'm trying to make an app in xcode for my iphone to control my ip camera so I've setupa controller with a webview which loads a html link to my ip cam. I've also setup some IBActions linked to some buttons trying to control the camera movements when pressing the buttons (right, left up, down).
Each IBAction linked to the buttons looks like


-(IBAction)camMoveUp
{
[

Rebol Call Command doesn't behave exactly like Dos command (ex with Subversion command line)
by nasy in Programming Languages

This Subversion import command works on dos command line:


"C:Program FilesSubversioninsvn.exe" import c:myproj file:///c:/svnrepo/myproj -m "test"

If I try to send the same command with Rebol Call Command with this script:


Print "This command will and your files to the repository without requiring a working copy"
repo-directory: to-lo

Ruby Command Line: How can I send the CTRL-C command via text in the command line?
by jeffrey in Web Design

I am trying to create a simple Automator droplet that will take the style.less file dropped into it and run the following LESS command on it:


$ LESSC {DROPPED_FILE} --watch


which will monitor the file I have dropped in for any changes and will then automatically update the outputted style.css


FYI: I am using LESS to have


Create a new file for visual studio C++ project from the command line using the /Command option
by Sweden in C & C++ & C#

From the command line, I need to create a new C++ source or header file for an existing project.


I found Visual Studio provides commands to interact directly with the IDE from the command window. The page (http://msdn.microsoft.com/en-us/library/f42eyh2e.aspx) presents the New File Command, but it doesn't say if this command can be in use to create a new file for any specific projec


Redirecting command-line output to keep error messages from showing in the command window
by Madmick in Development Tools & Services

I'm testing the existence of a folder and depending on it's existence I want to run different commands:


DIR %MYDIR% mp > test.txt
IF ERRORLEVEL 1 (
echo/FOLDER DOES NOT EXIST
) else (
echo/FOLDER EXISTS
)

The problem is that if the folder doesn't exist I'm getting this error in addition to the standard output:


How to insert another UPDATE SQL command to execute in this code, which use another SQL command to delete one or multiple records
by Hungary in Programming Languages

I have this code work for deleting one or multiple records from order table when user select order from checkboxes. Now that I have inventory module, I want my inventory record update qty (add the product quantity back to current inventory) once the order had been canceled.


Actually, this shouldn't be problem if the code was implement for delete one record at a time. However, this


how to redirect result “!find …” command to put lftp command
by Allan in Operating Systems

I'd like to put files from result of !find command from lftp.


I tried:


$> lftp -u foo, sftp://bar
lftp foo@bar$> put < !find ./local -type f

But failed!!


This worked:


$> lftp -u foo, sftp://bar
lftp foo@bar$> !find ./local -type f | awk '{print "put "$1}' > /tmp/files.lftp
lftp foo@bar$&g

imagemagick convert command not working correctly in php script but does work from command line
by chuck1723 in PHP

A system call to convert in php worked for years but quit working early this year. All commands that I am using work correctly if issued from the command line using Putty.


A test php file I created to debug this is


<?
$string = "convert -verbose -resize 200x200 "startline/main_menu.png" "image/temp222_main_menu.png" ";
passthru($string);
?>
Running a command in power shell profile script has different behaviour than command line
by Riparian in Network & Servers

then I run cmd /c net use h: /d from the powershell command line it all succeeds


but when I run the same command in the powershell $profile script it asks for a manual confirmation.



Anyone know how to prevent the confirmation please?


How to do Commit and Rollback If Insert command or update command in for loop using c# in windows application
by Fırat Can Başarır in C & C++ & C#

Can any body explain this scenario..


I know using one insert or update or any command with out for loop we can do commit and rollback if any errors in the data.


But my doubt is if i have insert command or update command in for loop then when will do commit or rollback.


Next



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .