Search found 103 matches

by hackoo
Fri Nov 08, 2013 5:12 pm
Forum: VBScript
Topic: How can i kill all instances of "Wscript.exe" exept one ?
Replies: 2
Views: 4615

Re: How can i kill all instances of "Wscript.exe" exept one

Thank you !
Works like a charm :D
by hackoo
Fri Nov 08, 2013 3:08 pm
Forum: VBScript
Topic: How can i kill all instances of "Wscript.exe" exept one ?
Replies: 2
Views: 4615

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=impersonate}!\\.\root\cimv2") sP...
by hackoo
Mon Oct 14, 2013 5:32 pm
Forum: VBScript
Topic: [HTA] create an MP3 sound file of typed text
Replies: 0
Views: 9000

[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 ...
by hackoo
Sun Oct 06, 2013 4:42 pm
Forum: VBScript
Topic: Fetching title from multiple webpages using VBSCRIPT
Replies: 7
Views: 15502

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(LogFile) Then fso.DeleteFile LogFile end If ...
by hackoo
Fri Oct 04, 2013 6:38 am
Forum: VBScript
Topic: [VBS] Decomposition of a URL address
Replies: 3
Views: 5936

[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" 'adress = "ftp:/...
by hackoo
Thu Oct 03, 2013 1:18 am
Forum: VBScript
Topic: [VBS] Decomposition of a URL address
Replies: 3
Views: 5936

[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.laltruiste.com:8080/coursasp/somma...
by hackoo
Sat Sep 28, 2013 7:31 am
Forum: VBScript
Topic: [Resolved] How to write a LogFile for combination of strings
Replies: 2
Views: 4440

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 qui va stocker le résultat LogFi...
by hackoo
Sat Sep 28, 2013 5:10 am
Forum: VBScript
Topic: [Resolved] How to write a LogFile for combination of strings
Replies: 2
Views: 4440

[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, when i tri...
by hackoo
Mon Sep 23, 2013 6:52 pm
Forum: VBScript
Topic: How to capture the first letter in a not-repeating string ?
Replies: 1
Views: 3901

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 function (Me...
by hackoo
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: 33887

[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 tracert.exe " & T1.value se...