I'm not sure that I'm going to have time to do any work on it for a while. I might be able to read through it and come up with a backlog of stuff to be done.
^ see that PR for the current state of what I've done so far. Its not production ready - mainly because there are a bunch of stuff that's not implemented yet.
@Mat'sMug - no worries. I haven't fully implemented that feature yet, so its not really ready to be merged. I am trying to keep myself from looking at the code because I'm supposed to be doing study. The paper I'm doing is a compulsory Marketing one - so I need all the motivation I can muster.
For anyone that's interested, I posted the code for a remake of Tetris on Github: github.com/rossknudsen/Tetris I wrote it in Game Maker for a Uni project. Took me a couple of weeks to write.
@Jelly I think you asked me the other day re books on COM? Sorry, I haven't got anything for you. Most of what I've learned has been from blogs. This one was pretty helpful: yanaware.com/com4me
@Hosch250 OK, well I would like a method to open a given document. Either that or I could try CreateObject(pathToOfficeDocument)or we could change the behaviour entirely and not load the document.
New question. How does RD get hold of the Host Application? When you add a reference to another Office document, the Office document is loaded in the background (invisible) even before the builtin References dialog is closed.
@Mat'sMug Hmmm, I had never used the priority buttons before... Looking at the API, there is no way to change the order of References in VbProject.References. The only thing I can think of is to remove references and add them back in the desired order. I'm not really liking that idea.
Feel free if you want me to update any coding style issues etc. I made a bunch of assumptions. I'm not really happy with the IDisposable implementation, it was quick and dirty.
@Mat'sMug OK. Will do. There is one issue I'm running into where the ActiveProject is changing when you open the dialog. I'm not sure if this is a bug in the system or not.