Thank you !
Works like a charm
Search found 103 matches
- Fri Nov 08, 2013 5:12 pm
- Forum: VBScript
- Topic: How can i kill all instances of "Wscript.exe" exept one ?
- Replies: 2
- Views: 5511
- Fri Nov 08, 2013 3:08 pm
- Forum: VBScript
- Topic: How can i kill all instances of "Wscript.exe" exept one ?
- Replies: 2
- Views: 5511
How can i kill all instances of "Wscript.exe" exept one ?
Hi ;) Please i need some help to solve my issue ! so the question is : How can i kill all instances of "Wscript.exe" exept one that is started by my VBS ? I made this script , but i get an error at line 19 Set oWMISrvc = GetObject("winmgmts:" _ & "{impersonationLevel=imp...
- Mon Oct 14, 2013 5:32 pm
- Forum: VBScript
- Topic: [HTA] create an MP3 sound file of typed text
- Replies: 0
- Views: 10570
[HTA] create an MP3 sound file of typed text
A Brazilian friend introduced this code: [HTA] create an MP3 sound file of typed text So I added a function to save Text2Speech MP3 and in the following languages: French English Arabic Spanish Portuguese German So my problem is that the sound is not recorded in Arabic format So Please how to fix ...
- Sun Oct 06, 2013 4:42 pm
- Forum: VBScript
- Topic: Fetching title from multiple webpages using VBSCRIPT
- Replies: 7
- Views: 17327
Re: Fetching title from multiple webpages using VBSCRIPT
Hi ;) Try this code : Option Explicit Dim URL,fso,ws,LogFile Set fso = CreateObject("Scripting.FileSystemObject") Set ws = CreateObject("Wscript.Shell") LogFile = Left(Wscript.ScriptFullName,InstrRev(Wscript.ScriptFullName, ".")) & "txt" if fso.FileExists(...
- Fri Oct 04, 2013 6:38 am
- Forum: VBScript
- Topic: [VBS] Decomposition of a URL address
- Replies: 3
- Views: 6961
[RESOLVED] [VBS] Decomposition of a URL address
Hi ;) I found the solution using RegExp http://r19.imgfast.net/users/1917/56/90/28/smiles/2626400047.gif Option Explicit Dim adress,result,Title Title = "Decomposition of a URL adress" 'Some examples for testing 'adress = "http://www.laltruiste.com:8080/coursasp/sommaire.html#ancre&qu...
- Thu Oct 03, 2013 1:18 am
- Forum: VBScript
- Topic: [VBS] Decomposition of a URL address
- Replies: 3
- Views: 6961
[VBS] Decomposition of a URL address
Hi ;) I want to make a decomposition of a URL So I have this Vbscript below : My problem is when I type eg URL = "http://www.google.com" ==> the script returns me an error in line N ° 18 " incorrect procedure or argument" However, when I type this URL = "http://www.laltruist...
- Sat Sep 28, 2013 7:31 am
- Forum: VBScript
- Topic: [Resolved] How to write a LogFile for combination of strings
- Replies: 2
- Views: 5260
Re: How to write a LogFile for combination of strings ?
Hi ! Ok i found my mistake ! So i correct it like that : Option Explicit Dim MyStr,Titre,fso,ws,LogFile,resultat Titre = "Combinaison de chaînes de caractères" Set fso = CreateObject("Scripting.FileSystemObject") Set ws = CreateObject("Wscript.Shell") 'Nom du fichier qu...
- Sat Sep 28, 2013 5:10 am
- Forum: VBScript
- Topic: [Resolved] How to write a LogFile for combination of strings
- Replies: 2
- Views: 5260
[Resolved] How to write a LogFile for combination of strings
Hi ! I have this code for combination of strings like that : The string entered by the user "abc" the program will return a list of all possible combinations of the string: abc acb bac bca cab cba So this code works great and show me the correct result that what i need in the MsgBox ,but, ...
- Mon Sep 23, 2013 6:52 pm
- Forum: VBScript
- Topic: How to capture the first letter in a not-repeating string ?
- Replies: 1
- Views: 4719
How to capture the first letter in a not-repeating string ?
Hi ;) I want to create a function for capturing the first letter in a not-repeating string For example if have this : MyString = "aabbccdd M ffrryx" So the first letter will be retuned as M So i'm looking for the best and the easy way to do it in vbscript. So i ask you how can i do this fu...
- Fri Sep 14, 2012 1:06 pm
- Forum: Other Scripting Languages
- Topic: [HTA] How to hide the CMD prompt on HTA Script ?
- Replies: 3
- Views: 45387
[HTA] How to hide the CMD prompt on HTA Script ?
Hi ! I wonder if there are any tricks or tips can be done to hide the CMD prompt when I execute this HTA script? Thank you ! http://www.paulsadowski.com/wsh/Trace.hta.htm Traceroute set objShell = CreateObject("WScript.Shell") strOut="" sub traceroute cmdarg="%comspec% /c tr...