Hi Sammy, I saw this example in the PCSoft repository, maybe it will help youby ArieM - WinDev Forum
As usual, when explaining a problem you really start thinking. Not a bug but my mistake When setting the color, tickness and style with dPen(), one must used the dLine() syntax without the color option. dLine(x1,y1,x2,y2) and not dLine(x1,y1.x2.xy,color,thickness). Makes sense...by ArieM - WinDev Forum
Hi, in one of my apps I added some functionality to add annotations to a photo, like a simple text and lines. Drawing a solid line works fine and according to the help I also can specify several dash/dot linestyles using dPen() with line style =1 for example (dashed line). But the result is still a solid line. Can anyone confirm this is a bug or am I missing something here?by ArieM - WinDev Forum
For Android you need a (java) SDK , but that's all on Windows. WM will guide you through the installation proces on first use. For testing, you can install the app on your phone/tablet by connecting it to USB. When you have a webserver, you could also put the APK (installation file) there. Then using the devices browser, suimply download and "run" it,, after which it will beby ArieM - WinDev Forum
JP, yes, not only for submitting to the appstore, also for compiling and generating the app in the first place. Mac-mini is also an option but slower and some people use a vmware solution to run MacOS (which is not legal afaik...). You also need a developer account 99 USD per year. And if the app is not free for your customers, Apple will benefit again. So now you know why Apple is wortby ArieM - WinDev Forum
Hi JP, my 2 cents Start with Android which is pretty straight forward, more or less like writing a desktop app. With iOS you get the hassle of setting up a macbook to generate your app and need a developer account and so on. Try a few WM examples, make some changes and see if they make it to the actual device. A lot of stuff can be tested in the WM Simulator, which is pretty fast toby ArieM - WinDev Forum
Hi Al, you can also change the expanded-type of the combo to "popupwindow" and create a window which look just like a dropdown list.. Then in the "Opening the dropwdown list of combo xxx" use the OpenPopup() function to open that window. At this point you are able to pass parameters to that window, which would be the budgetcodes or categories for the current job. Whby ArieM - WinDev Forum
I join a table invoices with invoicelines and show every invoice with the total amount of the lines, using the SUM() function. Works as expected and I'm pretty sure a COUNT can be used as well. Did you try/test the query in the HF Control Centre ? The query editor is not 100%, you may end up using the sql-text as is, instead of the visual designer. But such a query is perfectly useablby ArieM - WinDev Forum
Hi Ola, I did a small test and it works for me. I pput this piece of code in a button and WINDEV is perfectly inserted at the right spot, no matter what line the cursor is on. (btw: you don't use the proper count in the Right() part) Trace(EDT_Test,,Cursor) EDT_Test = Left(EDT_Test, EDT_Test..Cursor - 1) + "WINDEV" + Right(EDT_Test, Length(EDT_Test)-EDT_Test..Cursor + 1)by ArieM - WinDev Forum
Hi Guenter, Yes, multitask en redraw a progress is quite slow compared to database actions. Doing that only every xxx records will help for sure. if it is possible try to read the records you need for the HReadFirst ALL at once, at the beginning of the process. Store them into an structured array and use ArraySeek instead. This save you dozens of round trips to the database which is relatby ArieM - WinDev Forum
HIe Koen, are you sure the webservice is opening the files in CS mode as well and not, by accident, in classic mode? Can you post the code for opening the connection to the database before read/write data?by ArieM - WinDev Forum
Did you ever consider a job as software tester in Montpellierby ArieM - WinDev Forum
Hi Aad, if a TIFF file is okay with you, you can use a Tiff-variable together with dSaveImageTIFF() to accomplish that. // Load the file MyTiff is Tiff = "MyFile.tiff" // Replace the first page MyTiff..Image[1] = "C:\MyImages\logo1.bmp" MyTiff..Image[2] = "C:\MyImages\logo2.bmp" // Save the file dSaveImageTIFF(MyTiff, "Logos.tiff") I'by ArieM - WinDev Forum
Hi, you should use WL to indicate you want to use a WLanguage functions in SQL queries SELECT a.accountnamefk, a.voucherdate, WL.DateToString(a.voucherdate, 'DD/MM/YYYY') FROM gl_transaction_detail a more info here...by ArieM - WinDev Forum
Works pretty well here the way Al described with Multitask(-1) and a progress window with a cancel button OpenChild (WindowProgress) LOOP MultiTask(-1) IF WindowProgress.bCancelPressed BREAK END -- your reindex here END Close(WindowProgress)by ArieM - WinDev Forum
RobertLeo, in the GUI tab of the Window there is a setting "Unit for sizes and positions.." I have that set on "Desktop AND Mobile compatible" If I remember correctly "Desktop OR Mobile compatible" gave me some struggles in the past. Not sure why, but maybe it helps I wonder how others use this setting btw - Argus,Peter?by ArieM - WinDev Forum
RobertLeo, Yes, you can develop webservice with WB as well. No need for WD. And Argus is right about de number of record. It's practically unlimited, only by the hardware (disksize) you use. Check this page for more info Depends on the size of a record (for a 20-byte record: 329 millions of billions of records, for a 4,096-byte record: 2 millions of billions of records)by ArieM - WinDev Forum
QuoteIs it for the engine? And do you mean 10 users using webdev concurrently or the app I am developing? Yes, 10 concurrent users connecting to your webservice (the engine) It's not an option to download that amount of images on a mobile device.(either by download of indluded in the APK). Far too much data. You need some mechanism to download the required ones on-the-fly. Maybe the &by ArieM - WinDev Forum
Yes, the APK will incrase. An APK is just a ZIP of a bunch of files. If you rename one you can easily view it with zip-viewer. To give you an idea I have a sqlite file with about 1000 record (mainly orderinfo and some small other tables) which is 2MB. But it depends of course on the number of tables, field and if it holds large pieces of text or just numbers. You don't need WB to deveby ArieM - WinDev Forum
Stefan, I can do that, send me a PMby ArieM - WinDev Forum
Hi Robert, I have 2 apps with a different approach. First app creates, on the device, a new empty database. Then contacts the webservice to get it's data, which then is stored locally. Second app starts the same, but is only getting some base data like projects and so on. User then picks a project and then calls the webservice for data (adresses and workorders). Due to the requiremby ArieM - WinDev Forum
Robert, I agree with the others. Use a local database on the device and some kind of middleware to sync/replicate with the backoffice for the reasons mentioned. And will add another one. When you use direct access to a backoffice database the only changes allowed in the database structure are new fields. Whenever you change a existing table or field ALL devices using your app will run intoby ArieM - WinDev Forum
QuoteDon't use the Email structure from PCSOFT !!! I can confirm that. There is a difference in the built-in email-structure (former?) and the email variable (newer?)by ArieM - WinDev Forum
Robert Leo, Not exactly a chatbot, but LST113 has a complete working "messenger" example, like Whatsapp. It works more or less as Argus described, with a backend rest-server and Google or Apple push notifications (both platforms included as well as the code for the rest-server for either WD or W. Could give you a headstart for 120 euro, even when you don't understand Frenchby ArieM - WinDev Forum
Hi Jan, I'm sorry. I don't use Outlook but send the email directly using a mailserver myEmail is Email MySession is emailSMTPSession ... EmailStartSession(MySession) EmailSendMessage (MySession,myEmail,nEmailOption)by ArieM - WinDev Forum
Have a look at he dbgEnableLog(filename) function. It tells you "what a user typed or what buttons they pressed". Together with all function/procedure calls en even the calling parameters. It result in a file to be opened in Windev. Quite powerful, it is if you are debugging afterwards. However this logfile can become quite big, it can grow to several MBs or more in minutes. If itby ArieM - WinDev Forum
Hi Aad, I use EmailImportHTML() and that works for me. myEmail is Email myEmail..Sender = sSender myEmail..SenderAddress = sSender myEmail..Subject = szSubject myEmail..Message = szMessage IF Position(Upper(myEmail.Message),"<BODY") > 0 THEN // indeed this does not work // myEmail.HTML = myEmail.Message // but this line does EmailImportHTML(myEmaiby ArieM - WinDev Forum
Hi, I have an app with the option to take photos. I would expect that, when enabled at the camera level of the tablet, GPS information would be added to the photos. At least it does when using the build-in camera app. The corresponding EXIF tags of the JPG file are filled with GPS coordinates and so on. According to the help I need VideoParameter(), but I can't get it to work. No Gby ArieM - WinDev Forum
Hi Raul, afaik the 10-user version supports max 10 concurrent users, despite the option to enter more than 10 for a particular website/webservice.by ArieM - WinDev Forum
Hi, I'm trying to call a webservice which uses NTLM authentication. Testing with soapUI it all works like a charm. Afaik Windev used BASIC authentication by default, but switches to NTLM if the username is like domain\user mywebservice.user = "mydomain\myuser" . With soapUI I also added a mockup service, to emulate the webservice. And the log then shows me that the iby ArieM - WinDev Forum