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.
Pages: [1] 2
1
Web Server - Share Knowledge / Re: PDF Reports not being created.
« on: August 03, 2015, 05:15:01 AM »
Changing computer didn't help but I created anew simple report which did work.So I looked for something local. Eventually removing an insight graph from the report resolved the problem. Upgrading from 2.18 to 2.2 didn't help.
I am not quite sure which nettalk upgrade set it off but had no problems NT7 and before. Any suggestions for workaround welcome as I want to put the graph back ASAP
Thanks
John
author=Vinnie link=topic=6452.msg26465#msg26465 date=1438262722]
My problem was fixed when creating a new user in Windows. Seemed to be permissions. I am using Windows 7 on my system.
Try on a different computer.
I have not updated to 8.56 yet still on 8.55. Will be updated to 8.57 over the weekend. If I come up with anything I will post here.
Cheers
Vinnie
[/quote]
I am not quite sure which nettalk upgrade set it off but had no problems NT7 and before. Any suggestions for workaround welcome as I want to put the graph back ASAP
Thanks
John
author=Vinnie link=topic=6452.msg26465#msg26465 date=1438262722]
My problem was fixed when creating a new user in Windows. Seemed to be permissions. I am using Windows 7 on my system.
Try on a different computer.
I have not updated to 8.56 yet still on 8.55. Will be updated to 8.57 over the weekend. If I come up with anything I will post here.
Cheers
Vinnie
[/quote]
2
Web Server - Share Knowledge / Re: PDF Reports not being created.
« on: July 30, 2015, 04:45:07 AM »
The same problem has just cropped up for me also. I get the message that windows needs to close the program. It happens when the pdf report writer is called. There have been no changes to this procedure and the problem has occurred since updating to NT ver8.56. I tried creating a new user, turning off firewalls etc without any success . Any other suggestions please?
Thanks
John
Thanks
John
3
Web Server - Ask For Help / Drawing on form images
« on: May 18, 2015, 02:40:44 AM »
I have an image on a form and I want to drop a mark on the image using a mouse click. I have setup the Captcha example source code which is working with BMP images but cant call it from the form. Adding this as a procedure in 'on click' gives page not available. So I have 3 problems seeking advice
1. Is there some way I can call up the captcha source code with a click on the form image.
2. Can I pass the xy cordinates across accurately
3 I cant get FreeImage to compile . Can I use FreeImage in captcha as I would like to work with png files
Thanks
John
1. Is there some way I can call up the captcha source code with a click on the form image.
2. Can I pass the xy cordinates across accurately
3 I cant get FreeImage to compile . Can I use FreeImage in captcha as I would like to work with png files
Thanks
John
4
Web Server - Ask For Help / NetWebYear Template
« on: August 01, 2013, 04:19:54 PM »
In a diary I am using this template with a memory file which is made up from a combination of 3 tps files. I am able to modify data tolerably well using a form for the memory file but redirecting the input on save to the 3 files as required and then remaking the memory file.
It would be neater if instead I could redirect the change/insert request from the calendar template to 1 of 3 forms and update the tps files directly. I have tried to find where I can embed some conditional code but without success. Suggestions much appreciated.
Thanks
John
It would be neater if instead I could redirect the change/insert request from the calendar template to 1 of 3 forms and update the tps files directly. I have tried to find where I can embed some conditional code but without success. Suggestions much appreciated.
Thanks
John
5
Web Server - Ask For Help / Re: HotDates??
« on: July 04, 2013, 06:19:28 AM »
Thanks Bruce
No I hadn't seen the hotdates example and was unaware of the dates template. It looks just what I need. A bit of learning to do.
John
No I hadn't seen the hotdates example and was unaware of the dates template. It looks just what I need. A bit of learning to do.
John
6
Web Server - Ask For Help / HotDates??
« on: July 02, 2013, 05:10:17 AM »
I am wanting to develop a form with calendar entries for a club to use. A bit like Doodle but more like the hotdates example but I don't think that I can use HotDates for this or can I?
Thanks
John
Thanks
John
7
Web Server - Ask For Help / Re: servedocument from html
« on: May 28, 2013, 01:42:45 PM »
Thanks again Bruce - that works nicely.
In order to make it more secure I am trying to limit which files and from which folder with the following code.
loc:allow = 0
IF p_web.GetValue('name') = 'Forums.Tps'|
OR p_web.GetValue('name') = 'ForumUsers.Tps'
loc:allow = 10
END
IF loc:allow = 10
loc:filename = clip(p_web.site.apppath)& 'web\ozfile\' & p_web.GetValue('name')
! you need to add code here to check that the name is valid, and is within the range
! of files you want to allow to be served. If this is not done then ANY file on the
! machine can be served using this procedure.
p_web.HeaderDetails.ContentDisposition = 'attachment; filename="'&p_web.GetValue('name')&'"'
END
In order to make it more secure I am trying to limit which files and from which folder with the following code.
loc:allow = 0
IF p_web.GetValue('name') = 'Forums.Tps'|
OR p_web.GetValue('name') = 'ForumUsers.Tps'
loc:allow = 10
END
IF loc:allow = 10
loc:filename = clip(p_web.site.apppath)& 'web\ozfile\' & p_web.GetValue('name')
! you need to add code here to check that the name is valid, and is within the range
! of files you want to allow to be served. If this is not done then ANY file on the
! machine can be served using this procedure.
p_web.HeaderDetails.ContentDisposition = 'attachment; filename="'&p_web.GetValue('name')&'"'
END
8
Web Server - Ask For Help / servedocument from html
« on: May 27, 2013, 06:44:37 PM »
I am using html files for the index page body. In one of these I would like to be able to have a file selection for downloading. If I set a link within an html to the url 'servedocument' and have the file described there (eg p_web.SetValue('name','Forums.Tps') ) it works fine. So I could have a series of servedocument pages each with a different file identified. But is there some way to send a value within the url call that can be used within a case structure or something to serve the different files?
Thanks again
John
Thanks again
John
9
Web Server - Ask For Help / Re: contract menu
« on: May 22, 2013, 04:17:54 AM »
Thanks Bruce that did the trick
John
John
10
Web Server - Ask For Help / contract menu
« on: May 21, 2013, 03:46:57 AM »
I am playing around with the forum software and have quite a menu/submenu list and using taskpanel. I would like the page to open with the menu tree fully contracted but cant see how to make this happen .
Also when the browses are called they are appearing below the menu list rather than beside it. Also the welcome html is below.
Any suggestions please
Thanks
John
Also when the browses are called they are appearing below the menu list rather than beside it. Also the welcome html is below.
Any suggestions please
Thanks
John
11
Web Server - Ask For Help / URL on Save not working
« on: April 21, 2013, 05:37:33 AM »
As in example 11 I have ResultofSendEmail as the URL for Save on EmailFormcontrol. It works fine until I ask for a pdf report to be created first from the Validate All embed point. Clicking Send Email a second time once the tasks are completed and it works. I assume I have lost a session variable somewhere. Resettting loc:formaction didn't help.
Thanks
John
Thanks
John
12
Web Server - Ask For Help / Re: form update error
« on: April 10, 2013, 01:19:46 PM »
Parker
Immediate success.
Thanks many times
John
Immediate success.
Thanks many times
John
13
Web Server - Ask For Help / form update error
« on: April 10, 2013, 02:57:54 AM »
I am using a form as popup to a browse of a memory table. Inserting a record works well but change or delete produces - Error: (Unable TO Log Transaction (48) attempting to frame the transaction on IMDrugs.
I cant find any problems . Suggestions please
John
I cant find any problems . Suggestions please
John
14
Web Server - Ask For Help / Appending a page to a page
« on: March 04, 2013, 03:27:50 PM »
I have email form control as from example 11 on a defined page. Before sending(saving) the email it creates an xml file to be attached and then it sends the email successfully. 'ResultOfSendEmail' is then used as the URL on save but instead of replacing the defined page and email form it appends it to the bottom.
How do I make sure it replaces rather than appends?
John
How do I make sure it replaces rather than appends?
John
15
Web Server - Ask For Help / Re: Creating pdf documents silently in the background
« on: February 15, 2013, 01:01:27 PM »
Thanks Bruce, I will work on the example. In the meantime this is the compile error in context when the print preview is unchecked. However no procedure SetReportTarget is being cr.eated but is when print preview is checked.
! Report procedure should have prototype of (<NetWebServerWorker p_web>)
If Not p_Web &= NULL
SELF.SetReportTarget(PDFReporter.IReportGenerator)
self.SkipPreview = True
ProgressWindow{prop:hide} = 1
loc:ProgressName = p_web.GetValue('_ProgressName_')
p_web.SetProgress(loc:ProgressName,1) ! report has started
loc:URL = '\reports\$$$' & format(random(1,99999),@n05) &'.pdf'
loc:PDFName = clip(p_web.site.WebFolderPath) & loc:URL
loc:PDFName = clip(p_web.site.WebFolderPath)&'\Data\'&WQName
End
If I delete the call it then wants to print it etc
John
! Report procedure should have prototype of (<NetWebServerWorker p_web>)
If Not p_Web &= NULL
SELF.SetReportTarget(PDFReporter.IReportGenerator)
self.SkipPreview = True
ProgressWindow{prop:hide} = 1
loc:ProgressName = p_web.GetValue('_ProgressName_')
p_web.SetProgress(loc:ProgressName,1) ! report has started
loc:URL = '\reports\$$$' & format(random(1,99999),@n05) &'.pdf'
loc:PDFName = clip(p_web.site.WebFolderPath) & loc:URL
loc:PDFName = clip(p_web.site.WebFolderPath)&'\Data\'&WQName
End
If I delete the call it then wants to print it etc
John
Pages: [1] 2