calling exe
-
I am calling a third party exe from a webpage, what I need is, can I set location, size of GUI of that exe from my web page. Thank U all.. kiran
I see - you were spamming the site. You need to explain what you're doing. You can't launch an exe from a web page.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I am calling a third party exe from a webpage, what I need is, can I set location, size of GUI of that exe from my web page. Thank U all.. kiran
Does your third party software provide any API for that ? if yes you can change the Size of GUI.
Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"
-
Does your third party software provide any API for that ? if yes you can change the Size of GUI.
Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"
The third party API is irrelevant, if he launches another app, he's going to use ShellExecute or Process.Start.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I see - you were spamming the site. You need to explain what you're doing. You can't launch an exe from a web page.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Christian Graus wrote:
You can't launch an exe from a web page.
why sir ? we can launch as exe as process. then what is the problem ? This is just an example.
protected void Button1_Click(object sender, EventArgs e) { Process P = new Process(); P.StartInfo.FileName = "C:\\windows\\notepad.exe"; P.Start(); }
please explain .Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"
-
Christian Graus wrote:
You can't launch an exe from a web page.
why sir ? we can launch as exe as process. then what is the problem ? This is just an example.
protected void Button1_Click(object sender, EventArgs e) { Process P = new Process(); P.StartInfo.FileName = "C:\\windows\\notepad.exe"; P.Start(); }
please explain .Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"
Abhijit Jana wrote:
we can launch as exe as process. then what is the problem ?
You can launch EXE, no problem. But it will be launched on the server and not on the client machine. So what's the use ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Abhijit Jana wrote:
we can launch as exe as process. then what is the problem ?
You can launch EXE, no problem. But it will be launched on the server and not on the client machine. So what's the use ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
ohhh :doh: :omg: :wtf: now i have got the answer . Thanks
Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"
-
Abhijit Jana wrote:
we can launch as exe as process. then what is the problem ?
You can launch EXE, no problem. But it will be launched on the server and not on the client machine. So what's the use ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
*grin*
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
The third party API is irrelevant, if he launches another app, he's going to use ShellExecute or Process.Start.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I am Thankfull for ur response. Here I am facing 2 Problems. 1. From my ASP.Net web application I am calling an exe using javascript. Here is my code.
var h;
h=new ActivexObject("wscript.shell");
h=run("c:\\sample.exe /v") ;
h=null;So I am able to run it on client side. But as it is a third exe I am unable to set its location, size attributes. I pleed ur help in this regard. 2. In some other application I need to call a third party exe from my windows application. I am completely new to these C APIs and using dlls in applns, so suggest whate are the APIs to be used in what manner. Where from do I get this information. I feel sorry for confusing you, Thank U all, kiran
-
I am Thankfull for ur response. Here I am facing 2 Problems. 1. From my ASP.Net web application I am calling an exe using javascript. Here is my code.
var h;
h=new ActivexObject("wscript.shell");
h=run("c:\\sample.exe /v") ;
h=null;So I am able to run it on client side. But as it is a third exe I am unable to set its location, size attributes. I pleed ur help in this regard. 2. In some other application I need to call a third party exe from my windows application. I am completely new to these C APIs and using dlls in applns, so suggest whate are the APIs to be used in what manner. Where from do I get this information. I feel sorry for confusing you, Thank U all, kiran
1 - AFAIK, you can't set size and other attributes via JS. 2 - You can use
Process
class and callProcess.Start()
. It allows you to control how the targeted exe should run.All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions