
Passing data using VBA in Word to an standalone VB app on the same machine
This is a little trick you can use only if the data isn't to large:
GetSetting() and SaveSettings()
these are registry calls, if you use the same path with a different
stringname, it should work.
JD
Quote:
> Hello everyone,
> I have a question for you. I'm looking for a relatively simple, reliable
> way to accomplish the following task:
> 1. Users launch a standalone VB app that is basically a data entry form.
> 2. Users would then launch Word and open a relevant document.
> 3. Users would select a string in the Word document, then right click and
> select a destination. I have a context menu in Word that has several
'send
> to>destination' options. Each destination in the context menu represents
> an individual text box control on the standalone VB data entry form.
> 4. I would like to pass the selected text from Word to the corresponding
> text box on the VB form. Is there a way to do this through memory
mapping?
> Is there a fairly straightforward approach that I could try?
> Thanks in advance
> Joe