LOCAL n is int n=CallDLL32("user32", "GetScrollPos" , Handle("WIN_MAIN"), 1) This is for example to get a scroll value out of an control? in this case for vertical, with 0 you can get the horizontal value. And of course you can set the scrollbar value: ScrollbarPosition("WIN_MAIN", sbVert, n) //sbHorz = Horizontal Hope that helps?by apredl - WinDev Forum
Hi ccc2, you can use a USB to USB-C host dongle? But another hardware, another thing that can be broken, copy that. We use in Austria for a certificate/QR-code signature an USB smart card reader without problems, so why shouldn't it work with a dongle? yours Alexby apredl - WinDev Forum
Something is going on... maybe you have an improved code or it was unfinished... So: sURL = "; == ERROR maybe? sURL = "; PS: my error, phorum edits this in [] sry... BUT: sRestReq.URL = sURL + "oauth2/token" missing a / SHOULD BE? sURL + "/oauth2/token" yours Alexby apredl - WinDev Forum
@Markus Sorry for the delay, some work needed to be done and yesterday my PC lost internet commection (code 56), I need to set it up new.... I explain a bit: The database which is running on the MySQL server, has a unchanged old structure, so to read out the database simply read with SQL commands the database structure. For example: SHOW FULL COLUMNS FROM versions; Result: ver_iby apredl - WinDev Forum
I have a solution for MySQL not yet for PostgreSQL and SQLite... so only for MySQL so far. You don't need to make for each generation a script, so no precompiled SQL script will be executed. Simple, read on structure from old DB and the new DB structure is the actual. So this works, even with keys and links. New tables will be created old fields deleted.by apredl - WinDev Forum
We have here in Austria a RKSV means cash register security regulation, so we need to sign the whole slip with a signature card-reader (yes sounds complicated, IT IS)... make a string for example: R1-AT1_KASSA2_4_2023-04-28T07:18:00_0,00_0,00_0,00_0,00_0,00_XUosycfuEbwJPw5woi2nkA==_79D71B3B_OE/hT831XQs=_AGBaEF40lOR07UWsvLlBxwcgibQdXzNNFW3Ckr5+J53+qns1JplTxlTnSXy90wgPGBmIftDU6KIhHzqNOG6z+w==by apredl - WinDev Forum
Hi MediOffice, Some of the things I did before: HDescribeTrigger IF NOT HDescribeTrigger("product_main_groups","HADD,HMODIFY,HDELETE,HCROSS,HWRITE","PDG_MakeNumName",hTriggerBefore) THEN Error("Database error!!") RESULT FALSE END So everytime the HFSQL makes a insert, update or delete this trigger will fired. But unfortunatly, the readby apredl - WinDev Forum
I have a few problem-solving suggestions for you: a) the .NET C# component is not longer supported, use only the C++ component b) There is a VB6 "wrapper" use this, because in the history of WinDev VB6 components seem to be compatible c) Install every C++ runtime, try then, if it still not work, try to contact the producer of FreeImageby apredl - WinDev Forum
Why not using the REST service function? LOCAL sREST is restRequest sRESTResponse is restResponse sREST..URL = "; sREST..UserAgent="" sREST..User="usernamehere" sREST..Password="passwordhere" sREST..Method=httpPost sREST..ContentType="application/x-www-form-urlencoded" sREST..Content=sPOSTListen sRESTResponse = RESTSend(sREST)by apredl - WinDev Forum
Hello, I have a lot of problems regarding different screen sizes and their DPI, so even if I don't change anything in the editor, the screen with all anchors will disordered, changing the window size in the editor AFFECTS the window and control sizes/positions in the finally APP... this shouldn't affect it at all.... So I decided to manually change the position and size of every cby apredl - WinDev Forum
LOCAL dsDataSource is Data Source <description=products> sFileName is string = "products" ctKassaLokal is Connection bRes is boolean bHFCSConnected is boolean = True sDataDir is string = CompleteDir(fExeDir()) HAlias(sFileName, dsDataSource) HChangeName(dsDataSource,{sFileName,indFile}..DescribedPhysicalName) //Important! IF bHFCSConnected THENby apredl - WinDev Forum
Hello Allard, yes, this problem I had too, but I remembered the httpRequest, there you need to add HTTPRequest(gsServer+"error_log.php?delete","","",sPost,"application/x-www-form-urlencoded") so similar you need to add "application/x-www-form-urlencoded" as content type instead of application/json... Did you try to test the API with pby apredl - WinDev Forum
HFSQLExport HFSQL analysis and data exports a SQL script for MySQL, MariaDB and PostgreSQL. Direct export for PostgreSQL is not ready, but can be done (needs time) If anyone wants to extend this little tool, sources are available at request.by apredl - WinDev Solutions
Hi, I have a question, because I need to clarify: I have a window "WIN_QUICK2" in this window is a IWC_Artikel internal window control init without any internal window. IWListDeleteAll(IWC_Artikel) HReadFirst(Artikel,ArtikelNr) WHILE NOT HOut(Artikel) IWListAdd(IWC_Artikel,IW_QUICK_Artikel,Artikel.ArtikelNr) HReadNext(Artikel,ArtikelNr) END So do I load the internalby apredl - WinDev Forum
Hi eveyone, I have a little question to you all. I developed years ago, a little inhouse tool 'MySQLExport' which worked fine, last year I gave somebody the tool, worked fine for him too, I added MariaDB last year, today I added PostgreSQL to the tool as well and renamed it to HFSQLExport (WinDev 24). Do you think it is the work worthy?? How often do you export data from HFSQL/HFby apredl - WinDev Forum
I'd like to share with you a little batch file, which I developed to install my compiled .apk to several devices at once: First go to Project -> Configurations Open the "Android Application" with right click and select "Description". In the window "Describing the configuration" click on the button "Action after generation". In thby apredl - WinDev Forum
Hi William, sorry to hear, as soon I've read that, I looked in my emails, but found no mails like this?! this error I got in the last year about 12 times: (WD22 & WD23, Android 6,7,8,8.1) ===== Error ===== Date and time=18/02/2019 19:55:57 Message=Unable to create <!s!> file. File found neither on disk, nor in libraries (.WDL) or components (.WDK). System Message=Whatby apredl - WinDev Forum
Hi Stefan, really thx for reply, I found the BackgroundTaskAdd() too, but our app needs 1-2 second respond, not every 5-15 minutes respond... so our APP worked since Android 7.1 which I tested hours and hours. With our new Android 8.0 phones I can set background processing to not watching and power control to "can use energy as much as needed" but there is anyway a delay of 5-10 minuby apredl - WinDev Forum
Hi @everyone, I have a litte (for me big) problem with a Android 8 mobile device, since Android 4.1 everything works find with Android, but now I have lots of problems with background processing, my APP stops working in background for 5-10 minutes if the user puts the device in standby.... It is a HFSQL connection with self made synchronization, it works fine until Android 8... I confirmed,by apredl - WinDev Forum
Hi Vassilis, thx for the tipp, but I ended in the following code, because it did'nt work for me for the current problem: (but I'll change the .ini always, from now on!!) HOnError("*",hErrConnectionLoss,"Reconnect") This comes in the service routine OR you can place it in global code. //This procedure is a global one... PROCEDURE Reconnect() Executeby apredl - WinDev Forum