|
-
Dec 30th, 2024, 06:35 PM
#5
Thread Starter
PowerPoster
Re: twinbasic bug report
twinbasicThe project is converted to a VB6 project. We don't need 100% conversion, we just need most of the conversion, and it doesn't matter if it's wrong.
For example, programs written by VB6 can directly restore 100% of the form through decompilation or many other software.
The position and size of forms and controls, which is just a basic expression, should not be difficult.
The source code can also be automatically copied directly to the form or module. So in essence, this is not difficult. It depends on whether the author wants to do it or not.
Sometimes it's just for verification. Some errors may disappear automatically in VB6.
You also need to recreate the form by twinbasic well, copy the code of each module, which is very troublesome.
In addition, a module sharing function can be added. It is a direct reference to the VB6 module.This module can be used together between vb6 and twinbasic
Is called a module file sharing library. The file is automatically detected for changes each time it is compiled. If there is any change, it will be imported automatically. This is like a link to a source code file in the development of vb.net,c#.
So that the two programming languages can use a common code base.
So sometimes it's better to ensure that the two file formats are compatible.For example, a shared form, or a general control userconrtol OCX, can also be directly referenced in Vp6 after being modified in the Spring Cup class, and the two binaries are the same.
If you modify a form or add several buttons in Chunbei Assassin, open the reference directly in the CPU, and it can also see the added buttons.
The main problem is that the code editor is not very easy to use. It is better to automatically convert the full angle to the half angle. Such as the space symbol. Double quote comma."",]
But vb.net because what he uses is winform, WPF form technology, the control type of Cpu and attribute are different also, so want to convert to VB6 old version is very difficult impossible.
Last edited by xiaoyao; Jan 15th, 2025 at 07:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|