Pass class reference

J

John

Hi

I open a word document from my vb.net app. Now I want to pass reference to
one of the classes in my vb.net app to word so it can access procedures in
the vb.net class. How can I pass the class reference to word from a vb.net
app?

Thanks

Regards
 
P

Perry

I would use a "physical" intermediaire like: an ASCII file or even the
registry
to push/pull values from one app to the other.

As far as the registry is concerned, look at below articles for
Word writing to/reading from registry settings
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd10/htm
l/woproprivateprofilestring.asp

Example of MS Office registry functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/office97/ht
ml/output/f1/d6/s5b239.asp

Example of VB .net registry functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/
vafctgetsetting.asp


Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top