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

Pages: [1]
1
I'm building an application that will download emails from an internal email server.  The contents of the email will be used to update a DB Record.  If there are attachments on the email, can I set the attachment name before it is saved to the local drive?

2
Web Server - Ask For Help / Compile Error with latest upgrade
« on: June 15, 2018, 08:00:38 PM »
Clarion 10 - Latest revision
Just upgraded StringTheory to latest Version
Then updgraded NetTalk 10 Server to latest version

Trying to add a webserver to an existing app.  I can use the utility to add the WebServer and WebHandler just fine.  As soon as I add a Browse or Form Control, I get this compiler error.

Unknown Procedure Label (Clicking on the error takes me to this line)
    p_web.MakePage('RegistrationFormControl',Net:Web:Form,0,'Update Registration',,)

The same behavior also happens when I load and compile the Nettalk Demo apps.

Anyone have any thoughts?

3
Web Server - Ask For Help / SSL Setup Not Available
« on: November 02, 2017, 07:31:26 PM »
Using Clarion 10 and NetTalk 10 Server.  Trying to deploy a secure web server but the options aren't available on the security tab of the web server extension.  Is there something I need to do to make sure these are available to set up?

4
Web Server - Ask For Help / Nettalk 9 Server upgrade issue - Resolved
« on: June 06, 2016, 05:11:56 PM »
I recently went from Clarion 9.1 using Nettalk 7 to Clarion10 using Nettalk 9 server edition.  I'm running Windows 10 Pro as my OS.  The only code change I had to make to my code to get a successful compile what when I was setting the packet variable.  Now I use packet.append as recommended in the documentation.  My application loads and runs fine.  I then start the web server and all is fine.  The second that I browse to the web page, the application crashes.

I've attached a screenshot of the application as it crashed.  This app has worked fine for years under previous versions of Clarion and Nettalk.  I'm just not sure where to start in troubleshooting.  The only other major difference that I can think of is that my OS is now Windows 10 as well.  Previously, I always ran under Windows 7 Pro.

Thanks for any help in advance.

Brad

