i am writing a program where i need to open an exsisting excel and word file by clicking on a menu item. just not sure what the code is to open that exsisting file, with out using the openfiledialog. if someone could help me out with this i would be grateful. thanks.
Comments
:
First to get word or excel U need to add an 'reference' to a 'com'-component. Microsoft excel 10.0 object library and Microsoft word 10.0 object library. Then add microsoft office spreedsheet to the toolbox (Again it is a com object..
I have never tried working with it so i dont know if this is the best way of doing this.
But at least U have something.