May 15, 2008

Calling Shellexec

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Assembler and Delphi

free web hosting

Calling Shellexec

kvarnerexpress
I am with problem - it would be great to call some external programm from Delphi, wait - till it executes and exits and only then continue work of my Delphi program, how can I do this. I tried ShellExec and ShellExecEx - however - it only calls program and exits - it would be great to registre some handler - which monitors when this called program exits?

Any design ideas for such an problem could be very helpful, thanks in advance


Kvarnerexpress

Reply

Inspiron
I don't know about Delphi and I came across the same problem with I was doing on Visual Basic.
What I did was to call a DOS prompt, you may like to try it.

Reply

DeveloperX
QUOTE(kvarnerexpress @ Aug 5 2005, 07:54 PM) *

I am with problem - it would be great to call some external programm from Delphi, wait - till it executes and exits and only then continue work of my Delphi program, how can I do this. I tried ShellExec and ShellExecEx - however - it only calls program and exits - it would be great to registre some handler - which monitors when this called program exits?

Any design ideas for such an problem could be very helpful, thanks in advance
Kvarnerexpress


well... guyz...

CODE

Shellapi.ShellExecute(
application.Handle,'open',pchar('program path'),pchar('parameters'),'',1
);


Note:
last parameter (1) gets window state!

maximazed, minimized, normal,focused,unfocused and so on...

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. shellexec - 3.04 hr back.
  2. shellexec in delphi - 13.05 hr back.
  3. shellexecex - 23.11 hr back.
  4. delphi shellexec - 7.44 hr back.
  5. visual basic shellexec - 84.06 hr back.
  6. shellexec delphi - 148.51 hr back.
  7. shellexec" "delphi" - 162.04 hr back.
Similar Topics

