XusinboyBekchanov / VisualFBEditor

IDE for FreeBasic
Other
176 stars 39 forks source link

7 feature suggestions #688

Open xiaoyaocode163 opened 5 months ago

xiaoyaocode163 commented 5 months ago

As for the previous question, the compiled EXE is running. If you recompile it, it would be better to prompt whether to terminate the last process.

Question 21: Project:\Examples\Add-In, how to use the plug-in A new plug-in project was created, and the compilation error was: \compiler\bin\win32\ld.exe: cannot open output file ../AddIns/MyAddin (x32).dll: No such file or directory

  1. The vbcrlf function cannot be used and this header file vbcompat.bi needs to be quoted.
  2. It is best that when the IDE is run for the first time, it will automatically add the opening method of *.VFP as fbeditor.
  3. You can add the concept of control array, textbox1(index). With the control array, you can write a calculator program with very little code.
  4. It is best to add a WINDOWS api list, so there is no need to reference it. What APIs are used in the project? An API list module file will be automatically generated during compilation: Project_api.bas
  5. Like VB6, if it supports adding OCX controls, COM DLL references, and TLB file references, it would basically be perfect.
  6. It is best to add a module management database with 3 basic fields: module file/module role and function (supports Chinese)/module main function list, which can be automatically searched at any time when needed. For example, if I enter the VBCRlf function, I will be prompted whether I need to quote: vbcompat.bi. The automatic detection function will be added later. If vbcompat.bi does not use any functions, the file will be automatically excluded during compilation. vbcompat.bi vb6Function vbcrlf,***
rexxitall commented 1 month ago

I would suggest to add a COM server sampel. Even i know that will be hard.

XusinboyBekchanov commented 1 month ago

Question 21: Project:\Examples\Add-In, how to use the plug-in A new plug-in project was created, and the compilation error was: \compiler\bin\win32\ld.exe: cannot open output file ../AddIns/MyAddin (x32).dll: No such file or directory

MyAddin (x32).dll is already used in the IDE, so before compiling you need to disable this Addin in the IDE.

I would suggest to add a COM server sampel. Even i know that will be hard.

You can try this example: WellCOM Example.zip

rexxitall commented 1 month ago

I really love your very short response texts ;) Can you please add some md or whatever what it does or should do ? Have a great time, Greets from Germany Thomas

XusinboyBekchanov commented 1 month ago

I really love your very short response texts ;) Can you please add some md or whatever what it does or should do ?

This VB6 example shows accessing the String property of the WellCOM object, setting a string and reading from it:

Option Explicit

Private Sub Form_Load()
  On Error GoTo ErrorHandler
  Dim IObject As Object
  Set IObject = CreateObject("WellCOM.Object")
  IObject.String = "dfdfd"
  MsgBox IObject.String
  Exit Sub
ErrorHandler:
  MsgBox Error, vbExclamation + vbOKOnly
End Sub
rexxitall commented 1 month ago

Maybe you may consider to make a VERY big yell that you can not only call com objects now but also create com objects to be used with word, excel, vba, vbs ;) This might attract a lot of peoples to your fine program.

rexxitall commented 6 days ago

maybe i was misunderstood. :) I want to write the wellCOM object. not to use it ;) Thus means thet the object has to register itselv en expose all its vars , methods and whatever ;) This would people enable to write object they can use wherever. COM = COMPONENT Object model. Also known as managed code.

XusinboyBekchanov commented 6 days ago

This example shows how to create a COM object yourself.

rexxitall commented 6 days ago

I will have a look on the weekend then :) Thanks :)