Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


who you define variables and functions in VB?



who you define variables and functions in VB?..

Answer / saimahesh babu

variable declaration:dim a
function declaration:

function nameoffuntion(var)
msgbox var
end funtion

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

What purpose does ‘on error resume next’ serves?

0 Answers  


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

0 Answers  


What is a class in CSS?

1 Answers  


There are 5 web pages.write a script to click the button on 4th web page.

0 Answers   Accenture,


Is it possible to pass optional argument to function in vb script?

2 Answers  


How will you compare two strings in vbscript?

0 Answers  


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

0 Answers  


Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 Answers  


Mention what if you do not specify anything when you call a procedure?

0 Answers  


How will you trim the spaces on the left of a string using vbscript?

1 Answers  


Out of the different type of operators, which are evaluated first and last in the vbscript language?

0 Answers  


Which operator can be used to do an xor operation in vbscript?

0 Answers  


Categories