*
**
***
Please write a code to get output like above diagram? ple explain as it how the code works?
Answer Posted / manjunathareddy
For i=1 to 3
Var=Var&" "& string(i,"*")&Vbnewline
Next
Msgbox Var
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
How will you get a random number between 0 and 1 in vbscript?
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
Can u describe what kind of testing are for OTC derivates by banks.
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Which function allows you to instantiate an object given its programmatic identifier or progid?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Explain the string concatenation function in vbscript?
Write a code to print numbers from 5 to 0?
Explain a few date functions in vbscript
What is the difference between for loop and while loop?
What is the difference between javascript and vbscript?
Illustrate briefly about the different types of statement
Mention what is the use of option explicit in vbscript?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me