Results 1 to 5 of 5

Thread: Opening apps..

  1. #1
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27

    Opening apps..

    I would love to know the secret to openning .exe's and setting them with in a form.. everything i have tried comes close but fails... i have tried the shell command works but leaves the file hidden in the task bar.. I am using vb6... I would also like to know how to remove the headers...

    Thanks in advance..

  2. #2
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27
    What nobody know's or is willing to tell me???

  3. #3
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    its written in delphi, but VB isn't that different :

    Launch an app :
    ShellExecute(0,nil,Pchar(AppExeName),nil,Pchar(App Path),SW_SHOWDEFAULT);

    Find app's handle :
    MyAppHndl:=FindWindow(nil,Pchar(AppCaption));

    Set app's Parent, previously it was desktop, now its your object (here a panel) :
    Windows.SetParent(MyAppHndl , MyPanel.Handle);

    About removing header, that's an other story, it depends if your app can accept Windows messages... Have a look on the MSDN, and try a sendMessage(YourAppHandle, WM_BLAHBLAH_REMOVEHEADER.....)
    Now Galileo is real. Muhahahahaha :p

  4. #4
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27
    Thanks for the tips i will try it out..

  5. #5

Similar Threads

  1. RR doesnt unload apps on close
    By Mad Ad in forum Road Runner
    Replies: 1
    Last Post: 07-15-2005, 07:03 PM
  2. External Apps
    By netsuo in forum NeoCar Media Center
    Replies: 7
    Last Post: 12-20-2004, 03:38 PM
  3. External Apps - Having Problems
    By RobIles in forum Media Engine
    Replies: 4
    Last Post: 07-02-2004, 02:38 PM
  4. external apps
    By reda4 in forum MediaCar
    Replies: 6
    Last Post: 11-20-2003, 04:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •