Hello Steven It is messy because the preview window is a PCSoft black box I add an extra email button into the "Export" menu tab In the init of that button I have some logic that either hides that button or hides the existing buttons - Btn_Email_HTML and Btn_Email_PDF The preview window is really fragile so don't delete the existing buttons, just hide them My button opby Al - WinDev Forum
Hello Kobus When I have to do date arithmetic I use the DatetoInteger() and IntegerToDate() functions. NextPTODate = IntegerToDate(DateToInteger(EDT_NextPTODate) + 180) DaysLeft = IntegerToDate(DateToInteger(NextPTODate) - DateToInteger(DateSys())) Regards Alby Al - WinDev Forum
Hello Kobus I would use EDT_LastNameInitials = nospace(EDT_LastName) + " " + nospace(EDT_Initials) Regards Alby Al - WinDev Forum
Hello Mark The file system in Windev is called Hyperfile and all commands that work on files start with "H" so HAlias() is the command to setup an alias BUJCAlias is Data Source HAlias("JCTrans","BUJCAlias") HChangeName("BUJCAlias","JCTrans") HChangeConnection(BUJCAlias,HyperFileCS) When you use an index with an alias, the index nameby Al - WinDev Forum
Hello Paulo That worked perfectly. Thank you very much. Regards Alby Al - WinDev Forum
Hello All I would like some help please with a Webdev function - PageToEmail() I am just trying out some things and I have a contact page with a button The onclick code of the button is PageToEmail("","me@realaddress.com,"Enquiry from Web Page","",pteBody) Outlook opens with a new email message and shows the email address and the subject The problem iby Al - WinDev Forum
Hello Yogi You can download all the versions of Windev from V21 to V26. They should install even without the licence. If you have a V26 Licence use the local help for each version, but if not, you can run the Presentation.chm in the Help folder. In either case you can view all the changes in one version to the previous version. From memory the development IDE in V25 is very similar toby Al - WinDev Forum
Hello Guenter The second line that I am familiar with is: "And if one green bottle should accidentally fall, there'll be x green bottles hanging on the wall" I appreciate that the C example was an exercise in a programming method but what a convoluted mess and it scored 3 stars. Regards Alby Al - WinDev Forum
Hello Derek The help file of every version has a What's new section. If you downloaded versions 23, 24 and 25 then you would be able to look in the help of each version to see exactly what was new for each one The version brochure is also part of the help files and that is useful as a quick overview. Regards Alby Al - WinDev Forum
Hello Reg I use memory tables all the time so I supposed I am just used to them and the coding required. If I need a temporary view I just create a blank one with no records A view can be treated exactly the same as a file Quote OrdlinesView is Data Source HCreateView(OrdlinesView, OrdLines, "*", "OTCLEUNIK", "OTCLEUNIK=0", hViewDefault) //This creates aby Al - WinDev Forum
Hello Reg Instead of creating files, it seems like you could use memory tables or views to hold the data. they would also be quicker. Regards Alby Al - WinDev Forum
Hello Tim Could you embed and play an mp3 ? Regards Alby Al - WinDev Forum
Hello Reg I have received a quick and comprehensive reply from PCSoft Tech Support QuotePCSoft Tech Support By default in Windows, emails are sent via the Windows "wininet" module in SSL mode (optionSSL constant) or in STARTTLS mode (emailOptionSécuriséTLS constant). In this case, it is this Windows layer which performs the negotiation of the TLS protocol used, so it depends oby Al - WinDev Forum
Hello Reg Yes I asked them which versions they support in V25/26 as the earlier versions seem to only support TLS1.0 I think your solution of different smtp server is the best option and I will be moving affected clients over to the smtp server provided by their ISP. This is actually the preferred option in the EmailStartSMTPSession() help Quote Notes: •In most cases, the SMTP serverby Al - WinDev Forum
Hello Reg I believe this link explains the problem. aka.ms/smtp_auth_tls Quote Exchange Online ended support for TLS1.0 and TLS1.1 in October 2020. New submission error speedbump to be introduced We are fully aware that many customers will not have noticed the multiple Message Center posts and blog posts, and are not aware of clients or devices that are still using TLS1.0 to submit mby Al - WinDev Forum
Hello Reg The client's IT company have created a work around but they are looking for a better solution because it is an unsecured solution. The work around they came up with is : Server name is domainname-com-countrycode.mail.protection.outlook.com Password is blank User Name is any legitimate email address for the domain Session is unsecured Port is 25 I am sure they have alby Al - WinDev Forum
Hello Reg Not sure if this is good news for you or not but I recompiled my app in V25 and the emailing worked fine. As this is an intermittent thing I will try again over the next couple of days to confirm that it is really fixed Regards Alby Al - WinDev Forum
Hello Reg Yes. One of my clients is reporting that error over the last week or so. I think it is occurring prior to the smtpstartsession() as that process reports via errorinfo() and the messages from my clients are not from that I think it is due to a Microsoft update as it is only affecting clients who use the smtp.office365.com server This is with TLS, a username of norby Al - WinDev Forum
Hello Steven I have that setup with V25 - no issues Regards Alby Al - WinDev Forum
Hello Infos HPass() can be used to create and remove a password for a nominated file or for all files Regards Alby Al - WinDev Forum
Hello Argus That may be the case but when I ran my test it was on a normal tab not a dynamic one. Regards Alby Al - WinDev Forum
Hello Gus I have never used ControlClone() before but I tried it out on a window with a tab control that has 6 tabs The interesting thing is that the controlclone() function runs the tab init and other code before attempting to create the cloned tab. Initially I placed the controlclone() function very early in the window init and it failed when processing the tab init code because other valuby Al - WinDev Forum
Hello Gus And the error is ??? If you don't need many new tabs you could just create them before hand and hide and display as TabControl[2] visible = False or True as required Regards Alby Al - WinDev Forum
Hello Noel If the user makes an rdp connection to the server and enables access to their drive or local network you can use the Windev Zip functions to write a zip file back to their local drive / network. Regards Alby Al - WinDev Forum
Hello Steven Sorry, I missed the critical fact that you are running V26 Maybe the link is in the same place in V26 help. In V25 it was in the Webdev tutorial section 6.1 Regards Alby Al - WinDev Forum
Hello Steven This is from the webdev tutorial Installing and configuring the "WEBDEV Application Server - 10 Connections" The setup program of "WEBDEV Application Server - 10 Connections" is available:•for download on the site (click the most recent version of "WEBDEV 25 Application Server" and choose the "10 connections" package). Regardsby Al - WinDev Forum
Hello All My last word on this mess. V26 reached back and broke V25. I have forgotten about V26 and am back with V25. I realised yesterday that since installing V26, when I double click on a table to edit it and then do the same on another table, the first table closes. This has never been the case with V25, You could always have multiple tables open for edit - very handy for checkingby Al - WinDev Forum
Hello Derek Thanks for your observations. This interface is all brand new for me. In every version up to and including V25 everything opened up in separate windows inside the IDE which is why this new method is such a huge shock. Luckily there is nothing I require from V26 so I suppose I will stay with V25 until a new "feature" in Windows breaks it Regards Alby Al - WinDev Forum
Hello Michael Maybe a request to Tech Support can get you a copy. Regards Alby Al - WinDev Forum
Hello I have a suspicion that PCSoft have taken the easy way out with the new non MDI IDE WD 24 and WD 25 have problems with Ctrl Z and saving with multiple code windows open and instead of fixing the problem, PCSoft changed the interface to give them more control over the windows. It is just impossible to believe that they think the new interface is better than the one it replaces. WDby Al - WinDev Forum