Hi WB26 has the "Heartbeat" feature which allows the server to identify dead sessions and do an auto cleanup. Cheers Peter H.by PeHoBe - WinDev Forum
Hi Koen Is Frame_Deb.GnDebNr a variable or a control? If it is a control linked to a field of the file F_agenda, the behaviour is normal (unless you're having different HF contexts). Maybe if it is a real variable that has a <mapping xxx> attribute attached in its declaration it may work like that too. Also, in your Window settings, do you have 'Independent HF Context'by PeHoBe - WinDev Forum
Hi Steven You can download teh French one I guess... It'll prompt you for the language (French, English, Spanish) when you start it if I recall correctly. Cheers Peterby PeHoBe - WinDev Forum
Hi ISO Yes it is possible but you'll need to have the VPN client on the mobile device (E.g; Cisco Anyconnect) that establishes a secure VPN tunnel with your endpoint. But to be honest that's not the best architecture moving forward... The way to do this is typically create a public (https) WX or webservice endpoint in the cloud that provides secured access via e.g. oAuth2 and/orby PeHoBe - WinDev Forum
Hi all Haven't had a single error or issue on V26 So far from a usability point o view. Have installed first the French V26 and overwritten it with the English pre-release and final release. I can only say the whole platform is really maturing but I/we do follow from an infrastructural point of view too. Our dev stations follow the latest Windows versions and our Windows server platforby PeHoBe - WinDev Forum
Hi Gus The variant solution was the solution to work with before the JSON variable type existed (Pre-V23 I believe). Now you need to drop your JSON descriptions/definitions in the "external descriptions" in the project explorer and you can next use them natively including type-ahead and compilation error features. Simply declare the type of json: x is json <description="by PeHoBe - WinDev Forum
Hi Arie To my knowledge your interpretation of the "with (nolock)" option is wrong and to my knowledge it are two different query options that you can use individually or combine. So "with (nolock)" is not the same as "with (readuncommitted)". The (with nolock) option has many advantages on the other hand. It will execute faster and above all will prevent poteby PeHoBe - WinDev Forum
Hi Ben The return of the web service is in Unicode or UTF8 (double byte characters) and it seems your project configuration is ANSI or maybe the return is in ANSI format and your project configuration is in Unicode (Do a ANSIToUnicode in that case). My advice: Nowadays make all your project configurations Unicode. There's no reason to stick with ANSI in today's globally connectedby PeHoBe - WinDev Forum
Hello team I have a hybrid class, meaning a class that can be used server and browser side. On the server side I can perfectly serialise the class into a string (that is browser synchronised) and on the browser side I can perfectly deserialise it again into the class on the browser side. On the other hand, I just cannot seem to get the serialise to work on the browser side again. If I useby PeHoBe - WinDev Forum
Hi Depends on where it is coming from mostly. In classical Windows you will see mostly CRLF as line break (ASCII Char(13) + Char(10) or Carriage Return + Line Feed). In many Linux and web based platforms you will often only find LF (Char(10) or Line Feed) as break. In Word this would be the difference between a Return (CRLF) and Shft+Return (LF)... A simple verification in notepad++by PeHoBe - WinDev Forum
Hi Günter & Al It can work with WX as I have apps in my portfolio that do windows, web and mobile... But, these are not Windows based applications that have been converted, it are applications that are architected from the start to this purpose. - There is a logic tier (that can be client and server based) designed to target all three platforms (with lots of <COMPILE IF> preproceby PeHoBe - WinDev Forum
Hi Günter The web paradigms and classical windows (or client/server) paradigms are by far unrelated in terms of architecture and thus coding... Therefore the Webify thing is more of a marketing theme than something that will work in real life on the long term. It reminds me (as a JDEdwards Expert) to the days back in the nineties where we had co-existence between JDE World (the IBM RPG basby PeHoBe - WinDev Forum
Hello The issue has been identified and a service request has been raised: ST/G061174. The problem is (although it makes perfect sense) that for Android generation you cannot use a variable that is declared in a conditional <COMPILE IF...> preprocessor block after it. It seems there is a scoping translation issue during the transformation of the WL code to Java code upon generation whby PeHoBe - WinDev Forum
Hi, Trying to generate an Android application but bumping into these generation errors. It seems to be related to the Idx integer variable that is being used for most array operations within the class concerned. (Point to "vWD_idx" in the log) Anybody has an idea? QuoteLog Failure creating the Android application named . Command line: "C:\Program Files\Java\jdk1.8.0_1by PeHoBe - WinDev Forum
Hi Use DateTimeByDefault with blank values. That will solve your problem. I have this as a global setting in most my projects initialisation code as in a lot of cases a defaulting to the system date and time at declaration makes no sense. Help: DateTimeByDefault Cheers Peter Holemansby PeHoBe - WinDev Forum
Hey Steven Glad you found your way around. Thank you for sharing your knowledge in this area ! Highly appreciated. I'm sure this will be helpful for me too and will try the same with JSON definition files instead os sample files to see if that works the same way. Cheers Peterby PeHoBe - WinDev Forum
Hi Steven My experience is that WX doesn't handle definition files very well for JSON and XML (xsd). Using sample files with real data works much better. That is pretty crappy compared to e.g. VS but you could try loading in a sample XML file instead of the definition (XSD). Hope it helps you out. Just my 2 cents Peterby PeHoBe - WinDev Forum
Hi Steven I didn't see you declared the XMLNode with its definition. Did you try: SampleXMLNode is XMLNode <description="samplexmldoc.node.node.samplenode"> Next do a "for each XMLNode of XMLDoc.node" etc... Cheers Peterby PeHoBe - WinDev Forum
Hi Steve Did you load a sample XML file or the XML definition into the "External descriptions" folder in the project explorer or added them to the project? In that case, WX would simply case it in accordance to the definition and provide you all teh fun of type ahead, compilation warnings etc... SampleXMLDoc is XMLDocument <description="samplexmldoc"> SampleXMby PeHoBe - WinDev Forum
Hi Derek I'm using Oracle AIS REST services from all three products via a single dedicated class and it all works fine. A couple of things to start with. 1) Get a sample JSON for the input 2) Get a sample JSON for the expected output or get a definition JSON from the vendor 3) Get a sample JSON or a definition JSON of the structure when errors are returned 4) Make your project configby PeHoBe - WinDev Forum
Hi Norfolk In C \0 equals null. It is the termination character of a string in C language so yes, this is null or better: an empty string if nothing is in front of it. Since C is the basis of about any programming language out there this is the same across systems in general when it comes to (binary) strings. Cheers Peter H.by PeHoBe - WinDev Forum
Hi Günther I use Visual Studio too and the license for the pro versions is not linked to any machine... I work with a subscription on an MS account independent of the machine I am running it from. Could be a machine belonging to a client even where this account also gives me access to my personal repositories in the cloud. Based on some AI and data acquisition I'm sure they know if an accby PeHoBe - WinDev Forum
Hi both I started with an international version in 1999 and over the course of the years somehow my license was altered into an 'F'-one by PCSoft without asking me anything. Maybe because I always stepped in during the French early bird upgrade period in December to look at some of the new (half baked) features and new bugs. I also think they stopped the expensive 'Internationalby PeHoBe - WinDev Forum
Hi Günther The French one can be configured to run with an English or Spanish UI too. Here and there some missing translations in my release. Finally they're moving to a single multilingual platform it seems. Have they seen the light? Cheers Peterby PeHoBe - WinDev Forum
Hi GGA Queries as a source for your comboboxes is teh way to go forward... You simply re-init the query of teh 2nd combo after a change to the 1st. Cheers Peter H.by PeHoBe - WinDev Forum
Hi Jan There are numerous debates/entries on the French PCSoft Windev forums about this... Latest discussion Earlier discussion Some have to do with known bugs (e.g. use of undo CTRL-Z in the editors) fixed in V25 latest updates and V26 but it still seems to be there as there are still updates on those posts. It all seems to be environments connected to GDS in a multi-user environment itby PeHoBe - WinDev Forum
Hi Carlos Why don't you simply do: MSSSCnx is connection --> Define your connection or typically reuse the one defined at application level SQL is string = "Select GetDate() as MSSSDate" SQLRes is data source if hExecuteSQLQuery(SQLRes,MSSSCnx,hQueryDefault+hQueryWithoutCorrection,SQL) then hReadFirst(SQLRes) trace(SQLRes.MSSSDate) end PS: Cheers,by PeHoBe - WinDev Forum
Hi Ola I believe (but may be wrong) that in older versions of WD (maybe still today, haven't looked) the sizing options in the 7 tabls of teh window description provided an option to always open a window at it's initial size... Maybe that flag still plays a role in your case. Cheers Peterby PeHoBe - WinDev Forum
Hi Erik If you see the window on the taskbar click on that to set it teh active window. Next click on the Windows button and e.g. the right arrow. That will move/resize the window to teh right half of your screen. (Windows 10 only I believe) Cheers Peterby PeHoBe - WinDev Forum
==>UPD: I was too fast - There's no download yet... <=== Maybe they're listening to their international user community at last... Only three months between the French and English release this time instead of the usual six... Thumbs up ! Now let's evaluate the build quality... Cheers Peterby PeHoBe - WinDev Forum