NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rob Kolanko

Pages: [1] 2 3 ... 6
1
I upgraded from NT 12.28 to NT 12.53 recently and my program that downloads email stopped working.  The NetEmailRecieve object is throwing an error number -36 ?The connection is not open and therefore the data can not be sent? in the ErrorTrap.  The same program compiled with NT 12.28 works fine.  The demo program ?receive.app?  in the Jump Start example has the same problem.  I tried to email Bruce with slightly modified ?receive.app? with the local variables initialized the credentials of a Outlook account that I am using.  However, I know my sympatico ISP email sometimes does not reach Bruce.  Bruce if you need the credentials to this Outlook account, let me know.
 
I saw on NetTalk Central, a post about Outlook requiring Auth2, but I have not seen that requirement for me though. The program using NT 12.28 downloads emails just fine


2
Web Server - Ask For Help / Net Talk Client Tables Sync
« on: January 10, 2016, 04:14:55 PM »
Bruce,
I was experimenting with the desktop and server apps for the NT 9 disconnected app . I noticed that the Tables tab  was blank of the "Sync client tables with server" extension. I assume then that all tables in the client application have to be synced with the server. In the next release, will the developer be able to select which tables are synced?
or am I missing something?
Also the desktop app had FM with the app. I do not own FM. I removed the DLL from the solution and it compiled and ran fine.

How soon to a new NT9 release?

Thanks,
Rob Kolanko

3
Hi Bruce,
The NT9  Apps Alpha 3 install does install the DisconnectedDesktop example, except the modified invoice.dct dictionary is not included. Thus the app does not load into clarion. Please upload/email/skype the dictionary file to me.
Thanks
Rob

4
Web Server - Ask For Help / ExportToExcel Routine
« on: October 13, 2015, 01:18:02 PM »
Bruce,
I am not sure if the upgrade to NT8.60 or the addition of xfiles to an application caused the ExportToExcel routine to be generated for all NetWeb Browses, regardless if the browse is going to be used to create an excel file. In some of my browses, the value displayed is a local variable in the column's value routine. Thus compile errors are created because the value for the excel cell is a unknown variable in the ExporToExcel routine. To correct the problem, I have used the embeds in the ExportToExcel routine to omit the routine's code.
Since the code for this feature is not trivial and those that use this feature will not need it for every browse, could the generation of the ExportToExcel routine code be an option on the NetWeb Browse template? Or is there some other way to suppress this code generation.
Thanks,
Rob

5
Web Server - Ask For Help / Database triggers and Nettalk web handler
« on: October 12, 2015, 10:37:05 PM »
Hi,
I would like to use Clarion database triggers to execute code whenever certain tables are maintained. This code will need the to use the Nettalk web handler (p_web) methods.  I think that this can only be done by creating a new file manager class and and a new relation manager class, where the all database methods would need a web handler parameter. Is there an easier way?

Thanks
Rob

6
Web Server - Ask For Help / NetWebServiceMethod with a File Parameter
« on: August 24, 2015, 10:44:25 AM »
Hi Bruce,
I was able to upload an image file to a web service using the "FIle" parameter type. The documentation for the File parameter has a format problem. See Attached.
Rob

[attachment deleted by admin]

7
Web Server - Ask For Help / NetWebServiceMethod Template issues.
« on: August 17, 2015, 11:02:55 AM »
Hello Bruce,

I trying to learn web services with the WEB77 example.  When I compile the program for the first time, Clarion upgrades the application to version 10, in the process I get a message that a templates missing from the registry will be removed. I do not have the JFiles template. Nevertheless the program compiles and works with the accompanying CLIENT app. Next, I open and save the WEB77 dbCustomer procedure without making any changes to the procedure and recompile, the program still works OK. Next save, close, and open the WEB77 app and recompile again, now the Customer ID parameter does not work to retrieve one customer record using the dbCustomer procedure. All GETs  from the CLIENT app on the dbCustomer database returns the whole table. Also I can see from the clarion source that the code for the filter on the view is missing.  Now open the dbCustomer procedure again, select Actions, Parameters tab, and the Customer Parameter. Now press the OK buttons all the way through the dialogs and recompile, then WEB 77 dbCustomer procedure will work properly again. But just save, close, open and recompile the app, the dbCustomer procedure code is regenerated without the Customer ID parameter filter again.  Using NT 8.59.

