• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Did some VBscripting today

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Bender

Mysteriously Changing Senior
Joined
Dec 19, 2000
Location
In Thelemac's Basement Eating the Chickens
I have experience with C, C++ and Pascal but I havn't really played around with VB script yet. I wanted to be able to change registry values easily so VB script is the way to go. I sat down did a little reserch and was able to make a small VB script that changes the Menu delay for the start menu and drop down menues. I like my menu browsing fast so this program just makes it easier for me to tweak. I'll be doing much much more scripting so I can tweak a system with a single click. Try out my program and see what you think. Does anyone know of some good places to read up on VB script?

The Program
 
I assume you are referring to windows scripting. As obvious as it may seem your best bet will be a seach engine like google. I find tons of information out this way. I use vbscript while working with activex objects in a web enviroment. I dont know much about windows scripting other than that it's used alot for some of the more common viruses out there. It think there are a few books on it so you may want to check out barnes&noble.com and amazon. other than that I may be able to help you if get stuck. Oh I looked at your code. Looks good, comments on the variable initialization may be helpful though. Also what are you using to write the vbs files?
 
Krieger said:
I dont know much about windows scripting other than that it's used alot for some of the more common viruses out there.

actually VBscript is what comprises most virii released.
 
EditPlus is a good editor for vbScript. It has nice syntactical highlighting. You can get it from EditPlus.com. It's shareware, but the registration isn't too high - about $30 US. I think it's worth it for the line number feature alone. ("Let's see, error on line 237 - okay, one [downarrow], two [downarrow], three[downarrow]....") ;)

As for resources for vbScripting info, I prefer a good reference manual myself. My personal favorite is "VBScript Programmer's Reference" by Wrox. You can also get some general info from 15seconds.com and ASP101.com. (As you probably know, vbscript is commonly used with ASP.) You can also go to Microsoft and plug in "vbscript" in the search box and come up with a lot of info.

good luck,
Adovbs
 
I already use Ultra Edit extensivly for hex editing. It colors syntax for almost any language so I'll stick with that for now.
Yes, UltraEdit is very good, too, and I use it on occasion whenever I need to work in PHP, but my everyday coding workhorse is EditPlus. It's just more readable and friendly to me. Matter of personal preference, I guess.

Adovbs
 
ultraedit is awesome, i've used it for 2 years and it's the only editor i have. i have to agree that Diane Zak's VB6 books are pretty good. the one we used in my VB class had a beta version of .NET with it and covered some of the details about it. it's one of the few programming books i don't totally hate.
 
I have a vb book from que. It's not bad, and I got it for $10 from buck a book (usually costs $59.99). I use it as a reference more than anything else. Also the MSDN cd's are a great resource if you ahve them, and msdn.microsoft.com.
 
I'm partial to the Wrox Press books. I have a wall of Red books. I highly recommend any VB, COM, SQL or DB programming books by them.
I second that, with one caveat: their books can vary quite widely in quality (clarity of writing, coverage of the topic, number and severity of typos, etc.) And since they are usually fairly expensive, I usually check Amazon's reviews before I actually plunk down the $$ for a new one. Oh, and Amazon sometimes has vendors offering used versions - I got a nice one on PHP there for about 25% of the new cost.

Adovbs
 
adovbs said:

I second that, with one caveat: their books can vary quite widely in quality (clarity of writing, coverage of the topic, number and severity of typos, etc.) And since they are usually fairly expensive, I usually check Amazon's reviews before I actually plunk down the $$ for a new one. Oh, and Amazon sometimes has vendors offering used versions - I got a nice one on PHP there for about 25% of the new cost.

Adovbs

Yes, I certainly agree. Some haven't been as clear as others. Overall, the ones I've gone thru have been pretty good (Beg & Prof VB6 DBs, Beg VB6 Objects & Bus Objs, and VB COM to name a few). Ya definitely gotta go to Wrox's site and download the sample code and errata.

If you're looking for great prices on books, try bookpool.com. They ordinarily discount new books 30-50% and don't charge an arm & a leg for S & H. I read the reviews on Amazon, then go to bookpool and order. I've had great luck with them and so have a lot of my friends. Could be worth a try. Wish they had a referral service with all the people I've sent to their site....
 
If you're looking for great prices on books, try bookpool.com.
Hey, thanks! Hearing about a new cheap book site is like the sweet sound of music to the ears of a confirmed bibliophile. ;-)

Adovbs
 
Back