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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

2 Delphi questions

  • 11-05-2004 8:37am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 1,560 ✭✭✭Boro


    Thanks Hostyle

    Those links worked a treat.

    Been googling in vain - must have missed them.

    Cheers


Advertisement