Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,833 of 10,840    |
|    Bob Kochem to Kiteman - Canada    |
|    Re: Addressing Menu Items    |
|    15 Jan 06 03:05:43    |
      From: info@minuteman-systems.com              Thanks to all who have replied here.              I think this gets me off and running.              I am assuming I can use a similar approach to rename all labels and other       named items on forms.              Can anyone point at a good tutorial on making programs support multiple       languages? I would like to avoid re-inventing the wheel if possible.              One more thing I am wrestling with is all the message boxes that are posted       in the program. The program's been around quite a while and now makes use of       the MsgBox in a couple hundred places. I am thinking of creating a "meta"       message box function, something like TransMsgBox, doing a global replace of       "MsgBox" with "TransMsgBox" and then having the TransMsgBox function do the       translation (somehow) for every set of arguments passed to it.              Thanks,              Bob                     "Kiteman - Canada" <-delete-kiteman@shaw.ca> wrote in message       news:y_gyf.343436$ki.139988@pd7tw2no...       >I have a few multilingual programs (9 languages and counting...) and use       >the following technique:       >       > item.Caption = text       >       > Under the Tools >>> Menu Editor, just give a name to each menu item.       >       > You can then change the caption of the item using:       >       > FileHeader.Caption = phrase$(97)       > MenuExit.Caption = phrase$(101)       >       > I use an external ANSI text file for each language and just load each line       > into a preset phrase when the language is changed on the fly.       >       > Hope this gets you going.       >       > I still have not found a way to support UNICODE characters in the menu       > items, but spanish only requires the ANSI character set so you should be       > fine.       >       > Regards,       > Tom       >       > "Bob Kochem" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca