Help needed with image control

ozgureffe

Member
Licensed User
Longtime User
:sign0085:Hi,
My problem is, after adding an image control to my forms everything seems working well at the beginning but i can not reopen my image control containing form after compiling and running (F5) my program for the first time in the desktop IDE window, because of an alert box which says

An error occured.
The given key was not present in the dictionary.

It behaves same even for sample files of additional libraries which I downloaded from this forum !!!
 

sitajony

Active Member
Licensed User
Hi, can you POST exactly your code?
Apparently it miss a key of an object, you didn't assign a name on an object...

By example if you use "reg" as Registry object you need to add it in clicking on "Tools">"Add object">"Registry" and then you type "reg"...
 

ozgureffe

Member
Licensed User
Longtime User
Yes, i know i din't give any specific information about my code because i believe it is not about my code...
Because it happens even i don't put any letter on IDE screen.

Just after adding an image in the visual form editor, my programs works but i can not re-open form screen to edit my form with visual editor, after closing once. And b4ppc throws an error just like in the screenshot included in the zip file...

I am using windows 7 64Bit OS
.NET Framework is installed

Thank you for your help.
 

ozgureffe

Member
Licensed User
Longtime User
Thank you agraham for your quick response. Unfortunately today just because of this reason I re-format my computer with 32 bit version of Win 7. And installed b4ppc then tried some of sample source codes (clock.sbp, calc.sbp) but same problem still goes on.
I can compile the program but can not open the form to edit...

I lost all my installed applications but got nothing.

I format my computer for win7 32 bit but can not tolerate MS Vista problems just for b4ppc :(
 
Last edited:

ozgureffe

Member
Licensed User
Longtime User
I found and tried an older version of b4ppc (v6.30) and everything seems working well with the visual form editor whether form contains images or not...
I think there must be a bug in the b4ppc (v6.90) with windows 7, while working with Image, ImageList and ImageButton controls...
I am waiting for experiences of Windows 7 users...

Problem Summary: You can not re-open forms if it contains any of image based controls after closing it once because of an Internal IDE error.
 
Last edited:

RandomCoder

Well-Known Member
Licensed User
Longtime User
I am afraid that I have no idea what the reason your problem might be but I am fairly sure that other people are using Basic4ppc on Windows 7 without problems. Any such users got a comment?

I use Win 7 and have had no problems.
I think your pressumption that it is a language based problem is more likely the root cause.

Regards,
RandomCoder
 

ozgureffe

Member
Licensed User
Longtime User
Finally I found a solution... :)

I dont have any idea why b4ppc reacts like that but if i change Language and Regional Settings of Windows to English values this problems seem solved.
I was using Turkish values as my default settings...
 
Top