How to open MS Access or other applications

Hi,

I have MS Access database on the C drive. i want to open the Access database through lotus notes script.

@Command( [Execute] ; “C:/mydatabase.mdb”)

is working fine in formula language, but i need in LotusScript.

Note: Shell cmd does work to open MS Access db in lotuscript.

Any sample code or clue to open MS access or other applications through lotuscript

Thanks in advance.

Imtiaz

Subject: How to open MS Access or other applications

Following code will open MS Access. Just change the path of MS Access executable.=========================================

Sub Click(Source As Button)

Dim result As Integer

result = Shell("C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe",1)

End Sub

Subject: RE: How to open MS Access or other applications

Thanks Javed for your Response,

Actually i want to open my MS Access database ‘MyAccessDb.mdb’ from C drive. Your code only open the MS Application (MSAccess.exe).

By i ask your country/city. …:slight_smile:

take care.

Subject: How to open MS Access or other applications

Hi Javed thanks for your reply,

Actually i want to open my Accesss database (mydb.mdb) rather than opening MS Access application(MSAccess.Exe).

May i ask your country/city…:slight_smile:

Thanks once again…

Subject: RE: How to open MS Access or other applications

Hi,

I belong to Islamabad, Pakistan. How about u?

I am looking into this issue, i will update you as soon as i got the solution.

Regards,

Nasir