Rob

8
Web Server - Ask For Help / NT V8.59 HTML Email not working.
« on: August 11, 2015, 10:23:34 AM »
Hi Bruce,

The email procedure in my Net Talk web application now fails when sending an HTML email message. The same procedure work flawlessly in NT version 8.42.  The error message is "The remote Email (SMTP) server sent error = 451 See http://pobox.com/~djb/docs/smtplf.html. State = 77. " which is the "Bare LFs in SMTP "  error. 

I believe the routines used to create "Content-Transfer-Encoding: quoted-printable" message have been messed up during recent refactoring.

The raw HTML part of the email message from NT version 8.42 looked like:
Code: [Select]
----=_NextPart_001_d20150811t114100.62c1r871138
Content-Type: text/html;
charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<p><span style=3D"font-size: 10pt;"><span style=3D"background-color: #fffff=
f;">Self-assessment "<span style=3D"color: #000000;"> 000006-First Audit at=
 ACME TORONTO of EHS Auditor Demo Company</span>" has</span> been forwarded=
 to you for your response or review. If you are responding to the assessmen=
t, you will find a PDF copy of the self-assessment checklist attached to th=
is email. You can print this report for your assessment, if required.<br />=
</span></p>
<p><span style=3D"font-size: 10pt;"><a href=3D"http://YourURL" target=3D"_b=
lank">Click here</a> to log on to the Self-Assessment Module (SAM) to enter=
 your responses. <a href=3D"http://YourURL/help/SAM/enu/overview_and_workfl=
ow.html" target=3D"_blank">Click here</a> for assistance on using SAM.<br /=
></span></p>
<p><span style=3D"font-size: 8pt;">This message was automatically generated=
=2E Do not reply to this email.</span></p>

----=_NextPart_001_d20150811t114100.62c1r871138--

The raw message from NT Version 8.59 now looks like this:
Code: [Select]
----=_NextPart_001_d20150811t104133.32c1r308780
Content-Type: text/html;
 charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<p>Hello,</p>
<p>Self Assessment, " 002241-Sara's assessments at AAA CHEM=
I=
C=
A=
L=
S=
 =
o=
f=
 =
E=
H=
S=
 =
A=
... etc.

I think that line feeds are being pushed to the single character stream of the message which is causing the "Bare LFs in SMTP "  error. Please fix the "Content-Transfer-Encoding: quoted-printable" HTML message.

You can duplicate the message and error by compiling the "SEND" email example and entering the following into the "My HTML" field:
<p> HTML Message 1</p>
<p> HTML Message 2</p>
<p> HTML Message 3</p>
<p> HTML Message 4</p>
<p> HTML Message 5</p>

Thanks
Rob

9
Web Server - Ask For Help / Net Talk Version 8.58 & 8.59 Regressions
« on: August 04, 2015, 06:58:45 AM »
Since upgrading from Net Talk 8.56 to 8.58 and 8.59, I have not been able to compile any Net Talk server applications including the examples. I receive theses compile errors on the Net Talk 8.59 NetWebBrowse procedures:
..\BasicWithMenu (2)\web2007.clw(1156,20) : Error : Field not found: JSONENCODE
..\BasicWithMenu (2)\web2007.clw(1156,13) : Error : Unknown procedure label
..\BasicWithMenu (2)\web2007.clw(1183,20) : Error : Field not found: JSONENCODE
..\BasicWithMenu (2)\web2007.clw(1183,13) : Error : Unknown procedure label
..\BasicWithMenu (2)\web2007.clw(1210,20) : Error : Field not found: JSONENCODE
..\BasicWithMenu (2)\web2007.clw(1210,13) : Error : Unknown procedure label
..\BasicWithMenu (2)\web2007.clw(1237,20) : Error : Field not found: JSONENCODE

