Foreign Character included in Controls

fdere

New Member
Licensed User
Longtime User
Dear Erel,

Due to the language used different than English is causing problem to open the form including "Image", "ImageButton" and "ImageList" contols.

Controls starting with "I" gives the error message as follows;
*The given key was not present in the dictionary*

I think "I" is being evaluated as unknown character.

But on the other hand adding these controls in runtime has no problem.

This problem is appeared only at B4PPC Version 6.90. Previous version had no such behaviour.

In order to run your some sample programme I also need to convert all "I" to "i" included in the code.

I appreciate If you could advise me solution to this problem.

Best Regards,

F.DERE
 

ozgureffe

Member
Licensed User
Longtime User
No luck :(
I just tried what fdere said in linked thread but it didnt work for me...
Everything was same for me except the solution.

Contrarily also i changed RadioBtn controls name with RadIoBtn to check if it will cause an error or not but everything worked correctly.

I have to go on adding all images on runtime. :(
 

fdere

New Member
Licensed User
Longtime User
Foreign Character included in Controls(1)

Problem appears at controls starting with capital letter "I", such as Image, ImageButton and ImageList.(not I within the letter)

If you create these controls at runtime without using form page you don't encounter such a problem.

In order to operate programs including these controls in the code, you should change all capital "I" 's with lower case "i". But this won't solve the re-opening problem of the form including these controls.

I am using Windows XP in desktop and Windows Mobile 6.0 in device and both giving the same result.

From the earliest version to Version 6.8 of B4PPC everyting was OK. But this behaviour is only spesific to Version 6.9.

Best Regards

F.DERE
 

fdere

New Member
Licensed User
Longtime User
Foreign Character included in Controls(1)

Problem appears at controls starting with capital letter "I", such as Image, ImageButton and ImageList.(not I within the letter)

If you create these controls at runtime without using form page you don't encounter such a problem.

In order to operate programs including these controls in the code, you should change all capital "I" 's with lower case "i". But this won't solve the re-opening problem of the form including these controls.

I am using Windows XP in desktop and Windows Mobile 6.0 in device and both giving the same result.

From the earliest version to Version 6.8 of B4PPC everyting was OK. But this behaviour is only spesific to Version 6.9.

Best Regards

F.DERE
 

fdere

New Member
Licensed User
Longtime User
Foreign Character included in Controls(2)

Latest Development!

I made following setting change in Windows XP and succesfully be able to re-open the form including Image related controls:

Control Panel
-->Regional and Language Option
-->Regional Option
-->"English(United States)"
(No need to change Location)

I think necessary measures can be taken in new version of B4PPC.

Best Regards,

F.DERE
 
Top