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.
526
Web Server - Ask For Help / Re: _sendFile how??
« on: June 05, 2014, 07:14:29 AM »
is a private project how i can send app to your email..
527
Web Server - Ask For Help / _sendFile how??
« on: June 05, 2014, 04:31:42 AM »
i have this code in _sendFile in webhandler :
and in my indexpage XHtml Location after body but dont work.
<!-- Net:PageHeaderTag -->
<!-- Net:f:xmain -->
<!-- Net:PageFooterTag -->
! [Priority 5000]
!Change include files based on language
CASE( SELF.GetPageName(UPPER( p_FileName )))
OF 'XHEADER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Header_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Header_Spanish.html'
END !CASE
OF 'XHEADER1'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_Spanish.html'
END !CASE
OF 'XMAIN'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Main_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Main_Spanish.html'
END !CASE
message(SELF.GetPageName(UPPER( p_FileName )))
OF 'XFOOTER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Footer_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Footer_Spanish.html'
END !CASE
OF 'XREGWIZTAB2' OROF 'XREGWIZTAB3'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\RegWiz2_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\RegWiz2_Spanish.html'
END !CASE
OF 'XLOCATIONS'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Locations_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Locations_Spanish.html'
END !CASE
OF 'XSPECIALOFFERS'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Specials_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Specials_Spanish.html'
END !CASE
OF 'XREGISTR'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Regis_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Regis_Spanish.html'
END !CASE
OF 'XMESSAGE'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_SPanish.html'
END !CASE
OF 'XMESSAGER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_EnglishR.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_SPanishR.html'
END !CASE
OF 'XTEST'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_Spanish.html'
END !CASE
END !CASE
and in my indexpage XHtml Location after body but dont work.
<!-- Net:PageHeaderTag -->
<!-- Net:f:xmain -->
<!-- Net:PageFooterTag -->
! [Priority 5000]
!Change include files based on language
CASE( SELF.GetPageName(UPPER( p_FileName )))
OF 'XHEADER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Header_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Header_Spanish.html'
END !CASE
OF 'XHEADER1'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_Spanish.html'
END !CASE
OF 'XMAIN'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Main_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Main_Spanish.html'
END !CASE
message(SELF.GetPageName(UPPER( p_FileName )))
OF 'XFOOTER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Footer_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Footer_Spanish.html'
END !CASE
OF 'XREGWIZTAB2' OROF 'XREGWIZTAB3'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\RegWiz2_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\RegWiz2_Spanish.html'
END !CASE
OF 'XLOCATIONS'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Locations_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Locations_Spanish.html'
END !CASE
OF 'XSPECIALOFFERS'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Specials_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Specials_Spanish.html'
END !CASE
OF 'XREGISTR'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Regis_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Regis_Spanish.html'
END !CASE
OF 'XMESSAGE'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_SPanish.html'
END !CASE
OF 'XMESSAGER'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_EnglishR.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Captcha_SPanishR.html'
END !CASE
OF 'XTEST'
CASE SELF.GSV( 'LANG' )
OF 'ENGLISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_English.html'
OF 'SPANISH'
p_FileName = CLIP( LONGPATH( PATH())) & '\Web\Test_Spanish.html'
END !CASE
END !CASE
528
Web Server - Ask For Help / Re: MS SQL Tables Locking
« on: April 29, 2014, 03:28:37 AM »
is very strange, i have 1420 user connect to web aplication and 50 to desktop simultaneous, with SQL Server.
Some months ago i have a big trouble with locks and sql, but never identity what happen, the last change before disaster was a SV sincrononize, after restore old DCT the problem disapear, I could never identify the problem.
My suggestion is try to identify the tables locked, and create small app with this tables without using the synchronize, only import tables and test..
use this query to see the locks:
select cmd,* from sys.sysprocesses
where blocked > 0
/BUSYHANDLING=2 /JOINTYPE=MSSQL /LOGONSCREEN=FALSE /MULTIPLEACTIVERESULTSETS=TRUE /VERIFYVIASELECT=TRUE
Some months ago i have a big trouble with locks and sql, but never identity what happen, the last change before disaster was a SV sincrononize, after restore old DCT the problem disapear, I could never identify the problem.
My suggestion is try to identify the tables locked, and create small app with this tables without using the synchronize, only import tables and test..
use this query to see the locks:
select cmd,* from sys.sysprocesses
where blocked > 0
/BUSYHANDLING=2 /JOINTYPE=MSSQL /LOGONSCREEN=FALSE /MULTIPLEACTIVERESULTSETS=TRUE /VERIFYVIASELECT=TRUE
529
Web Server - Ask For Help / Re: SQL Record Retrieval Error, SMuX Provider: Physical connection is not usable
« on: April 01, 2014, 02:21:37 AM »
is a virtual server VM??
530
Web Server - Ask For Help / Re: How many tables per VIEW can a webservice reasonaable handle?
« on: April 01, 2014, 02:14:01 AM »
tps or SQL? if SQL create a view in server side and import in your dct like a single table.
if tps is recommended move to SQL
if tps is recommended move to SQL
531
Web Server - Ask For Help / Error in embedded After lookup
« on: February 10, 2014, 02:21:07 PM »
i have a multiple lookups in a form, but no matter i put in a differentes embedded the last code is repeat in other lookups.. see the image attach..
Clarion 6.3 NT 7.33
[attachment deleted by admin]
Clarion 6.3 NT 7.33
[attachment deleted by admin]
532
E-Mail - Ask For Help / Re: Send mail with gmail smtp
« on: February 06, 2014, 01:54:46 PM »
i don't why but i configurate my SQL Server for send email with google relay and only work via SSL
Try with
ThisEmailSend.SSL = 1
Try with
ThisEmailSend.SSL = 1
534
Web Server - Ask For Help / Re: Prompt
« on: February 05, 2014, 04:05:04 PM »
incredible i put 'aa' in prompt class and overwrite and work!!
535
Web Server - Ask For Help / Prompt
« on: February 05, 2014, 03:54:37 PM »
is posible to clear the value of Prompt class in a field, i need to clear a value of css or nt don't create a div if a promtp is blank
example nt create this div but the value is in blank:
<div class="nt-form-div nt-prompt nt-formcell" id="updateinvotmp_voi6__cant2_prompt_div"><label for="VOI6__Cant2"></label></div>
but my value prompt is blank i have a problem creating a columnar form
see the attachment , with firebug i delete the div or delete the value of class and the fields align correct..
[attachment deleted by admin]
example nt create this div but the value is in blank:
<div class="nt-form-div nt-prompt nt-formcell" id="updateinvotmp_voi6__cant2_prompt_div"><label for="VOI6__Cant2"></label></div>
but my value prompt is blank i have a problem creating a columnar form
see the attachment , with firebug i delete the div or delete the value of class and the fields align correct..
[attachment deleted by admin]
536
E-Mail - Ask For Help / Re: Send mail with gmail smtp
« on: February 05, 2014, 02:40:31 PM »
Try with port 587 with SSL
537
Web Server - Share Knowledge / Re: Comparison of NetTalk and other web dev frameworks
« on: January 29, 2014, 02:44:04 AM »
NT is a rock and very stable, but for me the "* View independence" comment is really important, working with css is very difficult and why reinvent the wheel?
With NT i created very fast projects and my clients are very happy...
With NT i created very fast projects and my clients are very happy...
538
Web Server - Ask For Help / Multi column Form??
« on: January 28, 2014, 08:02:59 AM »
this is possible with nettalk??
http://doptiq.com/demos/golden-forms/multi-column.html
and the placeholder is possible to add??
http://doptiq.com/demos/golden-forms/multi-column.html
and the placeholder is possible to add??
539
Web Server - Ask For Help / Re: Theme change at runtime?
« on: January 28, 2014, 08:00:49 AM »
thanks.. suggestion for Bruce, why the example names don't begin with a number??
540
Web Server - Ask For Help / Re: Theme change at runtime?
« on: January 28, 2014, 03:49:07 AM »
Hi Bruce, I saw an example of this function but cannot remember the name..