The above errors are from the compile of the WEB2 example. They appear to be for a missing JSON functions. I do not own the JFILES accessory, but it is not required.

Thanks,
Rob Kolanko

10
Hi Bruce,
p_web.Requesthost returns the correct site name only on the first request from MSIE 11 client.  The value is then truncated for sequential requests. Not sure if this is the case for all version of MSIE. No issues with Firefox or Chrome.  Attached is the WEB1 Example where I store the p_web.Requesthost value in a session variable within the process link embed. The session variable  is shown on the page header which would be the initial value because the page header does not change. In the mail box form I show the current value. With Firefox the values are the same, with MSIE 11 the values are different.  I also output the p_web.Requesthost value to debug in the process link embed which clearly shows that the value changes after the first request by MSIE. The example app was compiled in C10, NT 8.55.
I use p_web.Requesthost value to determine the sub host value (e.g. test.localhost). Please fix.
Thanks,
Rob Kolanko


[attachment deleted by admin]

11
Hi Bruce,
I updated from NT8.33 to NT8.39.  I notice a few issues with my current development application in Firefox, but nothing compared to the new issues when the same app is experiencing with MS IE.  I saw that there were fixes for IE in NT8.40, but I am finding that many problems still exist.  Attached is a app that I created to test some browsing techniques. I have compiled it for NT8.40. Below are the most obvious issues when used  with IE 8 and 11. The most common versions used by my clients.

IE Issues. (these are not issues when used with Firefox)
On the Single Table Browse Example tab
- the table buttons do not work with IE 11
- navigation buttons do not work with IE 8
On the Multi-table Browse Example tab
- Miss aligned screen: Locator line, bottom row of navigation buttons, and record update buttons have been moved off to the side of the browse. Both IE 8 and 11
-The bottom row navigation buttons do not work properly with IE 11.
-Clicking on the browse header does change sort in IE 11
-Locator does not position the browse in IE11

There are many more issues with IE in my current development application. I hoping that fixing these problems will fix the other issues. Both IE version 8 and 11 worked just fine in NT8.33.

The NT8.39 release notes has:
Change: Consolidated msie8, msie9, msie10 and msie11 css files into a single msie.css
However when I inspect the Styles web folder, I see are number of msie?.css files, all with dates of Jan 27, 2011. Maybe the latest msie.css file is not included in the release?

Another Issue with all browsers.
Many of my forms do not have a URL for Save or Cancel.  In NT8.33, the forms after update would return to the page containing the browse that the form page was launched by the browse update buttons. Compiling my major application in NT8.40,  and pressing the Save or Cancel buttons on some of these forms does not return to the browse page but shows a page not found error. The incorrect URL contains the correct page name but has the this text attached: “returns<name of page that called the browse page>”.  I have not been able to duplicate this issue on a example. In the attached example, the “EmailTemplateForm” NetWebForm does not have a URL for Save or Cancel supplied and pressing the Save or Cancel buttons does request the “EmailTemplateList”  page.  However, in my major application when a user presses the Save or Cancel buttons in this same form,  an unknown page  “EmailTemplateListreturns_master.htm” is requested. “s_master.htm” is the last page that was displayed before “EmailTemplateList”  page, even though “EmailTemplateList”  was requested by a menu option.  I am hoping that the incorrect page being requested my jog your memory of a change done after NT8.33

Thanks,
Rob Kolanko


[attachment deleted by admin]

