how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / amar
addition
dim a
dim b
dim c
c=a+b
| Is This Answer Correct ? | 9 Yes | 23 No |
Post New Answer View All Answers
Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it
What is the extension of the vbscript file?
where can i learn VB scripint ?
How can you fetch the value of a cookie?
what is the differance between BYVAL,BYREF?
How can you create an object in vbscript?
How many types of operators are available in the vbscript language?
How to open a file. What is the perpose of true and false mode there?
Mention what is the difference between vbscript and vba?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Mention what if you do not specify anything when you call a procedure?
How to create a cookie using vbscript?
Why is it recommended to close the database connection every time after the work is completed?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
How can the spaces from the string be removed?