Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in importing items with user controls #1507

Closed
dj-make opened this issue Feb 26, 2023 · 4 comments
Closed

Error in importing items with user controls #1507

dj-make opened this issue Feb 26, 2023 · 4 comments

Comments

@dj-make
Copy link

dj-make commented Feb 26, 2023

Demo.zip
Error in importing items with user controls
1
2

@sokinkeso
Copy link

sokinkeso commented Jun 3, 2023

It happens because the name of the project in vb6 is in chinese.
The error occurs if the first letter of the project name is not a character of the Latin alphabet.
I tried naming a project with greek leters (name: δοκιμή) , and got the same error while importing to tB.
Setting the name (in VB6) : xδοκιμή (the first letter is now the english x), it works ok, and the import done normaly.

@dj-make
Copy link
Author

dj-make commented Jun 4, 2023

It happens because the name of the project in vb6 is in chinese. The error occurs if the first letter of the project name is not a character of the Latin alphabet. I tried naming a project with greek leters (name: δοκιμή) , and got the same error while importing to tB. Setting the name (in VB6) : xδοκιμή (the first letter is now the english x), it works ok, and the import done normaly.
1111
2222

It's strange that importing a regular VB project without user controls doesn't have any problems.

@sokinkeso
Copy link

It's not so strange...if you see inside the .frm file of your project, default controls have the prefix vb. , and usercontrols have as prefix the project name...so there is something happening when parsing the .frm file..I think it is an easy fix..
We will wait for Wayne to check this..

@WaynePhillipsEA
Copy link
Collaborator

Nice catch, @sokinkeso!

Fixed in BETA 325.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants