I have created a mde file from a mdb database. I want to open a custom tool bar on the start up form only for the mdb file. Since the files have different extensions, can I set up a condition something like this in the start up form -
If current file extension = .mdb then
Me.ToolBar = "Custom Tool Bar"
End if
However, I can not figure out how to refer to the current file extension.
Any suggestion will be much appreciated.

If current file extension = .mdb then
Me.ToolBar = "Custom Tool Bar"
End if
However, I can not figure out how to refer to the current file extension.
Any suggestion will be much appreciated.
