Search:

Type: Posts; User: Hackoo

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Read a source code from web page and extract some data from it

    Hi :wave:
    I want to read a source code from web page and extract some data from it. I used here in my example a RegEx for extracting the data, but i didn't get any data, perhaps this is due from...
  2. Replies
    2
    Views
    2,441

    Re: Need help fixing vbs script

    The correct format of this code is like this one :


    ' Lists all logical drives on the local computer which are configured for
    ' software RAID. Returns an %ERRORLEVEL% of 1 if any redundant drive...
  3. Re: VBS String Variable to PDF file as simple text

    Hi :wave:
    I just download and install PDFCreator and I found a lot of examples in VBScript.
    So the most interesting, yet it is this script: Convert2PDF.vbs
    I modified it a bit to my needs and...
  4. Re: ASP module uses GMail SMTP now encountering errors

    Please can you try this vbscript that works for me, on your side, and tell me if you encountered some problems or not.


    EmailSubject = "Sending Email by CDO"
    EmailBody = "This is the body of a...
  5. Re: ASP module uses GMail SMTP now encountering errors

    Hi :wave:
    Yes, I confirm it, because I tested yesterday and I encountered the same error like you with a vbscript that worked fine before.
    Google has changed some security in their system, so you...
  6. Thread: fileupload

    by Hackoo
    Replies
    4
    Views
    1,520

    Re: fileupload

    Try this Function

    Function FTPUpload(sSite, sUsername, sPassword, sLocalFile, sRemotePath)
    'This script is provided under the Creative Commons license located
    'at...
  7. [Solved] How to move file while renaming it with incrementation if the file exists ?

    Hi
    I solved my problem like that :

    Option Explicit
    Dim fso,Ws,sFiles,sFile,sFileName,Quarantaine,Title
    Title = "Déplacement des fichiers suspects dans la quarantaine"
    Set fso =...
  8. [RESOLVED] How to move file while renaming it with incrementation if the file exists ?

    Hi :wave:
    In order to improve my script Hackoo VIRUS Cleaner.vbs

    I created this code to test it before to implement it in my main script, but, i get some issues with this at line N° 46 with Error...
  9. Replies
    1
    Views
    689

    Your code is incomplete ??

    Hi :wave:
    I don't understand your issue, because your code is incomplete ?? :eek:
    For more exact answer please share your full code, but not only couple of functions
    Thanks !
  10. Replies
    2
    Views
    1,664

    Re: How to Get Rid of Malware?

    Hi :wave:
    I just make a new Vbscript , so it is a tool to facilitate research for VBS files in order to help people who feel infected by some viruses of this type.
    This script generates a report...
  11. Replies
    2
    Views
    1,664

    Re: How to Get Rid of Malware?

    Hi :wave:
    Did you mean that you think that your are infected ? and you wonder how to get rid of this malware ?
    If this what do you think, so follow me setp by step :thumb:

    Get on the desktop ...
  12. How to open multiple tabs in Internet Explorer with VBS ?

    I got this code from the net that worked great for me ;)

    Const navflags = 2048
    Set IE = CreateObject("InternetExplorer.Application")
    Call One
    Call Two...
  13. [SOLVED] kill all instances of "Wscript.exe" exept one that is started by my VBS

    Hi :wave:
    My Problem is solved like this : Just takes one simple loop and a filter ! :thumb: :)

    Set wmi = GetObject("winmgmts:root\cimv2")
    Set cProcesses = wmi.ExecQuery("select * from...
  14. [RESOLVED] How can i kill all instances of "Wscript.exe" exept one that is started by my VBS ?

    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...
  15. [VBS] Getting the html code

    Hi :wave:
    Do you mean something like this code ? :confused:

    Option Explicit
    Dim objShell,Boucle,strComputer,MsgTitre,objPing,objStatus,Wait
    Set objShell = CreateObject("wscript.shell")
    Wait =...
  16. Replies
    3
    Views
    2,054

    Re: CDO.Message and code pages

    Hi :wave:
    Try this
    cdoM.BodyPart.Charset = "iso-8859-1"
  17. Replies
    3
    Views
    2,054

    Re: CDO.Message and code pages

    Hi :wave:
    Can you post your code ?
    Thank you ! :)
  18. Re: [VBS] Decomposition of a URL address

    Hi :wave:
    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"...
  19. [RESOLVED] [VBS] Decomposition of a URL address

    Hi :wave:
    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...
  20. [RESOLVED] 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 = "aabbccddMffrryx"
    So the first letter will be retuned as M
    So i'm...
  21. [Solved] How to extract part of a text between line (n) and line (m) in a text file ?

    Hi ! Bonnie West :wave:
    I want to thank you for this clever solution that you post :thumb: this is what i need to do :check:
    So the Problem is solved thanks to you ! :check: :thumb: :)
  22. [RESOLVED] How to extract part of a text between line (n) and line (m) in a text file ?

    Hi :wave:
    I'm writing this Function SkipLineInFile(n,m) to extract part of a text between line (n) and line (m) in a text file.
    So it just remains for me an error handling for overflow lines.
    How...
  23. Replies
    7
    Views
    3,575

    Re: Cannot make ShellExecute work!

    Hi :wave:
    Can you post the hole HTA code ?
    Thank you !
  24. Thread: Hide DOS screen

    by Hackoo
    Replies
    6
    Views
    2,019

    Re: Hide DOS screen

    Hi :wave:
    FTP Upload and FTP Download with VBScript
  25. How can i open Firefox without address bar by vbscript ?

    Hi :wave: all,
    i wonder,how can i open firefox window without address bar using vbscript ?
    for example i can do it with Google Chrome like this :

    Option Explicit
    Const StartURL =...
  26. Replies
    2
    Views
    1,543

    Re: echo value after comma

    Hi :wave:
    This is a general script dealing with Content of a CSV file into a 2D Array
    NB: The delimiter in this script is ";" so be careful if you choose your delimiter as ",". You have to change...
  27. Replies
    1
    Views
    1,411

    Re: File download window automation.

    Hi :wave:
    I think you should provide a direct link to do that correctly !
    take a look at this thread ==> http://www.vbforums.com/showthread.php?725345-URL-encoding-problem
    So what's your URL ?...
  28. Replies
    2
    Views
    1,312

    [Solved] URL encoding problem ?

    The problem is resolved here in this discussion http://www.vbforums.com/images/ieimages/2013/06/1.gif
    Go, I wish you a Good Downloading http://www.tipmaster.com/images/2thumbsup.gif and a good...
  29. Replies
    2
    Views
    1,312

    URL encoding problem ?

    Hi :wave:
    I am trying to test a download of a mp3 file from this URL:

    http://promodj.com/download/4126268/Chris%20Parker%20-%20Life%20MIX%20%282011%20-%202013%29%20%28promodj.com%29.mp3
    but I...
  30. Replies
    3
    Views
    3,199

    Re: Get source code in Server in my office

    Just copy and paste the code above in your notepad and save it as SourceCode.vbs and execute it by double clic on it
  31. Replies
    3
    Views
    3,199

    Re: Get source code in Server in my office

    Hi, Try this :

    URL = InputBox("Entrez l'URL pour y extraire son Code Source HTML "&vbCr&vbcr&_
    "Exemple ""http://www.google.fr""","Extraction du Code Source"," http://www.monip.org")
    If URL = ""...
  32. Replies
    1
    Views
    1,091

    Re: Help with regexp

    Hi :wave: You must Set the
    .Global to True

    Set reLink = New RegExp
    reLink.Global = True
    reLink.IgnoreCase = True
    An example : Extracting hyperlinks from HTML files
  33. Replies
    9
    Views
    4,577

    Re: Using ShockwaveFlashObjects in VB Script

    Hi :wave:
    To achieve your aim :
    First you must use an external tool named NirCmd where you can download it here http://www.nirsoft.net/utils/nircmd.html
    Second UnZip the file and extract the file...
  34. Replies
    3
    Views
    1,784

    Re: sending computer to sleep

    How to Create Scheduled Task With VBScript : You can call the "Win32_ScheduledJob" class from a VBscript to manage and create scheduled tasks from a script. Using this class, you can specify the...
  35. Replies
    9
    Views
    4,577

    Re: Using ShockwaveFlashObjects in VB Script

    Hi :wave:
    What do you want to achieve with this vbscript ?
    Do you want to read a file with .swf ? so try using Internet Explorer to open it easily !
    An example to download a file.swf and open it...
  36. Replies
    3
    Views
    1,784

    Re: sending computer to sleep

    Hi :wave:
    Try this code :

    set shell = CreateObject("Wscript.Shell")
    Command = "Cmd /c rundll32.exe powrprof.dll,SetSuspendState hibernate"
    Hibernate = shell.run(Command,0,True)
  37. Replies
    10
    Views
    2,379

    Re: How To Do: Translate HTML codes to normal text

    You can use this : A utility to convert ASCII characters to Hexadecimal and Unicode
  38. Replies
    10
    Views
    2,379

    Re: How To Do: Translate HTML codes to normal text

    Hi :wave:
    VBScript Replace Function
  39. Re: How to integrate a Javascript in HTA written in Vbscript ?

    PROBLEM SOLVED ;) :thumb:

    <html>
    <head>
    <title>Exportation du Code Source avec coloration syntaxique en HTML © Hackoo © 2013</title>
    <HTA:APPLICATION
    APPLICATIONNAME="Exportation du Code...
  40. How to integrate a Javascript in HTA written in Vbscript ?

    HI :wave:
    I have this code in HTA is used to convert text into HTML.

    <html>
    <head>
    <title>Exportation du Code Source avec coloration syntaxique en HTML © Hackoo © 2013</title>...
Results 1 to 40 of 88
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width