0
Answer

Program a button and add excel and word doc's to resources

Rohan Coetzee

Rohan Coetzee

14y
2k
1

I am totally new to programming but cant wait to do the course.
I am making a form (call it an interface) and have a button to open word docunments (Register.doc) and another button to open excel file (ID.xls).
I want to use on a CD so that all documents and Files are able to open by button clearly named. No having to look for it.
I have tried various ways but don't seem to come right. I am asking for someone to help me with this code. I can get the button to open either a doc or excel file using process.start("C:\Testvb\Register.doc") or process.start("C:\Testvb\ID.xls"). Someone mention that I should soft code the link.??
The adding resources has me stumped - as I do not not what to set Solution explorer resources file properties to !!
I compile onto a flashdrive and then setup onto another laptop but it does not see the file to open the register or ID files.  
I have battled for weeks - some help would be great.