-
Jul 29th, 2022, 04:53 AM
#1
Thread Starter
New Member
Utilisation d'un fichier .BAS et B4A
Bonjour,
Ayant "tripoté" du Basic durant mes études il y a 35 ans, je suis aujourd'hui complètement ignare...!
Je sollicite votre aide suite à la réception d'un module IP accompagné d'une "appli" de pilotage.
Voici la liste des fichiers que j'ai reçus :
Que dois-je en faire?
Merci par avance pour votre assistance.
Cordialement,
Eliber
-
Jul 29th, 2022, 05:22 AM
#2
Re: Utilisation d'un fichier .BAS et B4A
Les fichiers sont code source, vous pouvez les ouvrir comme du texte pour les lire, mais vous avez besoin de Visual Basic 6 (pour .bas) ou Basic4Android (pour .b4a) si vous voulez compiler un .exe.
Also, this is primarily an English language forum, you'll have more luck if you translate.
-
Jul 29th, 2022, 05:27 AM
#3
Re: Utilisation d'un fichier .BAS et B4A
Fafalone, you speak French
-
Jul 29th, 2022, 06:53 AM
#4
Thread Starter
New Member
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by fafalone
Les fichiers sont code source, vous pouvez les ouvrir comme du texte pour les lire, mais vous avez besoin de Visual Basic 6 (pour .bas) ou Basic4Android (pour .b4a) si vous voulez compiler un .exe.
Also, this is primarily an English language forum, you'll have more luck if you translate.
Thanks a lot for your answer Fafalone!
So, I'm trying to use my poor english...
If I send to you the settings.bas, is it posssible you try if it works fine?
I hope if you can!
Thanks in advance.
Settings.bas
-
Jul 29th, 2022, 11:57 AM
#5
Junior Member
Re: Utilisation d'un fichier .BAS et B4A
Your file is primary useable with B4A, a free basic for android, based on java. Your first posting is showing the typical directory structure of an b4a app. So your settings.bas file is only a part of an complete project. The file SD-201.b4a is the main project file. To try your app, all files, including the both directory, are needed. Website: https://www.b4x.com/b4a.html
-
Jul 29th, 2022, 03:24 PM
#6
Re: Utilisation d'un fichier .BAS et B4A
b4a uses .bas files? That's confusing. I was thinking they had just supplied multiple language versions or something.
-
Jul 30th, 2022, 02:30 AM
#7
Junior Member
Re: Utilisation d'un fichier .BAS et B4A
B4X.com supports four type of apps:
B4A for android,
B4J for java based apps running on windows desktops, ios,raspberry and linux
B4I for ios devices
B4R for embedded devices.
In each project you have a project file, named b4a, b4j and so on. This file can include code too.
But you can also use bas files too and you can share them between different projects. With conditional compilation like: '#if B4i .... #end if' you can include different code for each system.
-
Aug 3rd, 2022, 02:25 AM
#8
Thread Starter
New Member
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by rboeck
B4X.com supports four type of apps:
B4A for android,
B4J for java based apps running on windows desktops, ios,raspberry and linux
B4I for ios devices
B4R for embedded devices.
In each project you have a project file, named b4a, b4j and so on. This file can include code too.
But you can also use bas files too and you can share them between different projects. With conditional compilation like: '#if B4i .... #end if' you can include different code for each system.
Thanks a lot for all your answers§
But my problem is that I don't have any Android terminal. I work only on Windows PC's.
Is there a solution for using this application with Windows?
Thanks in advance
-
Aug 3rd, 2022, 02:38 AM
#9
Re: Utilisation d'un fichier .BAS et B4A
Have you checked the B4X website?
I don't know the product, never used it, but the website says the product is multi-platform
And what is your goal?
Translate the B4X project to Visual Basic 6?
Or just compile the B4X project?
-
Aug 3rd, 2022, 04:45 AM
#10
Re: Utilisation d'un fichier .BAS et B4A
-
Aug 4th, 2022, 12:40 AM
#11
Thread Starter
New Member
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by Arnoutdv
Have you checked the B4X website?
I don't know the product, never used it, but the website says the product is multi-platform
And what is your goal?
Translate the B4X project to Visual Basic 6?
Or just compile the B4X project?
Hi Arnoutdv,
Thanks for your answer.
I've purchased a Relay module that works with TCP/IP protocol. It comes with an application.
It seems that this application is a VB project.
More efficient for me is running it on a Windows platform.
Hope you right understand me.
-
Aug 4th, 2022, 01:53 AM
#12
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by Eliber
Bonjour,
Ayant "tripoté" du Basic durant mes études il y a 35 ans, je suis aujourd'hui complètement ignare...!
Je sollicite votre aide suite à la réception d'un module IP accompagné d'une "appli" de pilotage.
Voici la liste des fichiers que j'ai reçus :
Que dois-je en faire?
Merci par avance pour votre assistance.
Cordialement,
Eliber
This is not a VB project.
-
Aug 4th, 2022, 02:01 AM
#13
Thread Starter
New Member
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by Arnoutdv
This is not a VB project.
This is the description:
"Descriptions:
Micro-channel 2-way remote control cloud Ethernet network switch TCP/UDP delay relay controller relay module can be extended to 8
Control via Ethernet and internet pull 2 relays, release
And can be extended by an external eight-output pin relay module
Module supports TCP, UDP, cloud remote control three kinds of operation
Easy to understand instructions, instructions can specify a delay from 1 to 65535 seconds
Module is equipped with VB, Delphi PC program and source code to help you easily automate remote control
TCP and cloud can remotely check the status of all relays
In addition, after each command processing is completed, the module will revert to the last state of all relays
UDP mode no status query or other feedback
Code is extremely simple, easy to integrate into a variety of applications
Full support for secondary development, open TCP, UDP control protocol, cloud secondary development package provides remote SOAP Web Service API interface and restful Web Service API interface"
-
Aug 4th, 2022, 02:08 AM
#14
Re: Utilisation d'un fichier .BAS et B4A
Module is equipped with VB, Delphi PC program and source code to help you easily automate remote control
Is there actual sample code in VB or Delphi?
The screenshot you posted is neither VB nor Delphi.
What do want to do with the Relay module?
Do you have any coding experience?
-
Aug 4th, 2022, 02:20 AM
#15
Thread Starter
New Member
Re: Utilisation d'un fichier .BAS et B4A
Originally Posted by Arnoutdv
Is there actual sample code in VB or Delphi?
The screenshot you posted is neither VB nor Delphi.
What do want to do with the Relay module?
Do you have any coding experience?
I have very poor and old coding experience... 35 years ago...
The goal is to use this module as a remote control
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
|