5
Web Server - Ask For Help / Double Quotes in a string field
« on: June 29, 2015, 01:37:33 PM »
I have a simple help desk system that I build in Nettalk.  I have a string field that jacks up the whole form when a user put's Double Quotes in the string field.  I've attached a screenshot of the messed up form.  Is there a setting to help it handle the double quotes (") better in a string field.  I'm using Clarion 9 and NT7.  The field is a string in the nettalk settings.

Thanks,

Brad

[attachment deleted by admin]

6
Web Server - Ask For Help / Local variable in NetWebBrowse - HELP
« on: December 09, 2014, 06:25:05 PM »
Ok, I'm losing my mind on this one.  I have a NetWebBrowse procedure that is using a local variable called loc:ImageURL, I have the code to populate this variable in the Value::loc:ImageURL embed point (1 Start).  The code to fill the loc:ImageURL variable is :

URL:ItemNumber=clip(ITE:ItemNumber)
get(GLO:URLQueue, URL:ItemNumber)
if errorcode()
    loc:ImageURL='--'
ELSE
    loc:ImageURL=URL:URL
END

For reference, I have a URL list that is stored in a Global Queue.  I added a list box to the WebServer window to display the queue so I know that is values.  However, the loc:ImageURL column never has anything in it, not even the '--'.  It's almost like this code never runs. 

Am I in the wrong embed point?
What is the best embed point to set local variable for each row of a browse?

I'm using Clarion 9.1 and NT7

Here is the entire generated embed point

value::loc:ImageURL  Routine
  data
loc:extra      String(252)
loc:disabled   String(20)
loc:FormOk     Long(1)
loc:options    String(OptionsStringLen)  ! options for jQuery calls
loc:fieldClass String(252)
loc:javascript String(JavascriptStringLen)
loc:ok         Long
! Start of "Data section, where a Cell value is calculated"
! [Priority 5000]

! End of "Data section, where a Cell value is calculated"
  code
  ! Start of "Before a Cell value is calculated"
  ! [Priority 4000]
 
  URL:ItemNumber=clip(ITE:ItemNumber)
  get(GLO:URLQueue, URL:ItemNumber)
  if errorcode()
      loc:ImageURL='--'
  ELSE
      loc:ImageURL=URL:URL
  END
 
 
  ! End of "Before a Cell value is calculated"
    if false
    else ! default settings for column
      loc:extra = ''
      packet = clip(packet) & p_web.DivHeader('Auction_BrowseAllItems_loc:ImageURL_'&ITE:ItemNumber,,net:crc,,loc:extra)
      packet = clip(packet) &  p_web.CreateHyperLink(p_web._jsok(Left(Format(loc:ImageURL,'@s500')),(Net:HtmlOk*1)+(Net:UnsafeHtmlOk*1)),Choose(loc:formpopup = Net:Page,loc:ImageURL,choose(loc:formpopup=Net:Popup,'#','')),,p_web.combine(p_web.site.style.BrowseHyperlinks,),loc:javascript,,0,(Net:HtmlOk*1)+(Net:UnsafeHtmlOk*1),,)
    End
    packet = clip(packet) & p_web.DivFooter(Net:NoSend)
    ! Start of "After a Cell value is calculated"
    ! [Priority 5000]
   
    ! End of "After a Cell value is calculated"
    if loc:eip = 1
      do SendPacket
    end
! ----------------------------------------------------------------------------------------

7
Web Server - Ask For Help / Suppress default header on Browse
« on: July 18, 2014, 09:07:07 AM »
What is the easiest way to suppress the default page header on a webbrowse ?

I only want the page to show the browse data.  No header or footer.

8
I'm using clarion 9 and Nettalk 7.  I have a browse with a button that calls a form as a popup.  The form works fine and saves appropriately.  However, after the same is done and the browser returns to the browse list, all the buttons are still disabled.  The user has to refresh the screen to get the buttons to work again.

I'm planning on putting this app in production in the next day or two but can't seem to get this problem fixed.

9
I have a browse with a button in it.  When the button is pressed, it runs some server side code and it is working great.  I'd like to have a popup message in the browser after the server code is done just saying something like "Success".  Just wanting to give the user some feedback that something happened.  I've looked at p_web.message() but not real sure what that can be used.

Thanks,

Brad Wilcox

10
Web Server - Ask For Help / Help with Buttons...
« on: April 03, 2013, 05:34:53 AM »
I have a form that runs as a popup to a browse.  I want to put some buttons on that form called "Start Task" and "Complete Task".  When I click the "Start Task" button, it should update some fields and save and close the form.  Same for the "Complete Task" button.

I have set the button type as "Button" and can get the code to update the fields working fine, but it doesn't save and close.  When I set the button type to "Submit", it wants me to enter a URL and I'm not sure what to put for the URL.  I've looked at the nettalk example for Buttons but something just isn't clicking for me.

Any help would be appreciated.

11
Web Server - Ask For Help / Unwanted record Insert when Esc key pressed
« on: February 28, 2013, 01:31:15 PM »
I have a form that is called via a Popup from a browse.  When the user clicks the insert button, the form comes up just fine to add a new record.  If the user presses the Esc key on the keyboard, a blank record is inserted and all field validation is skipped.  The unique key is generated and all primed fields are filled in.  I would want the Esc key to act like pressing the "Cancel" button on the form.  Is there easy I am missing somewhere.

Using Clarion 6.3 and Nettalk 6.

12
Web Server - Ask For Help / SSL Issues with Windows 7 ?
« on: November 05, 2012, 10:12:30 PM »
I have a development machine that uses Windows XP and Clarion 6.3.  Also using the latest nettalk 6 version.  I created my self signed SSL certificates and set the program to always use SSL (Just like the AlwaysSSL example).  It works fine on my XP development machines, but when I copy it over to a Windows 7 machine, the SSL won't work.  If I change the program to allow non-SSL and SSL, the non-SSL works but the SSL does not.  I completely disabled my firewall on the Windows 7 machine and even disabled the antivirus as well with no luck.

Has anyone run into this before ?

All help is appreciated.

Thanks,

Brad

13
Web Server - Ask For Help / Nettalk and Softvelocity IP Driver
« on: June 08, 2009, 05:45:26 PM »
Can these two work together.  I recompiled a Nettalk webserver app with the IP driver and I get a File Access Error : "Datamanager not found (9)" error.  Normal Windows apps compile and work just fine.

14
Web Server - Ask For Help / Hiding and unhiding fields - Help
« on: April 20, 2008, 07:33:51 PM »
I've got a form with a field called "AccountType".  It is a radio button with two possible values of "Busines" and "Personal".  The following 6 fields are also on the form :

CompanyName
CompanyAddress1
CompanyAddress2
CompanyCity
CompanyState
CompanyZip

I want to hide them with the AccountType field is "Personal" and unhide them when the AccountType field is "Business".   For each of the company fields, I have the following Hide Condition defined :

ACC:AccountType='Personal'

The field is primed to "Personal" when a form is added.  When the form is opened, all the company fields are not hidden.  I then change to "Business" and nothing happens(that's ok), I then select "Personal" again and then all the company fields disappear as they should.  After that, I can't get the company fields to re-appear at all..

Is there something else that I have to do to get fields to hide/show dynamically based on the value of a radio button or drop list??

Thanks in Advance..

Brad

Pages: [1]