Re: object tag examples
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57889
interpreted = N
texte = SalI 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +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:
SalI 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +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:
 
Is there a way to just get to the last record in the database? (1997)
 
is there a global includes directory? (1998)
 
Part Html part WebDNA (1997)
 
Typhoon Rev. and PCS store problems (1999)
 
The Classifieds template set (2003)
 
RE: protect tag on NT (1997)
 
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
 
RE: Formulas.db + Users.db (1997)
 
OFF-TOPIC:  Free webdna.net email addresses ... (2003)
 
RE: WebCat name recognition (was MacFinder -- a new WebDNAweb  site) (1998)
 
RAM variables (1997)
 
 Timeout question .. (2003)
 
select multiple (1997)
 
Shipcost Based on SubTotal (1998)
 
shipcost (1997)
 
Webstar 1.3.1 PPC (1997)
 
Email Formatting and Encryption (1998)
 
expired beta (1997)
 
Emailer problem (1998)
 
RE: Answer: WebDelivery downloads alias, not original ? (1997)