Search found 54 matches
- Tue Aug 15, 2006 7:22 pm
- Forum: Technical / Scripting
- Topic: Can Shell Sleep method help?
- Replies: 3
- Views: 4785
- Mon Aug 14, 2006 8:50 pm
- Forum: Technical / Scripting
- Topic: Can Shell Sleep method help?
- Replies: 3
- Views: 4785
Can Shell Sleep method help?
Hi, I just saw this: Sleep Method See Also Running Your Scripts | WScript Object Suspends script execution for a specified length of time, then continues execution. object.Sleep(intTime) Arguments object WScript object. intTime Integer value indicating the interval (in milliseconds) you want the scr...
- Mon Aug 07, 2006 12:00 pm
- Forum: General Discussion
- Topic: Writing a word on each line
- Replies: 10
- Views: 11578
- Mon Aug 07, 2006 11:47 am
- Forum: General Discussion
- Topic: Writing a word on each line
- Replies: 10
- Views: 11578
- Mon Aug 07, 2006 11:45 am
- Forum: General Discussion
- Topic: Writing a word on each line
- Replies: 10
- Views: 11578
But why do you have to go line-line?? I would do it like: ReadFile>YourFilePath,FileText RPL>FileText,CRLF,%CRLF%%YourString%,FileText DeleteFile>YourFilePath WriteLn>YourFilePath,wresult,%YourString%%FileText% Probably it's good to check in the beginning that there are no empty strings at the end, ...
- Sun Aug 06, 2006 12:56 am
- Forum: General Discussion
- Topic: Can Macro Scheduler 'talk' to an Oracle Database?
- Replies: 8
- Views: 14539
- Sat Aug 05, 2006 8:03 pm
- Forum: General Discussion
- Topic: Can Macro Scheduler 'talk' to an Oracle Database?
- Replies: 8
- Views: 14539
- Fri Aug 04, 2006 3:16 pm
- Forum: General Discussion
- Topic: Why VBRun is better than VBEval
- Replies: 1
- Views: 3849
- Fri Aug 04, 2006 3:13 pm
- Forum: General Discussion
- Topic: Why VBRun is better than VBEval
- Replies: 1
- Views: 3849
Why VBRun is better than VBEval
Hi all, From a long experience: :) when you need to get something from VBS, if it needs some input parameters, don't use functions in VBS but procedures. Why: because when you pass as a parameter a string that contains quotes or comma or some other special characters, then it all will be interpreted...
- Fri Aug 04, 2006 2:59 pm
- Forum: General Discussion
- Topic: My contribution: working with regular expressions
- Replies: 0
- Views: 3534
My contribution: working with regular expressions
Hi All, Just several functions you may find useful working in VB with regular expressions: Function RegExpReplace(patrn, strng, strtoReplace) Dim regEx Set regEx = New RegExp ' Create regular expression. regEx.Global = True ' Set global applicability. regEx.Pattern = patrn ' Set pattern. regEx.Ignor...
- Fri Aug 04, 2006 2:13 pm
- Forum: Technical / Scripting
- Topic: How to convert month, day, year, hour, min. to date (VBS)?
- Replies: 4
- Views: 6490
Thank you!!! Seems to be exactly what I needed! I thought how I can calculate the date together with time, so I wrote it like this: Function ReturnDate(intYears, intMonth, intDays, intHours, intMinutes) Dim MyTime MyTime = DateSerial(intYears, intMonth, intDays) MyTime = DateAdd("h", intHours, MyTim...
- Fri Aug 04, 2006 1:16 pm
- Forum: General Discussion
- Topic: Can Macro Scheduler 'talk' to an Oracle Database?
- Replies: 8
- Views: 14539
- Fri Aug 04, 2006 1:12 pm
- Forum: Technical / Scripting
- Topic: How to convert month, day, year, hour, min. to date (VBS)?
- Replies: 4
- Views: 6490
Thank you, Marcus!! I get as an input from the user day, month, year, hour, minutes and from this I should form a date that I can give then to functions like Add in Macro Scheduler or DateAdd in VBS. I just remembered there was in JScript a function forming a date from separate numbers representing ...
- Fri Aug 04, 2006 12:47 pm
- Forum: Technical / Scripting
- Topic: How to convert month, day, year, hour, min. to date (VBS)?
- Replies: 4
- Views: 6490
How to convert month, day, year, hour, min. to date (VBS)?
Hi all, Probably a stupid question, but I'm not finding any way to do it now... I see that VBScript can take a date string and read from there, but the manual says, it's under condition, that this string presents the system date/time format settings, and I don't know which format settings will be on...
- Fri Aug 04, 2006 12:29 pm
- Forum: General Discussion
- Topic: Can Macro Scheduler 'talk' to an Oracle Database?
- Replies: 8
- Views: 14539
Thank you :) Here are more specific questions: 1. Which exactly commands of Macro Scheduler should I use to send a select query to a database? Could you please bring an example? 2. How the select query is returned? 3. Which exactly commands of Macro Scheduler should I use to insert/update values in ...