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 - bwhisler

Pages: [1]
1
E-Mail - Ask For Help / Nettalk 4 - Sending via Gmail
« on: November 30, 2011, 10:30:55 AM »
Ok, yes I know there is a newer version than Nettalk 4, but that is what I have to work with today<g>.

I'm trying to get email to send usiong GMAIL but have not been able to get it to work. I checked and found an article in Jan 2010 but that does not seem to work. Is there a more current example somewhere that shows what is needed to get GMAIL to work.

Thanks!

Barton Whisler
Prosoft Inc - Tampa Florida

2
Running NT 4.49, Clarion 6.3 ABC

On a NetWebForm, I have a "File Upload" field populated on one of the tabs. I ran into a problem with Internet Explorer sometimes not accepting the click on Browse button. Looking at the generated web page, in the cases that it does not work, the control is set to "read only". Firefox works so I guess it just ignores that<g>.

Looking at the program code, I noticed that when the p_web.CreateInput() is called, it is passing the variable loc:readonly but it is not initialized anywhere in the routine. Looking at other controls in the code, it appears that they always initialize that value. Is this an oversight?

I have worked around the problem for now by embedding code to clear that variable myself.

3
Web Server - Ask For Help / NT 4.48 Web Logging to file - File Assert
« on: April 29, 2010, 10:11:27 AM »
OK, first off I know this is not Nettalk issue but rather an aggressive Clarion file manager. However I'm hoping that some could give a tip to work around the problem.

When using the "Web Logging" to a disk file and the program is compiled with debug on, a File Manager Assert is given that an incorrect file close is being done when a new log file is first created. I know that the user can say "Don't GPF" and the program will continue but I would like to not have my testers having to deal with that.

Any magic suggestions on beating this minor issue. By the way, the same that happens with Example # 26.

Thanks in advance!

4
NT 4.47, Clarion 6.3 ABC

I'm having a problem with an image on a NetWebPage when the file name contains a "#". In this case, the image just does not display however it I can the file name to not have the "#" it works fine. Note that in my test case it is " #' (space before pound symbol) and not "&#" which I know if issue in HTML.

Any suggestions on how to work around this?

5
Using Nettalk 4, Clarion 6.3 ABC.

On a NetWebForm, I have defined a field of type "Date" and the variable in the dictionary is defined as "@D02". In the application as the global template level, I have selected "mm/dd/yyyy" for date format.

However when the form is displayed in the browser, it is showing the date in "dd/mm/yyyy" format even though the comment shows "mm/dd/yyyy".

What can I do to get the date to show the proper way (well at least proper in USA)?

6
I have a question about getting the Locator to work in Nettalk 4 (latest version) and Clarion 6.3 ABC.

Attached is an example extracted from a larger application. I have two different approaches to the same very simple browse (single field) but neither shows the locator. I have looked at the Nettalk example for locator and have run that program successfully but mind does not.

Bruce or someone, could you please enlighten me as to what I am missing?

P.S. This is same example that was sent to support via email but apparently that got lost in somewhere along the way since I never heard anything.




[attachment deleted by admin]

7
Web Server - Ask For Help / NT4 - Intercepting image file dowload
« on: March 22, 2010, 06:48:56 AM »
Hi all. Using NT4 with Clarion 6.3, ABC.

I have a form which I hand coded to show a number of images from a folder but one that changes depending on other options. I have that working for the most part using the full path from the web folder but I prefer to have the web page only have the base name without the path. I would then expand that filename at the server based on session values to the full path/name. The reason for this is to prevent someone from modifying the web source page and get pictures from a dfferent folder.

I have done something similar with files using ThisNetWorker.Rename() but that does not appear to work for images. I assume there is a procedure that I can use to do this but which one?

Thanks in advance for any tips or pointers!

Barton Whisler

8
Web Server - Ask For Help / Page variable with filename & slashes
« on: March 15, 2010, 02:52:29 AM »
Using NT 4.35 in Clarion 6.3, ABC templates.

On a NetWebForm, I am trying to set a value like "PageView?CurrentFolder=Folder1\Folder2" but when I retrieve the CurrentFolder variable, the back slash has been removed. I have tried using "p_web.Translate()" but that did not seem to help.

What I'm attempting to do is to pass to the page a current relative file folder but that may contain sub-folder references as shown above.

Any suggestions on how to accomplish this?

9
I have a "NetWebForm" on which there is a "Drop" field. In the settings for that field, on the "Validation" there is a field "Alert Message". I have my own message in that field enclosed with single quotes. Also below that I have the "Required" check box marked.

Based on what I thought I understood, if the field is missing a value then MY message would be shown but instead it is showing the standard "Must not be zero or blank" message. Is this correct behavior or what I'm I missing?

Thanks in advance.

Barton Whisler


10
Web Server - Ask For Help / NetWebBrowse - Blocking delete of select record
« on: February 10, 2010, 05:52:57 AM »
I'm using NetTalk 4 (latest) with Clarion 6.3 for a web server
application and have a question on the NetWebBrowse / NetWebForm.

I have a browse of a list of records with the ability to add, edit and
delete. However I want to prevent the deleting of one specific record
(Sysid = 1). I found where I could block it being served however with
no message given, the user is going to wonder what happen.

I assume that I need to add some embed code but need to know where and what in order to block the delete as well as show a message to the user.

Thanks in advance!


Pages: [1]