Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

2 Delphi questions

Options
  • 11-05-2004 9:37am
    #1
    Registered Users Posts: 1,560 ✭✭✭


    Hi, using Delphi 5. Havent been programming in it very long.

    Im just having trouble doing 2 things and i wonder if anyone out there can give me a hand.

    #1 I want to rename folders. Basically a bit of code that reads a checkbox, and if a certain item is checked, then it renames a folder to something else (eg c:\temp\ to c:\perm\). Ive been trying to do it with DiskControls but i havent been having any luck. Any pointers would be appreciated.

    #2 How do you call an exe from your code? ie if someone clicks a button, how do you call (say telnet.exe) from your onclick procedure?

    thx


Comments

  • Registered Users Posts: 1,268 ✭✭✭hostyle


    Bearing in mind I've never used Delphi, but a google brought me here and here

    Hope that helps


  • Registered Users Posts: 1,560 ✭✭✭Boro


    Thanks Hostyle

    Those links worked a treat.

    Been googling in vain - must have missed them.

    Cheers


Advertisement