5
Contributors
6
Replies
7
Views
10 Years
Discussion Span
Last Post by ntuthuzelojames
0

code to open a File open dialogue box by pressing button. through this, one can load different files in the textbox.

0

hI,

Use "Microsoft Common Dialog Control " , add it from Projects>Components:
"Microsoft Common Dialog Control 6.0"

add it to form and in command Click :

CommonDialog1.ShowOpen    
    FileName = CommonDialog1.FileName

Set "Filter" property to filter particular File extensions

Regards
Veena

0

What would be the code if log book is maintained by the secretary of the company to calculate and manage the leave days taken by the employees. The secretary is able to view the information of an employee except their salary remuneration. The basic principle of the company is that each employee is allowed to take 30 days of paid leave per annum. The system does not allow an employee to take more than 30 days of leave.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.