|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius | Page: 1 2 |
|
|||||||||||||||
| vb6 don't create .exe - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
robbbi Member
|
Hi, I have a vb6 project, sisulizer build my localized project ad compile it using vb6. Without any error messages at the end of compiling there is't a .exe executable file. Coul'd yuou help me ? Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi, Do you start the compile process by Sisulizer. Perhaps you should check the output settings (e.g. paths) under Project - Edit Source - <your source>. Perhaps the EXE is at some place you do not expect. If you compile yourself in VB6 GUI you should also check where the EXE is to be created. You can look into the vbp file. Hope this helps Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
Sorry Markus but I'm sure that the .exe will be non created ! When you compile using vb6 it ask where can locate the .exe, the second time you will see it and vb6 ask if overwrite. The strange thing is that there is not any error message .... big problem for me !
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
robbbi Member
|
Markus ? I found the problem .... Creating a project some string like Ucase Lcase Trim vbcrlf or crlf put a $ at the end of the string. Removing this $ in the project vb6 compile and create .exe. How can I do to remove this ? Thank you Roberto
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
Markus ? I found the problem .... Creating a project some string like Ucase Lcase Trim vbcrlf or crlf put a $ at the end of the string. Removing this $ in the project vb6 compile and create .exe. How can I do to remove this ? Thank you Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Roberto, You mean you have Ucase$ instead of Ucase in your localized code? This should not be a problem for VB6. Ucase$ will always return a string while Ucase will return a variant. Can you perhaps provide a small code sample where this blocks your code from compiling so I could try it here myself. I myself always tried the version with the $ at the end since it is faster and never had a problem with that. You can upload the sample using the private upload button right above my post. Don't forget to zip it first. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
ok I provide to upload an example but I'm sure after remove any $ vb6 compile and create a .exe file. Thank's Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Roberto, With the sample we can find out how to do better in the future - if there is a problem in Sisulizer. If you have a hello world that shows the problem after localization I would take a look right away. Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
I tryed to make a small project with this line Label1.Caption = Trim("HELLO") & vbCrLf & UCase(" to you") sisulize localize with Label1.Caption = Trim("HELLO") & vbCrLf$ & UCase(" to you") but I'm able to compile and look the .exe file. Our project is more biggest, there are 600 forms and a lot of modules, after localize I open the project erase all $ after and vb6 compile and make a .exe file otherwise no !
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
How about: Label1.Caption = Trim$("HELLO") & vbCrLf$ & UCase$(" to you") That would avoid any conversions to variant data type. Label1.Caption = Trim("HELLO") & vbCrLf & UCase(" to you") might concat the three variants and have one conversion to caption. Label1.Caption = Trim("HELLO") & vbCrLf$ & UCase(" to you") might have two conversion while concatenating plus one for assigning it to caption. So this might generate the most code. My conclusion: VB starts at the end. The last two parts have one conversion to become a string, the next pair result in a variant and this needs to be converted again to a string. (red = variant, green = string) Perhaps you really reached some magic internal barrier because of the extra conversions. I also once reached these barriers. I helped myself with moving parts of the code into OCX files. That worked very well and I could overcome the limits. Hope this helps Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
do you think will possible to fix this problem ? Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hmmm, I think it is a VB compiler issue. Have you tried to avoid variants in your code? You also should declare your strings as strings like Dim a as string to avoid variant conversions. Variants are slow and use extra memory. Especially for huge projects that can be an issue. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
hi ! today the probleme it's the same, compile and will not be the executable without any errors message. Is this the first time that happen ? Nobody had this problem ? I don't know what I can do ! ..... Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi, Without an error message it is hard to say. I guess you really crossed some internal limit of VB6. If you continue to develop you will see that effect more often. My active VB6 coding time is long ago. I darkly remember that I reached that limit (without localization) and decided to move my classes and user defined controls to OCXs and DLLs. After that my problems went away. I just don't remember that the VB compiler just did nothing or it was some other effect. It was obvious that the project was to large. A few extra chars can make the difference. Try this: Add your original language as new traget language. Mark all rows. Copy the original to the new target. Build the new language. If it does not compile use a diff tool to find the differencies between the original and the target. Since the strings are the same there should be not much places. Perhaps that shows you the problem. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
Ok Markus ... after try try and try I discover that the problem about don't create the .exe file is for .... the file.res in the project. This file that sisulizer create have a priperty, this property is set to neutral, simple set the property to any language. That's all !!!!! Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Roberto, What does this resource contain in your case. You do have source code localization plus resource localization? Or does your resource just contain the version info? Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
the last one ..... I have a problem, there is a source line localized but in the window just above the line is grey and unmodifyed ! Why ? Thank's Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Do you please heave some screenshot? Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
robbbi Member
|
ok you will see where there is wrote Tab_Ogg("KIND")=TipoG KIND is translate by italian TIPO but I can't delete this translation. Thank's Roberto
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi, I only see Tab_Cli("KIND") = TipoG Do you mean that? TipoG seems to be a variable or constant. You can not change its name. Markus P.S. You can attach picture directly to the post, so it is shown right here. You do not need private upload for screenshots (jpg, gif, png).
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| Current time is 08:55 pm | Page: 1 2 |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > vb6 don't create .exe | |
Sisulizer software localization tool - Three simple steps to localize