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

Pages: 1 [2]
16
Web Server - Ask For Help / Embedding dynamic image file on web page
« on: March 19, 2013, 08:14:20 PM »
I have a NTWS application that has a login screen. After successful login the user is taken to a "welcome" page that is just a static html page plus a menu. I want to embed a jpg file on this page that the client can change with various "messages" to the end user of the site. I've tried using <!-- Net:f:FileName --> and even
<pre>
<!-- Net:f:mytext.txt -->
</pre>
But nothing is displayed. How do I embed the myfile.jpg onto a web page and where to I place the code to do it?

17
I have an existing desktop application that connects to an SQL database on a cloud server. This application uses Secwin for login security. The following tables already exist in the DQL database:
      dbo.dbosecwin_access
                              _counters
                              _license4
                              _namescodes
                              _operators
                              _operatorusergroups
                              _querytable

I will be developing a NTWS application to access the same SQL database and want to use Secwin in the login similar to the NTWS Secwin example. The NTWS login will be using the "Self User Insertion" for initial login with a Captcha if they do not already have an existing Secwin login from the desktop application. Initially the self user insertion users will have very limited access until "vetted" after which they will be assigned to the correct "user group" for access.

1. My question is will I run into any trouble using the Secwin tables for both applications?
2. I assume I can follow the steps in the Jumpstart: Adding Runtime Access control to al NTWS application and just skip the step of importing the Secwin tables. Is this correct?
3. Also would I use the same Unique Application Name in the Secwin Global template since I want to access the same set of user credentials?
4. Since the NTWS would be running on the same cloud server as the SQL database I don't see any connections issues once the NTWS application makes the SQL DB connection and assume the NTWS can keep the sessions separate from one another.

BTW this will be NT 7.06 (or 7.07 when it becomes available).
 
Any other issues I need to address?   

18
E-Mail - Ask For Help / ourMailQ.TextMessage does not have text of message
« on: September 25, 2012, 12:43:28 PM »
Built a program to receive emails and based upon the Sender extract 140 characters of the message body and send an email (actually an SMS message) to a cell phone. This program used code from the NT example "Email Receive With Dont Download Again" for most of the processing. If the Sender (ourMailQ.From) is in the list of senders I want to trap, then I extracted 140 characters from ourMailQ.TextMessage after stripping out leading blanks to compose an outgoing (SMS) message to the cell phone. All seemed to be working well for quite a few months (this was developed in May 2012) but now the ourMailQ.TextMessage does not seem to aways seem to contain the "text" of the message. Sometime it has the text "This is a multipart message in MIME format". Has something changed or am I going about grabbing the text of the email in the wrong manner?

19
I need to implement an IMAP client so I compiled the NetTalk 6.29 IMAP client example "Receive.app". When I run it I do connect to the IMAP host and get the number of messages in the various folders but get the following errors and can not retrieve or see any of the messages:

From NetTalk........

A network communication error occurred
Error = Error - 102 The response was invalid or incomplete [Too few Response entries]
Error occurred in function NetImap.DoneStatus

This is followed by...........

A network communication error occurred
Error = Error - 102 The response was invalid or incomplete [Undetermined section]
Error occurred in function NetImap.SplitResponse

Followed by.............

A network communication error occurred
Error = Error - 112 Invalid or malformed STATUS response. [Not a STATUS response]
Error occurred in function NetImap.ParseStatus

The NetTalk example "Response" window shows the following:

Command: STATUS
* Bad expected 1*<any ASTRING_CHAR expect '+'>
instead of "\"
a001 BAD expected closing DQUOTE

If I setup the IMAP connection in Microsoft Outlook Express I get the folders and all the messages.

I'm using C6.3 with NetTalk 6.29. Anyone know what these errors mean and what I need to do to get the NetTalk IMAP client example to work?

20
Web Server - Ask For Help / NTWS hosting sites - Oak Park Solutions
« on: November 16, 2010, 01:21:28 PM »
Does anyone have any experience or comment regarding using Oak Park Solutions as a NTWS hosting site?

Anyone using another vendor to host their NTWS site?

Thanks.

Mike Tabakin

21
Dropped the NT4 FTP templates into a C55 legacy app to automatically download a file. Works great but........

One of my clients uses a Windows XP to run Terminal Server on a Windows 2008 server. Once logged into the 2008 server they click a link to the program with the FTP download - the link is to run the program on a Windows 2003 server. This generates the following error:

Errorcode: -57/0
Error: The FTP connection was idle and was closed.

If they go to the 2003 server and run the program from there, all is well and the FTP download is successful.

I know it has to do with how they are accessing the program from the XP to the 2008 svr to the 2003 svr, but am not sure where to start looking. "FTP connection was idle" - any more information about what this error really means?

Any help would be greatly appreciated!

22
Greetings:

I've come across a strange situation and was wondering whether anyone has experienced the same situation or has any insight.

