How to write a VB Script
Hi,
i'm very new to this forum....
now i'm using Installshield
can u suggest me how to learn VB script with in a quick time...
kindly help me plz..
i'm very new to this forum....
now i'm using Installshield
can u suggest me how to learn VB script with in a quick time...
kindly help me plz..
0 Comments
[ + ] Show comments
Answers (23)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Don forget the fact that v too came from basics guys !!!That's true. The difference is that we have brains and the gumption to seek out examples for ourselves, rather than expecting someone else to do the leg-work for us. These days it's even easier, now that there are search engines and quadzillions of examples on the web.
Posted by:
sanjana
13 years ago
Posted by:
kardock
13 years ago
Posted by:
bearden3
13 years ago
Posted by:
SandeepPanat
13 years ago
Posted by:
kanthsri87
13 years ago
Hi sanjana,
The best way to learn vbscript is jus go through all the scripts u got in your office.Ther wil b set of scripts available i wil explain a script with example
Here it is
dim filesys //Dim statement is just like declaration
Set filesys = CreateObject("Scripting.FileSystemObject") //This statement is for object creation jus lik pre determined function lik stdio.h in C for printf and scanf
If filesys.FolderExists("c:\DevGuru\website\") Then //If statement here is checking for folder exists
filesys.DeleteFolder "c:\DevGuru\website" //If its there then it wil delete that folder
Response.Write("Folder deleted") //THis statement is jus lik printf statement and write "Fodlercreated" once it done
End If //Every If statment if started should end with End if statement
Jus lik this go through all vbs
The best way to learn vbscript is jus go through all the scripts u got in your office.Ther wil b set of scripts available i wil explain a script with example
Here it is
dim filesys //Dim statement is just like declaration
Set filesys = CreateObject("Scripting.FileSystemObject") //This statement is for object creation jus lik pre determined function lik stdio.h in C for printf and scanf
If filesys.FolderExists("c:\DevGuru\website\") Then //If statement here is checking for folder exists
filesys.DeleteFolder "c:\DevGuru\website" //If its there then it wil delete that folder
Response.Write("Folder deleted") //THis statement is jus lik printf statement and write "Fodlercreated" once it done
End If //Every If statment if started should end with End if statement
Jus lik this go through all vbs
Posted by:
kanthsri87
13 years ago
Posted by:
WiseAppPackager
13 years ago
Posted by:
sanjana
13 years ago
Posted by:
WiseAppPackager
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
mayur_mak
13 years ago
Posted by:
timmsie
13 years ago
Posted by:
kardock
13 years ago
Posted by:
jmaclaurin
13 years ago
Posted by:
Arminius
13 years ago
Sanjana:
The best way to learn is to do. Try to figure out what you want to get done, Google that, and see what comes up. There are enough samples out there on the web that you can pretty quickly do what everyone else does: steal someone else's code and modify it to fit your purposes. Look at the Scripting Guy web site as well - Microsoft has examples of nearly all the VBScript functions and they're not too hard to follow.
Experiment around. What happens when I change this? What happens when I combine these 2 samples? there are also forums (fora, if you speak Latin) where you can post your code and get help with that. They won't write it for you, but they will help you with problems you have.
VBScab makes a good point: there are a lot of experts out here that like helping with problems folks have, but they don't want to do the work for you.
The best way to learn is to do. Try to figure out what you want to get done, Google that, and see what comes up. There are enough samples out there on the web that you can pretty quickly do what everyone else does: steal someone else's code and modify it to fit your purposes. Look at the Scripting Guy web site as well - Microsoft has examples of nearly all the VBScript functions and they're not too hard to follow.
Experiment around. What happens when I change this? What happens when I combine these 2 samples? there are also forums (fora, if you speak Latin) where you can post your code and get help with that. They won't write it for you, but they will help you with problems you have.
VBScab makes a good point: there are a lot of experts out here that like helping with problems folks have, but they don't want to do the work for you.
Posted by:
anonymous_9363
13 years ago
Posted by:
sanjana
13 years ago
Posted by:
hari4243
13 years ago
Posted by:
hari4243
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.