Main > Software Forum
Johnny 5 only support 10 joy buttons? (fixed), but file/open not work?
<< < (2/3) > >>
Space Fractal:
I tried that, but even with the default layout it does not load curretly (I guess the save routine is fine), but it work when I changed my prefer language to english (includning my own, when I replaced comma with a dot).

So try to change to danish as your language (it only change formats like this)  from your windows control panel (internal languages I guess it name in english), and you would see what it does. This should been easier to fix that way, when you can see it (because it hard to blindfix it).

Maybe you can disable this feature internal in your application, so it allways use dot as float?

[EDIT]
Im didden't try with a game, because im just have created the layout (Etc not moved to arcade machine yet). Im asume the bug would been the same, because of this problem.
[/EDIT]
Howard_Casto:
We might be screwed on this one then.  It sounds like a text services problem, which is completely beyond my control unfortunately.  It's an automatic conversion and there isn't any possible way (that I know of) in which you can manually adjust it, other than the method I just mentioned, which apparently isn't working.  Vb6 pre-dates the langauge options standards unfortunately.

What we can do is monkey with the advanced text services option in xp and see if it fixes it. 

Here's what you can try:

Go into control panel/regional and langauge settings

In the code page conversion tables in the advanced tab, make sure  "US-ASCII" and any other american-related reigons are checked.  They are checked by default on my system, but I can assume they aren't on yours as all the regions in your neck of the woods aren't checked. 

Xp is *supposed*  to use American values with American programs so this could be the cause. 


If that doesn't work in the details button of the languages tab you can try adjusting the "advanced text services" (just use the opposite value set)  Text services are supposed to just allow for speech and handwriting recognition, but they often monkey with conversions on the languages as well. 

If none of that works, I think there are tools available to run apps in a sort of compatability mode.  I don't know of any off-hand, but we should be able to find one if it comes to that.
Space Fractal:
Visual Basic is a Microsoft language, and they should take care of it. XP is made by Microsoft, so I can not still manage, there are trouble to get this working. There MUST been a option to disable it, mostly because Im only have seen on these 2 layout applications.

My guess you should doing these to take care of this bug:
- Read allways lines in the ini files a string, regaardless it a number of not.
- If it a number, replace any comma with a dot.
- An then use a string to float converter (val# or what it name in Visual Basic). Im so hope this funtion dosen't have problems.

Remember using user32.dll (if rememeber correct) and reading ini files is NOT supported by Microsoft anymore (they prefer to use the regfile instead). You may need to make your own reader instead, instead the awful Microsoft one (and so you have a LOTS more control, what it does.

AS you see EU and USA use theier own standard, and these need to been followed. Im would not change my prefer settings  (classic theme, and danish as my language).

I hope you can fix this one, so I must wait to use it.

But I do not know you you read them back again from the ini file, it should convert them back automatic, but it seen it dosen't......
Howard_Casto:
Did you try what I said?  Checking these options doesn't change the default language or any of that stuff in any way, it merely adds additional compatability. 
Space Fractal:
yep, and it works (As I allready said in a eailier post, you may miss it).

But it would been better this could been fixed thougt, wich would been a more correct way. It still a bug, and it should (hopefully) being fixed in your open code (Im dosen't known Visual Basic, So I can't see what it doing).

This is why I asumed you to tried danish as language, so you could see the bug in action.

You may need to get this to been disabled to get it to work. It mayben a very sad sad bug in Visual Basic or the service you use as well? I never seen this bug in other basic language as well?



Navigation
Message Index
Next page
Previous page

Go to full version