Recently I added the NetTalk 4 FTP_Downloadfile, FTP_UploadFile and FTP_Files_Procedure to a legacy 5.5 application per the documentation. Following the call to FTP_DownloadFile I use a Clarion RUN(someprogram,1 ) command to run another clarion application.

The FTP successfully downloads the file with no error messages posted AND the RUN command successfully runs the other program. However immediately following the RUN command 9 times out of 10 an ERRORCODE() and ERROR() are set to 30 "Entry Not Found". The RUNCODE() in all cases is 0.

I've checked ERRORCODE() and ERROR() immediately before the call to FTP_DownloadFile, immediately after FTP_DownloadFile and before the RUN and they show NO errors posted.

If I DO NOT call FTP_DownloadFile, then the ERRORCODE() and ERROR() following the RUN are never set. It is reproducable 9 times out of 10, that is, there definitely appears to be a cause and effect between FTP_DownloadFile and the Clarion RUN. Everything regarding FTP, RUN and other code seems to be operating correctly and I wouldn't have noticed this it were not for checking ERROR() and ERRORCODE(). If the RUN is returning a RUNCODE() of 0, I can't figure out why calling FTP prior to the RUN is generating the ERRORCODE(), especially since it is 0 just before the RUN (and just after the FTP_DownloadFile). A successful RUN should clear ERROR() and ERRORCODE() but appear not to IF FTP_DownloadFile was called just before.

I don't want to make a big deal out of nothing but it does make me wonder what the interaction between FTP and RUN is and whether NetTalk might be causing other interactions I'm not aware of. As I said everything seems to be operating normally otherwise. 

Thanks

Mike Tabakin

23
I have a NetWebForm page created with NetTalk 4.45 that has three tabs. Each tab has 12 to 25 fields on it and one tab includes 25 checkboxes. When the page is displayed by IE7 I can click a tab and the fields pop right up. I can click another tab and those pop right up. When I click the next time the cursor "pulsates" for 2-3 seconds (alternates rapidly between hand symbol and hour glass). Then the fields display fine. This is reproducible and seems to have a pattern good, good, pulsate.

If I open the same page using FireFox I do NOT get the pulsating.

Anyone know why this happens and more importantly what can be done to eliminate the pulsating?

Mike Tabakin

24
Web Server - Ask For Help / Problem when page is displayed in Firefox
« on: December 17, 2009, 12:20:50 PM »
I'm in the process of developing a NetTalk site that uses static pages that call the appropriate NetTalk procedure for the dynamic portion of the page. The site runs "correctly" when using Internet Explorer. However when I use Firefox one of the NetWebform pages does not display properly - text, fields, etc. overlap. This webform page has 3 tabs into which I put various dynamic data.  I think the problem might be with the CSS but actually have no clue right now. I'm not sure how to even go about determining what the problem is. I've attached screen shots of the page that is the problem along with the page source code from Firefox.

I anyone has any ideas where the problem lies or how to go about determining the cause I'd really appreciate the help. Thanks in advance.

Mike

[attachment deleted by admin]

25
I am working with a credit card processor. They have given me the code for a "button" to put on our page (they don't know we're creating our site with NetTalk web server) to post to their site so our clients can pay invoices online. I intend to put their code in a NetWebForm on the XHtml tab to create the linking button:

<span class="MainHeading">
Your current balance due is <!-- Net:s:currentdue -->.<br>
<br>To pay your bill verify the amount in the box below then click the "Pay Now" button.<br /><br />

<form action="http://secureinputtest.unitedpaymentservices.com  method="post">
Amount:
<input type="text" value="66.55" name="ProductPrice" /> <br /><br />
<input type="hidden" name="StoreNumber"  value="100001">
<input type="hidden" name="Method" value="purchase">
<input type="hidden" name="ProductName"  value="Invoice Payment">
<input type="hidden" name="OrderCustomerNumber"  value="123456789">
<input type="hidden" name="OrderInvoice"  value="12345">
<input type="hidden" name="ByPassCart" value="yes">
<input type="image"  src="https://SecureInput.MyUnitedConnect.com/SecurePAYImages/pay-now-red.jpg" />
</form>

Two questions:

Is the XHtml tab the correct place to imbed this code?

How do I replace the 66.55 (ProductPrice), 123456789 (OrderCustomerNumber) and 12345 (OrderInvoice) with variable values similar to the <!-- Net:s:currentdue --> I use to display the currrent due amount?

Or am I totally off base and need to do this in a different or simplier way?

Thanks.

Mike Tabakin

26
Web Server - Ask For Help / Real time credit card processing
« on: April 14, 2009, 11:19:11 AM »
NetTalk has an example showing posting a real time credit card transaction to LinkPoint. LinkPoint is now PayNet Solutions. My problem is finding a credit card "gateway" that can accept real time transactions similar to the LinkPoint example or such. Who is everyone using for real time credit card transactions as I have a client that wants to add CC processing to the NetTalk WebServer we built for them?

Mike

Pages: 1 [2]