What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: object tag examples

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57889
interpreted = N
texte = Sal I have only had a couple of tasks with Object and I am no expert on this or VBS however my thoughts: As the .dll is the engine for this you may need a simple VB script where you pass the directory that you want zipped to it and also the destination, the VB Script will then use the .dll to do the job. If you register the script you will be able to call it directly from the object tag without the full path. The VBS may include the second part for you as well. Something like this may help [OBJECT objname=CompressBackup&call=CompressionFunction¶m1=stuff_to_compress ¶m1type=text¶m2=where_to_put_it¶m2type=text][/OBJECT] On 18 May 2004, at 04:36 AM, Sal wrote: > Thanks Stuart. > > I am trying to call XZip.dll to zip up my backup file and then use the > [DOS] > tag to run the ftp script to send it to another server. I have a > trigger > setup to run this template every night after the backup is complete. > > This is the example from XZip.dll > > <% > Dim objGZip > > > Set objGZip = Server.CreateObject("XStandard.GZip") > objGZip.Compress "C:\Temp\Images", "C:\Temp\images.tar.gz" > > > Set objGZip = Nothing > %> > > I can't figure out how to do the same in WebDNA. > > Any ideas? > > Salvatore B. D'Anna > DotNetNuke Hosting > V:(619)306-7606 > F: (619)374-2268 > http://DotNetNukeHosting.com > > > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Stuart Tremain > Sent: Sunday, May 16, 2004 6:37 PM > To: WebDNA Talk > Subject: Re: object tag examples > > Sal > > A straight cut and paste from a working template, I'm sure that you can > sort out the sheep from the goats :) > > This calls a java object, but they all work the same way, you may need > to put in the path to the script if it is not registered. Make sure > that there are no line breaks in your code. > > [OBJECT objname=IDFKPayment.PaymentGateway > &call=AddPayment&type=0¶m1=[GetChars > start=6&end=15][ThisOrder][/ > GetChars]¶m1type=text¶m2=[URL][Header20][/ > URL]¶m2type=text¶m3=[ccnumber]¶m3type=text¶m4=[Format > .2d][expmonth][/Format][Expyear]¶m4type=text¶m5=[format > .2f][SaleTotal][/ > Format]¶m5type=text¶m6=payments@idfk.com.au¶m6type=text&par > a > m7=[URL][/URL]¶m7type=text¶m8=[URL][address1][/ > URL]¶m8type=text¶m9=¶m9type=text¶m10=[URL][city][/ > URL]¶m10type=text¶m11=[URL][state][/ > URL]¶m11type=text¶m12=[URL][country][/ > URL]¶m12type=text¶m13=[URL][zip][/URL]¶m13type=text][/ > OBJECT] > > > On 15 May 2004, at 08:18 AM, Sal wrote: > >> Does anyone have some examples of using the [object] tag to call >> activex >> components or a list of possible commands other than call and set? >> >> >> Salvatore B. D'Anna >> DotNetNuke Hosting >> V:(619)306-7606 >> F: (619)374-2268 >> http://DotNetNukeHosting.com >> >> >> >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > __________ NOD32 1.762 (20040516) Information __________ > > This message was checked by NOD32 Antivirus System. > http://www.nod32.com > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: object tag examples ( Stuart Tremain 2004)
  2. Re: object tag examples ( "Sal" 2004)
  3. Re: object tag examples ( Stuart Tremain 2004)
  4. object tag examples ( "Sal" 2004)
Sal I have only had a couple of tasks with Object and I am no expert on this or VBS however my thoughts: As the .dll is the engine for this you may need a simple VB script where you pass the directory that you want zipped to it and also the destination, the VB Script will then use the .dll to do the job. If you register the script you will be able to call it directly from the object tag without the full path. The VBS may include the second part for you as well. Something like this may help [OBJECT objname=CompressBackup&call=CompressionFunction¶m1=stuff_to_compress ¶m1type=text¶m2=where_to_put_it¶m2type=text][/OBJECT] On 18 May 2004, at 04:36 AM, Sal wrote: > Thanks Stuart. > > I am trying to call XZip.dll to zip up my backup file and then use the > [DOS] > tag to run the ftp script to send it to another server. I have a > trigger > setup to run this template every night after the backup is complete. > > This is the example from XZip.dll > > <% > Dim objGZip > > > Set objGZip = Server.CreateObject("XStandard.GZip") > objGZip.Compress "C:\Temp\Images", "C:\Temp\images.tar.gz" > > > Set objGZip = Nothing > %> > > I can't figure out how to do the same in WebDNA. > > Any ideas? > > Salvatore B. D'Anna > DotNetNuke Hosting > V:(619)306-7606 > F: (619)374-2268 > http://DotNetNukeHosting.com > > > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Stuart Tremain > Sent: Sunday, May 16, 2004 6:37 PM > To: WebDNA Talk > Subject: Re: object tag examples > > Sal > > A straight cut and paste from a working template, I'm sure that you can > sort out the sheep from the goats :) > > This calls a java object, but they all work the same way, you may need > to put in the path to the script if it is not registered. Make sure > that there are no line breaks in your code. > > [OBJECT objname=IDFKPayment.PaymentGateway > &call=AddPayment&type=0¶m1=[GetChars > start=6&end=15][ThisOrder][/ > GetChars]¶m1type=text¶m2=[url][Header20][/ > URL]¶m2type=text¶m3=[ccnumber]¶m3type=text¶m4=[Format > .2d][expmonth][/Format][Expyear]¶m4type=text¶m5=[format > .2f][SaleTotal][/ > Format]¶m5type=text¶m6=payments@idfk.com.au¶m6type=text&par > a > m7=[url][/URL]¶m7type=text¶m8=[url][address1][/ > URL]¶m8type=text¶m9=¶m9type=text¶m10=[url][city][/ > URL]¶m10type=text¶m11=[url][state][/ > URL]¶m11type=text¶m12=[url][country][/ > URL]¶m12type=text¶m13=[url][zip][/URL]¶m13type=text][/ > OBJECT] > > > On 15 May 2004, at 08:18 AM, Sal wrote: > >> Does anyone have some examples of using the [object] tag to call >> activex >> components or a list of possible commands other than call and set? >> >> >> Salvatore B. D'Anna >> DotNetNuke Hosting >> V:(619)306-7606 >> F: (619)374-2268 >> http://DotNetNukeHosting.com >> >> >> >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > __________ NOD32 1.762 (20040516) Information __________ > > This message was checked by NOD32 Antivirus System. > http://www.nod32.com > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Sort Order on a page search (1997) Version 4? (2000) Re:Call For Entry: Third Annual Business on The Internet (BOTI) Awards (1999) &fieldsdir=ra truely random?? (2000) Hard Questions ? (1997) Sku numbers (1997) [WebDNA] WebDNA staging server (2008) emailer error 103 part ii (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [OT] iChat (2003) splitting numbers in webDNA? (1997) Separate SSL Server (1997) bad idea to not use any html files, only .tpl files? (1999) [WebDNA] Have you seen the WebDNA Press Release? (2010) Where is f2? (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Allowed fields in formulas.db (1998) Help with dates (2001) Multi Colonns (1998) Can't ping (problem with [shell]) (2006)