Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius Page:    1  2  Next Page Last Page  
New Topic Reply Printer Friendly
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
AuthorPost
 Posted: Thu Mar 11th, 2010 06:44 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 08:02 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 08:28 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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 !

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 10:11 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 10:26 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 11:39 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 12:56 pm
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
ok I provide to upload an example but I'm sure after remove any $ vb6 compile and create a .exe file.

Thank's

Roberto

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 01:06 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 01:46 pm
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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 !

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 02:04 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 02:12 pm
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
do you think will possible to fix this problem ?

Roberto

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 11th, 2010 02:23 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Fri Mar 12th, 2010 09:36 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Fri Mar 12th, 2010 10:49 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Sun Mar 14th, 2010 11:17 am
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 15th, 2010 12:01 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 15th, 2010 05:51 pm
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 15th, 2010 05:53 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Do you please heave some screenshot?

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 15th, 2010 06:13 pm
PM Private Upload Quote Reply
robbbi
Member
 

Joined: Thu Jul 10th, 2008
Location:  
Posts: 25
Status: 
Offline
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

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 15th, 2010 06:33 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

Current time is 08:55 pm Page:    1  2  Next Page Last Page    
.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



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize