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) & " " & TempStringCadInputQueue.SendMessageToApplication "WORDPROC", "1 keypress 13 0 0 0 0 0 0 0 0 0 0 0 1"
Larry Wilson said: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
Thanks for the help, It did get me farther down the path. I think I got that code from Bentley a long time ago.
LARRY WILSON | Senior Designer Crawford, Murphy & Tilly | Engineers & Consultants 84 Remick Blvd. | Springboro, OH 45066 lwilson@cmtengr.com