Hi CCC2 Hi have this in my code to manage it as-of Android 11 //As of Android 11, fDataDir(), fExeDir(), fCacheDir, etc return // /data/user/0/com.company.appname/... //This folder is only accessible on a rooted device which is something that we don't //want for our WMS solutions. In this case we create a generic accessible app folder IF SysNbExternalStorage() >= 1 THENby PeHoBe - WinDev Forum
https://pcsoft.fr/annonce28/index.htmlby PeHoBe - WinDev Forum
Hi John No, this is managed at the web server level (IIS). Cheers Peterby PeHoBe - WinDev Forum
Hi Lasse You need to add the received bearer token in the header of your restrequest. Like this: sRestReq.Header[ "Authorization" ] = "Bearer "+received access token That should do the trick. Tip 1: Use Postman to test your REST API flows. Tip 2: Access Tokens expire so if you are using REST API's throughout the day you should validate before every request if yoby PeHoBe - WinDev Forum
Hi Aurélien Your indexes are defined probably as unsensitive to case, accents and non alphanumeric characters in your analysis. This causes: "E 20.05.05-AA" to be identical to "E 20.05.05A-A" from index point of view namely: "E200505AA" You'll need to change this in your analysis on this field in this case and regenerate your indexes. Cheers Peterby PeHoBe - WinDev Forum
Hi Jan I've been communicating already for years directly to the commercial guys at PCSoft that: - their marketing model is completely outdated (like the dongles and probably the old men running the department) - their marketing model is extremely unsustainable and an ecological disaster (who still prints -outdated- books to ship with a product that only a handful of people will look inby PeHoBe - WinDev Forum
For those interested on june 28th 2022 at 18:00/6:00pm CET: Cheers Peterby PeHoBe - WinDev Forum
Hi Arie That wasn't clear to me in the original post that it concerns an awp page context... I'm using a lot of external REST web services and when working with files to send towards the service all of them need an httpForm request to retrieve the data. If you're using purely internal calls yourself you surely have a better control on how you implement this. I guess the htby PeHoBe - WinDev Forum
Hi Typically for uploading files (like a photo) you need to make use of a httpform in your REST request service. Cheers Peterby PeHoBe - WinDev Forum
For those who are interested: Herewith our Serialise and Deserialise methods from the wxRecord class. It contains a Query Record variable. 1/ Serialise: FUNCTION ObjSerialise(_MsgLst is wxMessageList, _IncludeTextMemos is boolean = True, _IncludeBinaryMemos is boolean = True)boolean,JSON) //Local variables Msg is wxMessage SerBuf is Buffer ResJSON is JSON // Clear all error messaby PeHoBe - WinDev Forum
Hi, For Europe we're using this one: https://myponto.com/en (Open banking standard). It is a cheap payment gateway with a lot of additional open banking standard APIs. Doesn't work in the US (yet) unfortunately because they haven't embraced the standard yet. Integrating a payment gateway always needs to be done via your own intermediate API server (in the cloud or local serverby PeHoBe - WinDev Forum
Hi OLE is indeed pretty old school... Aside of the comments on the rights (which is the first thing I would look at too), I think it can be a 32-bit/64-bit issue as well. E.g. your program is 32-bit but Outlook (Office) is installed in 64-bit. Not sure but I believe the OLE consumer and provider need to be on the same level. If this is the case tweaking the registry: HKEY_LOCAL_MACHINby PeHoBe - WinDev Forum
Hi Paul No major issues here. I had some bugs I sent to Tech Support (mostly in the rest web services and multi-platform area) but PC$ already solved most of them. Most of our code is business logic without a lot of UI so I can't tell about the UI-coding piece. Just my 2 cents... Peterby PeHoBe - WinDev Forum
Hi again OK, thinking out of my head (not tested) this should work then... x is array dynamic of [0,0] string RedefArray(3) AddLine(x,"A","B","C") RedefArray(4) AddLine(x,"D","E","F","G") RedefArray(1) AddLine(x,"H") INTERNAL PROCEDURE RedefArray(NumColsNeeded) NumCols is int = ArrayInfo(x,tiNumberby PeHoBe - WinDev Forum
Hi Geoff Not tested but this looks like the way to go with standard arrays that are dynamic in WX. x is array dynamic of [0,0] string AddLine(x,"A","B","C") AddLine(x,"D","E","F","G") AddLine(x,"H") I think the management of the columns (4 in this case but not filled in each 1st dimension) is handled automaby PeHoBe - WinDev Forum
Hi Here is a sample method that allows to upload a file attachment into Oracle JDEdwards. You need to work with the HTTPCreateForm, HTTPAddFile and last HTTPSendForm functions... FUNCTION JDEMOFileUpload(pErrLst is soErrorList, pMOStructure is string, pMOKey is string, pMOSequence is int, pItemName is string, pFileName is string, pServiceURL is string=AISVersionMediaObjectService+["/&by PeHoBe - WinDev Forum
Hi Willy You might want to have a look at the native htmldocument variable type to work with this type of document. Cheers Peter H.by PeHoBe - WinDev Forum
Hi We paid about 300€ per three years (100€/year) via certigo if I recall correctly... It took 2 weeks to get the validation done though but it is the only way to have trusted exe's... Cheers Peterby PeHoBe - WinDev Forum
ArieM Wrote: ------------------------------------------------------- > Hi wduser, > > QuoteYou can seperate code competely by using > some javascript framework and webdev for server > code . using json tyo fill the client side. > syncfusion for instance .Then you have even more > controls then windev has . > > > > I'm interested in this approachby PeHoBe - WinDev Forum
Hi Norfolk-Reg I'ld say to have a look 1/ in the project description 2/ in the analysis description or connections for pointers to this location. Cheers Peterby PeHoBe - WinDev Forum
Hi Sosina Based on my own pre V22 experience regarding (crappy) RWD in WB and the feedback I'm reading on the French forums I think it is best to switch to Layouts instead of trying to implement responsive design in WB. Most WB developers on the French forum state this works better than RWD is easier to maintain. https://doc.windev.com/en-US/?9000153&name=gestion_des_agencementsby PeHoBe - WinDev Forum
Hi Yogi Yang And is your application configuration also in Unicode? Mingling is never a good idea. What's the sense of using ANSI still nowadays anyway (except if you have old incompatible pieces still hanging around in your solution of course). Cheers Peter H.by PeHoBe - WinDev Forum
Hi Graham Without knowing the exact data model, I think the below should do the trick somehow... Just not sure on the data model. I would expect to have the INEVNTORY_BALANCE table to be joined on PartID and SiteID since you would typically hold inventory per site/branch/plant/... for an item. You are only joining it on the part. Also wondering why quantities are being stored on the Partsby PeHoBe - WinDev Forum
Hi Ericus By definition a db transaction execution needs to last for as little time as possible since it creates locks on the database. So in brief it is not a good practice to start a transaction at the beginning of a user process and wait until he/she finishes having three coffees in between... In a modern (web) app, you cache up everything in one or more objects and only on submission ofby PeHoBe - WinDev Forum
Hi Marcov Do you have an exception handler in your code? Without it will be hard to identify the source of any fatal issue at runtime in a service... Peterby PeHoBe - WinDev Forum
Hi Marcov A service normally doesn't use a timer. You need to use the service blocks in project code for the "service" configuration of your project (not a windows executable). In there you will see the following blocks: [*] Initializing YourProjectName [*] Running the Service of YourProjectName (Called in a loop) [*] Stopping YourProjectName [*] Stopping the Service ofby PeHoBe - WinDev Forum
Hi This depends on the locale of your Windows and the separators defined in the source system or on the source platform. Typically for a Belgian or French locale (Windows Regional Settings) the list separator is a “;” while in the source system where the csv was generated it could be by standard be defined as “,”. Excel uses the locale of the Windows context. So in case you change the lisby PeHoBe - WinDev Forum
Hi CCC I guess if your project configuration is in unicode, the text encoding should be piece of cake and may work already out of the box. Who still codes in ANSI today anyway? It may be that the encoding required is UTF-8 so you may want to try StringToUTF8 and set charsetJapanese as a parameter. Cheers Peter H.by PeHoBe - WinDev Forum
Hi Issah This is managed at web server level... (IIS, Apache, ...) Cheers Peter H.by PeHoBe - WinDev Forum
Hi all Ideally, you do something like this with websockets... Also a standard feature of V26. Cheers Peter H.by PeHoBe - WinDev Forum