Hi
I'm attempting to launch an instance of the VideoLAN program from within a java application. One of the ways I've tried to do this is shown here:
Process p = Runtime.getRuntime().exec("\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" \"http://www.dr.dk/Forms/Published/PlaylistGen.aspx?qid=1316859&odp=true\" :sout=#std{access=udp,mu...
Hello,
My problem is the following
Y have two functions that are called from inside a function(method)
If the outcome of the first function is TRUE, the second function runs a select and an update query.
The second function runs a select with the query($sql) command
The update query uses:
$stmt = $db->prepare($sql);
$stmt->execut...
Hi guys
I was just wonderin' in a .bat file, if there was a way to call an external .bat file, or even an *.exe and make it open so it 'snaps' to the top left hand corner of the screen ?
Cheers
...
There are approx 500 sprocs in my SQLSERVER 2000 database; each sproc has a typical Grant Execute statement similar to the following.
GRANT EXECUTE ON [dbo].[sproc_name]
TO [role1], [role2], [role3], [role4], etc...
How to view the names of the sprocs which have grant to a particular role and only that particular role exclusively...
I'm wondering if anybody knows of a way to conditionally execute a program depending on the exit success/failure of the previous program. Is there any way for me to execute a program2 immediately after program1 if program1 exits successfully without testing the LASTEXITCODE variable? I tried the -band and -and operators to no avail, th...
Hi
Currently I have a folder with 6 classes. The main class being called "Interaction".
I compile all the classes by using javac *.java
How do I run the program? When I type "java Interaction" I get errors as the other classes are not being loaded. Its as if I need to link the other 4 classes into the main class. How do I do this?
Im...
I can read now the last line from the FFmpeg procees executed in a cmd window.
with this source using Scripting host model object reference.
Private Sub Command1_Click()
Dim oExec As WshExec
Dim sRow As String
With New WshShell
Set oExec = .Exec("ffmpeg.exe")
End With
Do While oExec.Status = Wsh...
hi, I try to create a big (let's not call it complete :) list of all exec-"able" api functions on windows. please help to extend it.
ShellExecute(), ShellExecuteA(), ShellExecuteW()
CreateProcess(), CreateProcessA(), CreateProcessW()
WinExec(), WinExecA(), WinExecW()
CreateProcessAsUser(), CreateProcessAsUserA(), CreateProcessAsUserW...
I have a PHP script that needs to execute programmes that will work on files that have spaces in the names. Most PHP functions for executing external commands (e.g. exec()) take an 1 string argument for the command line to execute. However then you have to do things like escapeshellarg() to make your input safe.
Is there some way to exe...
Hi all,
I need to execute a fql using facebook dll in asp.net.
The fql is ="select name, profile_url from user where name = 'suresh'". When I execute this i could not get the response . I am getting only empty string.
string response = fbService.fql.query("select name, profile_url from user where name = 'suresh'");
but if i search by...
Hi,
I have developed a web application 3 months ago to show facebook users by searching username.
To access facebook, I have downloaded facebook dll and got application key, and secret key from facebook.
My web application was working fine and displaying records from facebook. yesterday onwards, my application is not working fine. I c...
Does anybody know how I can execute a .sql file from within solution explorer in VS 2008 Professional?
I know you can do this in VS 2005 but cannot find this feature in VS 2008 professional
...
Hello
I want to run a php script every morning, the script would send a mail.
But the mail I get from cron always contains an error message.
Can anybody help?
...
myColl.y = [y for each (y in myColl.y) if (y != myThing.getY())];
I understand what this is doing, returning all the 'y' items that are not the current one...
But, what is the concept called here with the brackets?
I would like to read up on what this is , syntax, etc.
...
Hello,
I want to execute one funtion each time a file gets written with new data (gets modified) and I'm using Python.
How can I do it?
Thanks in advance! :)
...
which method we are using for execute query in wordpress
...
Hello,
I want to execute the shell command:
"C:\Temp\gc.exe 1"
but I want to do it using Visual Basic for Applications.
How can I do it?
Thanks in advance!
...
My Java Swing application generates html file and I want to open it with default browser when it is generated and saved. How to achieve that?
...
Hi,
I am getting a resolution error with some SAS v9.1.3 code.
Here is some code I want to store in a .txt file (called problem2.txt) and bring into SAS with a %INC
%macro email020;
%if &email = 1 %then %do;
%put THIS RESOLVED AT 1;
%end;
%else %if &email = 2 %the...
string registryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
using (Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(registryKey))
{
(from a in key.GetSubKeyNames()
let r = key.OpenSubKey(a)
select new
{
A...