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.
1
Web Server - Ask For Help / Music playing
« on: August 28, 2016, 03:52:46 PM »
I have a NetTalk app that needs to be able to play music files. The Media(74) example file's audio listings in the browse don't work--when you load the form, it says they need Flash. I have Flash installed, but nothing happens. Is there some other way to play audio files?
Thanks,
Mark
Thanks,
Mark
2
Web Server - Ask For Help / Speech input/recognition
« on: July 27, 2016, 09:57:05 AM »
Has anyone created a NetTalk (or Clarion) app that captures voice input as a file, and then uses Google Voice/Dragon Naturally Speaking/etc to process it and return the text for downstream processing?
Regards,
Mark
Regards,
Mark
3
Web Server - Ask For Help / Knowing when file uploads are completed
« on: July 01, 2016, 01:26:27 PM »
Is there any p_web setting or other flag generated when multiple files are finished uploading? If I select multiple files to upload and start the transfers, the SaveFile routine is processed for each file selected but after they are all uploaded, the web page does not register another "hit". I want to be able to reset the Add File button to clear it and the files uploaded list, but it has to happen after uploading is completed.
Thanks,
Mark
Thanks,
Mark
4
Web Server - Ask For Help / Help! Form Save/Cancel stopped working on popups
« on: June 21, 2016, 12:17:38 PM »
Bruce, today I updated from NT9.09 to NT 9.11 and also to the latest Clarion update (10.0.12211). I updated my web app and deployed the update on my Amazon server. When I accessed my app on the web server, I realized that none of the Save/Cancel buttons on any popup forms were functioning. I tried reverting to NT9.09 and also to the prior Clarion update to try to fix the problem, but to no avail. I restored the current versions, updated the app on the Amazon server and tried again. After further investigation, I observed that clicking on the Save and Cancel buttons on my popups registers nothing on the Web Server window. If I change the popup to a full screen, the buttons work.
When I run the app on my local computer, I'm not having the same issue. Clicking on those form buttons in popup mode registers a POST as it should.
Any ideas?
Mark
When I run the app on my local computer, I'm not having the same issue. Clicking on those form buttons in popup mode registers a POST as it should.
Any ideas?
Mark
5
Web Server - Ask For Help / Line feed in xHTML
« on: June 16, 2016, 02:54:57 PM »
I'm trying to display some HTML text on a form. The text is entered in a standard TEXT field, which allows line feeds, ie CHR(10) like the following:
Some Text.
Here's a new line.
However, later when I want to display this text as xHTML by adding a <p> tag at the beginning and a </p> tag at the end, it displays like this:
Some Text. Here's a new line.
If I try to add the <br> tag between the two "sentences" of text, the form will crash when it tries to load the text. Yes, I do have the Allow xHTML tag checked! I have also tried checking the Allow unsafe xHTML. Still crashes every time.
Thanks, Mark
Some Text.
Here's a new line.
However, later when I want to display this text as xHTML by adding a <p> tag at the beginning and a </p> tag at the end, it displays like this:
Some Text. Here's a new line.
If I try to add the <br> tag between the two "sentences" of text, the form will crash when it tries to load the text. Yes, I do have the Allow xHTML tag checked! I have also tried checking the Allow unsafe xHTML. Still crashes every time.
Thanks, Mark
6
Web Server - Ask For Help / Fatal Application Error
« on: June 07, 2016, 10:56:34 AM »
My web app recently started to have the following error occur when closing the app. A message window pops up that says:
Given a foreign memory block - Realloc
This error occurs only AFTER all code in the app's base module has run during the close down process. Any ideas? It's a problem because in the event of an EXE crash, it won't auto restart and my website will be left hanging.
Regards,
Mark
Given a foreign memory block - Realloc
This error occurs only AFTER all code in the app's base module has run during the close down process. Any ideas? It's a problem because in the event of an EXE crash, it won't auto restart and my website will be left hanging.
Regards,
Mark
7
Web Server - Ask For Help / Browse within a browse
« on: June 02, 2016, 01:29:41 PM »
Bruce, I have a browse where I list some record info from the parent browse and then below it, I display detail items in a secondary browse (see the jpg). The very tricky part of this is getting the active record ID from the parent browse. The GetBrowseValue() in the beginning of the secondary browse doesn't work properly, in the sense that it doesn't load any file info at all. The only place I could find that parent record info in the secondary browse was in the p_web._LocalDataQueue.Value slot and ONLY immediately after the GetBrowseValue() call is made near the beginning of procedure code in the secondary browse.
Mark
Mark
8
Web Server - Ask For Help / Browse Locator Alert!
« on: June 02, 2016, 01:27:24 PM »
Bruce, I have discovered that even though I have No Locator selected as an option in a browse template form, the default locator placeholder text, on occasion, becomes set as the locator value with the result that no records are displayed. It took me a long time to track this bug down. I can't say what triggers it, but the work around is to delete the locator placeholder text and put in '' (ie nothing) instead.
Regards,
Mark
Regards,
Mark
9
Web Server - Ask For Help / Problems with getting date and time from timestamp
« on: April 08, 2016, 04:33:51 PM »
I'm trying to get the date and time from a timestamp that has an offset from UTC time. To get the date, I'm using the following:
LOC:Seconds = pTimeStamp/1000
LOC:Days = INT(LOC:Seconds/(24 * 60 * 60))
LOC:Date = LOC:Days + UTCBaseDate !61730 base date
This normally works, but if I'm in PDT time, which is 7 hours behind UTC, and I generate a TimeStamp using p_web.GetElapsedTimeUTC() after 5pm PDT time (ie after 12midnight UTC), and then try to pull the date from that TimeStamp, I end up getting the date of PDT time whereas it should be the date of UTC time (ie tomorrow). Is there some formula that someone has to do this correctly?
Thanks,
Mark
LOC:Seconds = pTimeStamp/1000
LOC:Days = INT(LOC:Seconds/(24 * 60 * 60))
LOC:Date = LOC:Days + UTCBaseDate !61730 base date
This normally works, but if I'm in PDT time, which is 7 hours behind UTC, and I generate a TimeStamp using p_web.GetElapsedTimeUTC() after 5pm PDT time (ie after 12midnight UTC), and then try to pull the date from that TimeStamp, I end up getting the date of PDT time whereas it should be the date of UTC time (ie tomorrow). Is there some formula that someone has to do this correctly?
Thanks,
Mark
10
Web Server - Ask For Help / FileUpload crash
« on: March 15, 2016, 12:34:19 PM »
I've added a FileUpload field to a form in my app and it's crashing the form on entry. It's completely unresponsive--I don't even have to click on the FileUpload field entry. I've opened and compiled the example file and that works fine, so clearly it's some setting or other in my program. Any thoughts?
Thanks,
Mark
Thanks,
Mark
11
Web Server - Ask For Help / iFrame issue
« on: March 03, 2016, 03:10:09 PM »
I'm trying to display a website on an iFrame within an NetTalk form and have done so in the past, but now I'm having trouble getting the iFrame to display. I've been fiddling with the sample app Hyperlinks/30. After I compile and run, when I click on Browse, then Media and then on the CapeSoft record, I only get a box outline of the iFrame where the website should be showing. What am I missing?
Thanks,
Mark
Thanks,
Mark
12
Web Server - Ask For Help / NT 9.06 and jFiles 1.19 - new version compile errors
« on: February 23, 2016, 09:05:38 PM »
Just downloaded and installed the above and got compile errors. see the jpg
13
Web Server - Ask For Help / First access to p_web on app start
« on: September 15, 2015, 03:42:40 PM »
Bruce, I've been thinking about my ThreadPool issue from several months ago wherein my app crashes on startup when Thread Pooling is ticked off. I'm thinking now that it may have to do with some initialization procedures that I put in a routine at the beginning of the WebHandler. The routine is called after the third line of the WebHandler code:
GlobalErrors.SetProcedureName('WebHandler')
p_web.ProcessRequest(p_ReqString)
GlobalErrors.SetProcedureName()
! [Priority 7500]
DO ProcessGlobal !! my initialization procedures
The routine runs only one time and the function is to load a bunch of data from SQL files into Memory files. So I'm wondering if there is any way to access p_web data before the first call to WebHandler (ie in the WebServer).
Thanks,
Mark
GlobalErrors.SetProcedureName('WebHandler')
p_web.ProcessRequest(p_ReqString)
GlobalErrors.SetProcedureName()
! [Priority 7500]
DO ProcessGlobal !! my initialization procedures
The routine runs only one time and the function is to load a bunch of data from SQL files into Memory files. So I'm wondering if there is any way to access p_web data before the first call to WebHandler (ie in the WebServer).
Thanks,
Mark
14
Web Server - Ask For Help / SSL Client
« on: September 14, 2015, 05:22:37 PM »
I need to make my client windows app SSL so that it will securely connect with the web services in my NetTalk app for data transfers. The NetTalk docs only describe deploying the SSL dll's but I can't find anywhere in the windows client app that allows me to tick off or otherwise configure SSL settings, etc.
Thanks,
Mark
Thanks,
Mark
15
Web Server - Ask For Help / Alternate mobile theme request
« on: July 24, 2015, 01:01:29 PM »
I'm (attempting) to make my website responsive and therefore not need a mobile theme. However I would still like to use the existing templates settings for Mobile vs Desktop to have different settings for hiding things, etc. etc. So it would be great if the NetTalk Object's Support Mobile Mode setting on the Settings/Mobile tab would allow the theme to be set with a variable, not fixed to Mobile.