12
Web Server - Ask For Help / Two Nettalk Interactive issues and example
« on: February 18, 2015, 03:49:04 PM »
Hi Bruce,
I have attached an example program to show two Net talk issues. This is a modified version of a browse that I using as popup lookup for an item in a tree structure. The tree structure is irrelevant to the issues, it was just easier to extract and modify this procedure into an example program to demonstrate the issues.
  • Issue 1. When a button in a form is refreshed from an event from the embedded browse procedure ( or any event in the CallDiv routine ) the button is no longer active. In the example, on the popup lookup for a department is displayed, press a Level Down button on one of the rows to display next level down. The Level Up button will appear on the form, but it  does not work or generate any events. If you comment out the Do Refresh::Drillup line in the CallDiv embed and remove the hide condition on the button, the button will  work.
  • Issue2: When a button on a row of a browse is set to refresh the entire browse when  selected. After the browse is refreshed, the first row is shown to be selected, however the key field of the row has not been saved in the session variable which occurs when the row is clicked on. In the example, on the popup lookup for a department is displayed, press a Level Down button on one of the rows to refresh the browse to display next level down. You see that the first row is selected. Now press the select button on the form and you will see that the record id in the session variable is not the selected record, but the id from the record selected to refresh the browse is in the session variable.  

Thanks for looking into these issues for me.
Rob

[attachment deleted by admin]

13
Web Server - Ask For Help / MSIE 11 and $$$ static files
« on: February 05, 2015, 12:29:54 PM »
Bruce,

As discussed during the NetTalk user group today, in certain conditions MSIE 11 will request a  HEAD http request which is deleting the $$$ prefixed static file before the GET request is executed.  Attached is the Web 74 example where I have added a new menu item "ShowPDF" which calls a form that copies the appendixB.pdf file from the root to \Uploads folder with the $$$ prefix. Then the form has added HTML code to embed the PDF into the web page.  You will see that the PDF file will appear with Firefox  but not with Microsoft Internet Explorer 11. This app needs to be compiled in the "Media (74)" folder.

On a side note. You will also see that Firefox will only request the PDF file once and cache it. Thus subsequent calls to the form, Firefox does not request the PDF file again thus the $$$ named file is not deleted. I tried adding HTML Meta tags to the header of the web pages generated (see web handler) that was suppose to prevent the browser from caching files, but it did not work. Firefox still cached the file. Since my generated static files have a unique name, preventing the browser from caching files is not that important to me.

Thanks
Rob


[attachment deleted by admin]

14
Hi Bruce,
I see that in NT8, you revised the "getscreensize" JavaScript  to be more efficient by only updating the session value on server when the screen size has changed. Unfortunately, I (and I suspect others) have a problem with the new script because I delete the session after the user logs out which includes the _screenWidth_ session value. Thus when the user logs in again the _screenWidth_ session value contains zero because the “getscreensize” function does not know that the server session value was erased.  I use the _screenWidth_ session value to set the number of columns of my text box controls to fit my web pages.
For me, I solved the issue by clearing the JavaScript session storage on my log in web page which will trigger the "getscreensize" JavaScript  to update the server session variable. I added packet.append('sessionStorage._ScreenWidth_=0;') in the "7 Inside Script" embed. I wanted to let you know, but I am not sure how you can fix this issue generically for everyone and I hope that you keep the efficiency in the script.

Thanks,
Rob Kolanko

15
Web Server - Ask For Help / Popup windows difference between NT7 and NT8
« on: November 21, 2014, 02:43:40 PM »
I am upgrading a web server application from NT 7.31 to NT 8.30.  In NT 8, popup windows have a different close window icon in the upper right hand corner.  My users prefer the plain “X” icon of NT 7, can I get that icon back?

When popup window calls another popup window, the resize window icon of the first window displays through the second popup window. See attached image. Clicking on the resize icon brings the window beneath to the forefront, which is not good. In NT7 the  resize icon did not display through the second window.

Thanks,
Robert Kolanko


[attachment deleted by admin]

Pages: [1] 2 3 ... 6