Using the Word Processor

I'm updating some VBA's from 32 bit to 64bit. 

I have one that I use to import notes from word, below is the 32 bit code, does anyone know the replace for the SetCExpressionValue "gWordlibResourceData.bChangeAll", 0, "WORDPROC" line

to use in Connect?

SetCExpressionValue "gWordlibResourceData.bChangeAll", 0, "WORDPROC"

CadInputQueue.SendMessageToApplication "WORDPROC", "1 PasteTextInEditor " & Len(TempString) & " " & TempString
CadInputQueue.SendMessageToApplication "WORDPROC", "1 keypress 13 0 0 0 0 0 0 0 0 0 0 0 1"

Parents
  • Does anyone know the replace for the SetCExpressionValue "gWordlibResourceData.bChangeAll", 0, "WORDPROC"?

    I'm sure that Jan is correct when he commented that 'nobody remember all of them'.   However, there are ways you can help yourself.

    My guess is that your line of code is the result of a VBA recording in MicroStation V8.  You can do the same again for CONNECT: record a VBA macro while you twiddle the settings in whatever tool you use to import from Word.  Then, examine the VBA recording to see what C expressions are invoked.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Does anyone know the replace for the SetCExpressionValue "gWordlibResourceData.bChangeAll", 0, "WORDPROC"?

    I'm sure that Jan is correct when he commented that 'nobody remember all of them'.   However, there are ways you can help yourself.

    My guess is that your line of code is the result of a VBA recording in MicroStation V8.  You can do the same again for CONNECT: record a VBA macro while you twiddle the settings in whatever tool you use to import from Word.  Then, examine the VBA recording to see what C expressions are invoked.

     
    Regards, Jon Summers
    LA Solutions

Children