Hi [peace]
Try this batch file :
@echo off
Title Search for a folder by name and open it with Explorer by Hackoo 2014
mode con cols=75 lines=3 & color 9B
Set /p FolderName2Search=Please Enter the keyword to find :
Set MyListFolder=ListFolder.txt
Set ResultFolder=ResultFolder.txt
Call...
Hi !
May be you must logon to your site and then you can download your file ?
I made a vbscript that can download a game in swf and play it with IE in a full screen, so you can take a look at this code and modify it for your purpose.
Option Explicit
Dim...
Hi [peace]
Try this code and modifiy it for your purpose [2thumbsup]
Option Explicit
Dim MySound1,MySound2,WshShell,scan
Dim PartA, PartB
set WshShell = CreateObject("WScript.Shell")
Do
PartA = UCase(InputBox("Scan Part Number Barcode on REEL: ","Scan Part Number Barcode on REEL"))
If PartA =...
Hi [peace]
I got this code from the net that worked great for me [2thumbsup]
Const navflags = 2048
Set IE = CreateObject("InternetExplorer.Application")
Call One
Call Two
'**********************************************
Sub One()
IE.Visible = True
IE.Navigate2 "http://en.wikipedia.org/wiki/"...
Hi [peace]
You can also try this code :
Option Explicit
Const NewTab = &h800
Dim objExplorer
Set objExplorer = CreateObject("InternetExplorer.Application")
If CheckConnectionInternet() = True Then Call Main()
'*****************************************************************
Sub Main()...
Hi [peace]
My Problem is solved like this :
Just takes one simple loop and a filter !
Set wmi = GetObject("winmgmts:root\cimv2")
Set cProcesses = wmi.ExecQuery("select * from win32_process where Name like '%wscript.exe%' AND NOT commandline like '%" & wsh.scriptname & "%'")
For Each...
Hi [peace]
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:" _
&...
Hi [peace]
Two days ago, i posted in a french forum a HTA dealing with checkboxes that can be dynamically created from a text file.
The text file is created by default is "Process2Kill.txt" by the program and contains the names of process per lines that can be read as values of the checkbox, and...
Hi [peace]
I found the solution using RegExp
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://ftp.microsoft.com/softlib/index.txt"
'adress =...
Hi [peace]
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 =...
Hi [peace] and thank you Strongm for your reply !
So, Your solution works, but when i choose a string like MyString = "www.google.com" so it return me "." instead of "l"
So i found this trick to get it working like this :
Private Function GetFirstSingleLetter(ByVal strText As String) As String...
Hi [peace]
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 returned 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...
Hi [peace]
I think you forgot a sapce after /s
Try this :
'You need to save your presentation as a "Powerpoint Show"
'Open the presentation you want to save as a slide show.
'On the File menu, click Save As.
'In the Save as type list, click PowerPoint Show. Your slide show file will be saved...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.