HI, hope someone can help!!
Basically, in a form, I want to be able to get a user to either type in the location of a logo to use or click on a button that opens a dialog for them to find the logo. They then press OK and it saves the location (on the local system) to a text box.
Then, when they preview a report, THAT same logo is shown somewhere in the report.
I would presume I would need a common dialog thingy, but I've never used it/one so don't have a cloe where to start. I found some other information in a question asked on EE and that said use the code:
Dim oCDLG As Object
Set oCDLG = CreateObject("MSComDlg.CommonDialog"
oCDLG.InitDir = "c:\"
oCDLG.showOpen
I put that code in an [Event Procedure] for an on Click event. Pressed the button and Nothing happened!!!
I don't mind if the logo is saved somewhere (embedded?) when they click on the find logo dialog and then later referenced in the report. Either way, I want the user to select which logo goes on the report...
Any suggestions would be greatly appreciated.
Aubs
Basically, in a form, I want to be able to get a user to either type in the location of a logo to use or click on a button that opens a dialog for them to find the logo. They then press OK and it saves the location (on the local system) to a text box.
Then, when they preview a report, THAT same logo is shown somewhere in the report.
I would presume I would need a common dialog thingy, but I've never used it/one so don't have a cloe where to start. I found some other information in a question asked on EE and that said use the code:
Dim oCDLG As Object
Set oCDLG = CreateObject("MSComDlg.CommonDialog"
oCDLG.InitDir = "c:\"
oCDLG.showOpen
I put that code in an [Event Procedure] for an on Click event. Pressed the button and Nothing happened!!!
I don't mind if the logo is saved somewhere (embedded?) when they click on the find logo dialog and then later referenced in the report. Either way, I want the user to select which logo goes on the report...
Any suggestions would be greatly appreciated.
Aubs