Tuesday 26 January 2021

VB script class 12 (part 1 message box)

 <html>

<body>

<script type="text/VBScript">

'MsgBox("Hello from VBScript <br/> Hello from VB")

'MsgBox("Hello from VBScript" & VbLf & "Hello from VB")

's1="ram"

's2="kumar"

'MsgBox(s1 & " " & s2)




'msgBox("1-HelloIndia")

'msgBox "1-HelloIndia"

'msgBox("2-HelloIndia" & vblf & "HelloDelhi")

'msgBox("3-HelloIndia" & vbcr & "HelloDelhi")

'msgBox("3-HelloIndia" & chr(10) & "HelloDelhi")

'msgBox("3-HelloIndia" & chr(13) & "HelloDelhi")

'msgBox "0-HelloIndia",0

'msgBox "1-HelloIndia",1

'msgBox "2-HelloIndia",2

'msgBox "3-HelloIndia",3

'msgBox "4-HelloIndia",4

'msgBox "5-HelloIndia",5


'msgBox "16-Error",16

'msgBox "32-Question",32

'msgBox "48-Warning",48

'msgBox "64-Information",64

'msgBox "0-Default",3+16+0

'msgBox "256-Default",3+16+256

'msgBox "512-Default",3+16+512

msgBox "0-Application Model",3+16+512+0

msgBox "4096-System Model",3+16+512+4096

msgBox "0-Application Model",3+16+512+0, "Application Model"

msgBox "4096-System Model",3+16+512+4096, "System Model"

</script>

</body>

</html>

No comments:

Post a Comment