Results 1 to 2 of 2

Thread: Shell() works in IDE only

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    1

    Unhappy

    Hello,

    I my current project using VB5 I need to shell to an 16 bit DOS executable. I do this using CreateProcessA. This works under W95 all the time, but under NT 4.0 only when the application is running in the IDE. The Shell function doesn't work either when ran outside the IDE, it gives runtime error 5 then. Normal windowapps are no problem.

    But, when I use VB1 (yes, VisualBasic V1.0) ,there are no problems.

    JJ

  2. #2
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    Try Using The ShellExecute Api Function.

Posting Permissions

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



Click Here to Expand Forum to Full Width