variables

  1. practicalsoft

    B4X FEED Sending email

    Hello everyone, This is my first experience in B4A. I'm trying to write a code that sends an email. This is the code I wrote: Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Private xui As XUI...
  2. practicalsoft

    B4X FEED VB6 CopyMemory Alternative for Arrays/Variables Mix

    Hi, I know there have been some topics but I'm curious if there is a more efficient solution to my problem. As most of you probably know in VB6 CopyMemory is a very fast and efficient way to copy bytes between different data types. I use it frequently to fill arrays with data or get data out of...
  3. practicalsoft

    B4X FEED Timer stability

    In the test project, I use a timer to produce a steady flicker. However, the flicker is not stable. What suggestion? Timer: Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. ' Dim...
  4. practicalsoft

    B4X FEED WebService Rest error - Please Help!

    Hello Amigos! I test the sample attached in this post https://www.b4x.com/android/forum/threads/webservice-rest.73466/#post-466819 from @DonManfred with my webservice. I make a very simple Web Api web service. and it doesn't works. Can anyone help me with this? B4X: #Region Project...
  5. practicalsoft

    B4X FEED [B4A] [Solved] Variable substitution in a RTF file

    I have previously been using the jPOI to the rescue example (in B4J) to substitute string variables for specific words in a MS-Word (DOC) file and it was performing great. String variables I am using inside the file text are of the format: "<<variable>>" . Would like to try now to do something...
  6. practicalsoft

    B4X FEED [B4A] Variable substitution in a RTF file

    I have previously been using the jPOI to the rescue example (in B4J) to substitute string variables for specific words in a MS-Word (DOC) file and it was performing great. String variables I am using inside the file text are of the format: "<<variable>>" . Would like to try now to do something...
  7. practicalsoft

    B4X FEED Webview -How to include the Font information in HTML file?

    Hello all, I have an HTML file which uses a certain font. When I load this in Webview, the Font information is not considered. B4A: #Region Project Attributes #ApplicationLabel: B4A Example #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified...
  8. practicalsoft

    B4X FEED What is the best technique to return variables between activities

    Attach a demo for my question. I need return a user definied data from one activity to previous actity. If the data is primitive (string, int, and other), all is ok, but if my var is definid for me, the value are missing when do a initialize. (i do this for clear var for future calls in other...
  9. practicalsoft

    B4X FEED New Compiler Warning Question

    With the latest release of B4i(6.80), I noticed this warning that I have never seen before: Accessing fields from other modules in Sub Process_Globals can be dangerous as the initialization order is not deterministic. (warning #24) Question: This warning is referring to my Public VARIABLES...
  10. practicalsoft

    B4X FEED itterate with For Each over global variables or custom type

    I think I may be missing something obvious here, but I can't find the solution either in my head or the forums. I'm trying to avoid Code Smell #7 - https://www.b4x.com/android/forum/threads/b4x-code-smells-common-mistakes-and-other-tips.116651/ Can I use a For Each loop to assign a value to...
عقب
بالا