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.


Messages - rjolda

Pages: 1 [2] 3 4 ... 19
16
Web Server - Ask For Help / Re: Net Talk - Scan a document
« on: February 13, 2024, 02:51:50 AM »
THanks for the replies,  gives me lots to think about as to how we will address the problem.  Ron

17
Web Server - Ask For Help / Net Talk - Scan a document
« on: February 12, 2024, 02:46:01 PM »
Hi,
NT 14.16  C11.0.136
My clients want to scan a document and save it in my NetWeb Program.
How might I accomplish this?   Would they have to pull up a scanner program in Windows and scan the document and then in the web app pick the file with the document?  Is it easier to accomplish in the Web App?
Thanks,
Ron

18
Hi
From Net Talk Documentation:
 Calling the SendEmail Procedure
The SendEmail procedure can be acalled from any other procedure. It might be a button, or a menu item, or it might happen in source code when some event occurs. To call SendEmail follow these steps:
Create a local variable in the procedure;
parms group(EmailParametersGroup).
Where you want to send the email, prime the components of the parms parameter
clear(parms)
parms.pEmailTo = 'bruce@capesoft.com'
parms.pEmailFrom = glo:UserEmail
parms.pEmailSubject = 'Great Release'
parms.pEmailCC = ''
parms.pEmailBCC = ''
parms.pEmailFileList = ''
parms.pEmailEmbedList = ''
parms.pEmailMessageTextST.SetValue('Well done on a great release')
parms.pEmailMessageHTMLST.SetValue('<html>...</html>')
Call the SendEmail procedure. You can do this on another thread;
START(SendEmail,25000,parms)   <<<<<<<<=========================
or on the same thread (in which case you get a returned value;
result = SendEmail(parms)


Ron

19
Hi,
Basic question which I am having problems solving.  NT14.16, C11.0.136.
SendEMail procedure has:
  Prototype:  (EmailParametersGroup pEmail),long,proc
  Parameters:  (EmailParametersGroup pEmail)


THis works correctly ( on same thread):
  If SendEmail(parms) = 0
    .....
   end

However, i want to send E mail on its own thread:
START(SendEmail,35000,parms) gives "No Matching Prototype error"

What am I missing?
Thanks,
Ron

20
Web Server - Ask For Help / Logic to force user to change initial password
« on: February 12, 2024, 03:06:50 AM »
Hi,
NT 14.16
Clarion 11.0.13630
My kiosk users are going to be given an initial password.  I want them to set their own password when they first log into the program ( for security ).  How can i accomplish this?  Should I re-direct them to another login reset page or do it directly in code in the login page for the site?  Other suggestions on how to handle this?
Thanks,
ROn

21
Web Server - Ask For Help / Limit number of login attempts
« on: February 11, 2024, 03:21:05 AM »
Hi
NT 14.16
Clarion 11.0.136
Want to give the user 5 tries to get password correct then get them OUT of the Login procedure back to index page.
I have set  p_web.SSV('Tries', tries) and increment each time the "SAVE button is pressed.  I tried to set loc:formaction = 'IndexPage'  when they have exceeded the number of tries but does not do anything.
What is proper way to get back to Index page?
TIA,
Ron

22
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 06, 2024, 10:55:48 AM »
Jeff,
GREAT!  Let us know if you want us to try and break it.
Ron :)

23
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 06, 2024, 08:53:47 AM »
HI Jeff,
I have found that looking at code in Embeditor Source is the best way to look at what is going on.  Also, at times I have gone to the NetTalk source clw files to chase down what it is doing....
I would think that there would be an api "action" setting - e.g. = Insert, Read (get), Delete.  I might attempt to Hijack a "READ" type API and manually do my checks and inserting and return a value.
In my thinking, I would not worry about sending and error message to an Institution which is NOT IN MY TABLES.  I would send a verification message about a "Valid Insert"
Ron

24
Web Server - Ask For Help / Re: NT browse CELL Border
« on: February 06, 2024, 05:32:17 AM »
Solved!
I unchecked the "Apply to Whole Cell"  on teh CSS for the column
and CHECKED the "APPLY to CONTENTS"
Now I get my border around the cell!
Ron

25
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 06, 2024, 03:28:11 AM »
HI Jeff,
I can't see all of your code.  However, it sounds like you are using 'built in'  action models.  i.e. You are calling for a record insert so that the system does attempt to do that.  You then test the condition later down the tree and if the patient is there - fine.  If not, you have an orphan record hanging around - sounds like that.

I have not played with the API yet _ but I am going to be getting very friendly with it later this week as it is on my schedule!  I would maybe HIJACK the code BEFORE the system does the requested INSERT ( Bruce usually leaves embeds around these things) and run your code first.  If no instituion then then you jump out BEFORE the actual insert and return them a message that it could not be completed.

My second thought is if the system has already primed I would consider something like:
IF SELF.Request = InsertRecord AND SELF.Response = RequestCancelled
   Access:MyFile.CancelAutoInc
END
This would "Undo" the Primed Inserted record.
Ron

26
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 05, 2024, 04:30:51 PM »
Jeff,
Something doesn't seem quite right here - something seems missing. You should be able to have your study record inserted and be able to get the values BEFORE returning a result.
When I am manually adding to a table I use the following code:
If Access:File.PrimeAutoInc() = Level:Benign
 Do stuff.
  !  needs an INSERT() to save the record here
.
The Primed fields (autonumbered) are available in the "Do stuff." section of the code BEFORE the Insert is called.
Not sure of exactly what you are trying to do but this might help you get in the right direction.
Ron

27
Web Server - Ask For Help / NT browse CELL Border
« on: February 05, 2024, 05:01:52 AM »
Hi,
NT 14.16
C11.0.136
I am trying to put a border on the cells in one column.  I have set the background and foreground colors using the css property for the field in the CSS tab.
However, I am using the ' Additonal CSS Properties:'  (which I used to set colors)
I ticked "Apply to Whole Cell'
CSS property:  other
Property: 'border-style'
Value: 'dashed'

This really has no effect on border.
What is recommended action to get a border on the cells of one column?
Thanks,
Ron

28
Web Server - Ask For Help / Re: Antimalware Service Executable
« on: January 30, 2024, 01:53:26 PM »
HI Richard,
What I have found on my Windows 11 PRO machine, when my machine gets "bogged down" I open Task Manager and immediately the background tasks settle down.  So, now I keep Task Manager open all the time in a small window and that has kept the background tasks at bay.  Secondly, I am not sure if you can get the PID (process ID) for antimalware service - you might be able to lower its priority setting. 
Ron

29
Web Server - Ask For Help / WebCam criteria for reading barcodes
« on: January 29, 2024, 07:04:10 AM »
HI,
NT 14.16
Clarion 11.0.136
I have 3 webcams - 1 is on old Logitec with autofocus, and 2 are generic web cams.  Only the Logitec will identify and read barcodes.  It seems like AUTOFOCUS is the key piece.  Is that correct?
What cameras are folks having high reliability in reading barcodes and QR codes with NT?
Thanks,
Ron

30
Hi All,
After lots of reading, I think that the solution is to Have a NT Server assign a port to each kiosk and it will send and listen on the assigned port for that kiosk.  On the kiosk side, I can write python code to talk to and listen on a specific port.  This way, the NT server and each kiosk can send messages back and forth ( not a frequent occurrance but necessary for operation) to get the job done.  I have to do more reading but his seems to be a solution.
Will let you all know when I try to implement it.
Ron

Pages: 1 [2] 3 4 ... 19