Keywords : calling, shellexec

  1. Image Calling Problem Solved
    I was having issues trying to call an image from a folder. (1)
  2. Calling All Bf2142 Clans!
    (0)
    There are very few EU leagues left in the world of BF2142, so calling to all dedicated BF2142,
    sign-up now! Sign-up to a league, ladder, a cup, anything! The activity in competitve
    sports for BF2142 is dropping. Here are 3 of the ladders which are active for BF2142:
    http://www.esl.eu/eu/bf2142/ http://www.enemydown.co.uk/game.php?game=2142
    http://clanbase.ggl.com/rating.php?lid=2856 Sign-up your team, today. It's worth it. Lots of
    fun to be made!....
  3. Calling All Css Experts (i Need Some Help)
    (5)
    Ok, whenever I try to code a web site using tags I run into one problem... the only run
    vertically... laying on top of one another...... I know there is a way to get div tags to run
    side-by-side... but how? (Diagram of what I mean) When I attempt: CODE
    ************************* Banner ************************* ************************* Content Area
    ************************* Content Different Content Area ************************* What I want
    to happen: CODE ************************* Banner ************************* Content Area     *  
    Content Area      ....
  4. Calling All Internet Marketing Newbies!
    (0)
    For the next two weeks, I will be accepting applications from people who want to learn the internet
    marketing business. This will be limited to Trap17 members ONLY! Out of the applications, I will
    select two or three people to work with me directly as I teach them how to succeed online in
    internet marketing. I am limiting the number of people I help so That I can fully give them my 1 on
    1 personal guidance The requirements to be accepted are as follows: 1. You MUST be computer
    literate. I can’t help you if you don’t know how to turn a computer on or you don’t know ....
  5. Free Long Distance Calling From Computer To Phone
    (4)
    Does anybody know of a website or application that allows you to place FREE long distance calls from
    your computer to an actual phone? I remember there used to be a company called dialpad that allowed
    you to do this. I don't know if they are still around though. I think they started charging for
    the service. All the companies I've found require you to pay. There's gotta be a free one
    somewhere. Anybody know of one?....
  6. Runescape Cheats From Players
    Calling all RS players (2)
    I play RS some of the time and am wondering cheats for RS. I don't know any, but if you know
    some PLEASE POST THE CHEATS. It would help me alot and other ppl too... thanks. Cheats and
    specifically Hacking, are not Topics for discussion here at the trap17 ....
  7. Calling All Game Modders!
    Freelancer: Dark Frontier Mod Project (0)
    Hello All. The game being modded is Freelancer, is was put out I think in late 2003 and Microsoft
    Ensemble Studios + Firefly were the developers. If you haven't heard of it, don't be lazy,
    everyone can google it. If you have experience in modifying games and are looking for a new project
    consider modding this game with me. I'm new to modding Freelancer and I'm looking for some
    help in my project. What I am looking for are people who can edit models and create new ones, using
    3ds max or milkshape 3d. I'm also looking for people who can work with game ....
  8. Calling A False Variable...
    like $count . $val (6)
    Okay I'm very new to PHP still, although you may recognize me from the threa before, just go
    finished finals so now back to PHP! On one page I accept an input which will tell the next page
    how many form lines to generate, that part I have worked out, or so I think. Because the number of
    forum fields could vary I need to have a number of forum variables, so I used this code: CODE
    echo   "<td><input name=\"wname" . $appendval . "\"
    type=\"text\" id=\"wname" . $appendval . "....
  9. Skype Enables Video Calling
    (8)
    QUOTE Skype users can now download a free plug-in from Dialcom that will enable video
    conferencing using the Skype P2P engine. The Spontania Video4skype, allows any users with a webcam
    connected to their PCs and a Skype account and broadband internet access, to make video-calls using
    the Skype client. Dialcom’s Sponania video plug-in is designed to be integrated with any
    third party VoIP system and Skype just happens to be the first. We’re not quite sure what the
    business model for Dialcom is, but perhaps, like Skype, there will later be paid versions an....
  10. Artists Corner [Calling All Deviants]
    (13)
    If there's a better place to put this thread there and just leave a redirect in it's place here to
    do so. This is a place where you can post all of your artwork onto the forums Please
    follow the following template for posting art CODE [size=18][b]Title of
    ArtPiece[/b][/size] [img]http://<<link to
    Image>>[/img] [b]Artist:[/b]  Your name (Please don't use
    someone elses art/only with permission) [b]Date Finished:[/b] Post the date
    y....
  11. Calling all University students...
    (15)
    Ok, and now for $50... For those who study at the university, where and what do you study?
    I study Classical Languages and Literatures (yup, Latin, Greek and stuff /biggrin.gif'
    border='0' style='vertical-align:middle' alt='biggrin.gif' /> ) at the " Faculdade de Letras da
    Universidade de Lisboa ", (the Humanities section of the University of Lisbon). So how about you?
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
  12. Calling A Variable From A Dynamic List In A Sql Statement
    (2)
    I would be greatful if anyone could help me out, I have been stuck on this for a while. The problem
    is that I have a drop down menu which I get the contents of from a database. Then when I press the
    get details button I want to use the value selected in my drop down menu and pass it into an SQL
    statement to recieve all te relevent info. Everything works if I specify a known variable, but the
    problem seems to be passing a variable in which is part of the array. Below is the code for the drop
    down menu and the Sql statement i'm trying to execute. drop down menu: �....
  13. Calling All Php Programmerss Help Needed
    as soon as possible (2)
    hello people im currently working on an open source web software installer kinda like fantastico ,
    but actually for webservers running apache on windows based systems and the biggest part of this
    will be an update website, where people that have already got this installed can actually update the
    existing packages, i have already figured out how the downloads work but im kinda running out of
    ideas, so if anyone has any idea what i could include please tell me, jus give me the idea and ill
    try sort out the code. so any suggestion all i have got so far is 1.i know how to ge....

    1. Looking for calling, shellexec

Searching Video's for calling, shellexec
advertisement



Calling Shellexec



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE