When button is pressed from Forms of MS-Access, a file open dialogue box is displayed. I need the VB code.

Re: Code of File open dialogue box 80 80

which vb code u need

Re: Code of File open dialogue box 80 80

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

Re: Code of File open dialogue box 80 80

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

Re: Code of File open dialogue box 80 80

Thanks for ur help.

Re: Code of File open dialogue box 80 80

thanks for help

Re: Code of File open dialogue box 80 80

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.