Monday, March 26, 2012 5:37 AM
I use a thirdparty library to make annotations on pictures.
With this I create a interopt usercontrol and use them in VB6. It works fine.
But one think with this annotations I cant explain.
With some fonts the € sign would not shown. This only occurs in VB6. In VB .net (VB .Net 2005) that never fails.
You can set many property when you create the annotation object. One of this are the font property.
I try to set the charset when I create a new textannotation but there no effect.
Yes ask the people from the thirdpaty tool, but they can't reproduce the effect.
Have you an idear to set the charset (where ever you want), that the € sign is shown?
Monday, March 26, 2012 7:45 PMWhat is an interop Usercontrol? Is the 3rd party library a .Net assembly, a standard dll or a COM component? If it works in VB 2005, why do you think it's a VB.Net interop question, so what can we do in this forum?
- Edited by Armin Zingler Monday, March 26, 2012 7:45 PM typo
Tuesday, March 27, 2012 6:01 AM
in my project I use the interoptFormTools in VB.Net 2005 to create an usercontrol to use them in VB6. The thirdparty tool is an .Net assembly (I ask them too).
I think the setting of the charset in .net and the interaction with vb6 is an point for this forum.
Tuesday, March 27, 2012 10:15 AMHow do you set the charset?
Tuesday, March 27, 2012 1:48 PMI set the charset with the font setting of the usercontrol.
But that have no impact to my issue.
Tuesday, March 27, 2012 2:12 PM
If the usercontrol is usable from VB.Net without a problem, I don't know what's going wrong in the interop layer to VB6.
I just see that Microsoft links to this forum on the Interop toolkit page. However, I know more about interop between vb.net and unmanaged code whereas the issue is related to VB6 using a COM object, or it's a problem in the toolkit itself. I'd ask the author/manufacturer (Microsoft) about the problem.
So, I'm sorry, I can't help.
Wednesday, March 28, 2012 10:13 AM
How about to setting the http://msdn.microsoft.com/en-us/library/system.threading.thread.currentculture.aspx
Call me ghost for short, Thanks
To get the better anwser, it should be a better question.
- Proposed As Answer by Mike FengMicrosoft Contingent Staff, Moderator Thursday, April 05, 2012 3:46 AM
Wednesday, March 28, 2012 10:23 AM
I will try it.
Thursday, April 05, 2012 3:46 AMModerator
Do you have any update?
How about your issue now?
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thursday, April 05, 2012 5:32 AM
the issue is already open.
I have send a feedback to microsoft connect
- Marked As Answer by Michael Sun [MSFT]Microsoft Employee, Moderator Monday, April 30, 2012 2:12 AM