Hi
I have an Access database project, with plenty of vb code.
What I have is code that will check the linked files, for their file extention, and open the correct programs for the file, and display those files.
Such as
.doc opens winword
.xls opens excel
etc etc
What I want to know is can I add anything to the code to open the application, but prevent features, such as save as, save, open etc, efectively making the application open in word, without any of the menu options, or the ability to edit the document.
Hope this makes sence
my code is:
shell(strapp, vbmaximizedfocus)
This opens the application and maximises the application, the application is decided through the system cross referencing the file extention against a file type table, and gives the system the application exe location or the shell command.
It might be as simple as adding a forward slah and code to the shell command, but can't figure it at the moment.
Many thanks for your help.
I have an Access database project, with plenty of vb code.
What I have is code that will check the linked files, for their file extention, and open the correct programs for the file, and display those files.
Such as
.doc opens winword
.xls opens excel
etc etc
What I want to know is can I add anything to the code to open the application, but prevent features, such as save as, save, open etc, efectively making the application open in word, without any of the menu options, or the ability to edit the document.
Hope this makes sence
my code is:
shell(strapp, vbmaximizedfocus)
This opens the application and maximises the application, the application is decided through the system cross referencing the file extention against a file type table, and gives the system the application exe location or the shell command.
It might be as simple as adding a forward slah and code to the shell command, but can't figure it at the moment.
Many thanks for your help.