FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


A vbs or bat loading bar





foumy6
Hey I am trying to make a prank to pull on my friend computer, and I am sure I will use this elsewhere as well I am looking for How to put a loading bar in the vbs or batch script that will either just appear to be doing some or just doing something simple that doesn't really matter and doesn't take long either works. If you need anymore info just ask or pm me!
Hexes
It will be easier to write an application for example in VB to achieve your goal. It will took like 5 minutes to do it.

Here you will find tutorial and complete code Smile



You will need microsoft visual studio to follow this example. There is an express edition available to download and it is free.
Marcuzzo
I would also recommend VB.net or even autoit for this.

if you still want to use VBS or Batch files, you can, but there is no "out of the box" sollution.
With VBS of JScript, running under Windows Scripting Host you can create ( instantiate) COM Objects.

The way I used to do it (waaaaay back) was with the internetexplorer.application

example:
Code:
var win = WScript.CreateObject("InternetExplorer.Application");
win.navigate("about:blank");
win.statusbar=0;
win.toolbar = 0;
win.menubar=0;
win.width=500;
win.height=250;
do{
  WScript.sleep(100);   
}while(win.busy)   
win.document.body.scroll ="no";
win.document.body.style.padding =0 ;
win.document.body.style.margin =0 ;
win.document.body.style.border ="none" ;
// here you can do whatever you want with the window...



with a little knowledge of HTML and Javascript you could create something that "looks" like a progressbar, but the window will still show "Internet Explorer" in the title bar and the close button will still be available.

you could also create a borderless html application, this one is almost the same as internet explorer but packs a bigger punch.
Related topics
pay attition to the new virus Backdoor.Nibu.K
What do you think?
OurPortfolio Graphics Design Studio
Some good Flash sites
my site
My school Unofficial site :)
Loading bar in Liberty Basic
Virus Alert: BlackWorm (MyWife.d)
Re-done for the 6th time skateboarding website!
Gameloft's MI3 (Mobile Game)
I need a loading bar that appears while (read inside)
Help.. winxp Sp2 Problem..
Flash, PHP and MySQL
Adding in a Loading bar before home page loads
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.