Microsoft Visual Basic Menu Image String Date


String - a list functions and some of the build-in standard commands are as follows:


   chr(int) - return ASCII char

   Lcase(str) - lower case

   Ucase(str) - upper case

   Ltrim(str) - left side trim

   Rtrim(str) - right side trim

   Len(str) - length of string


Date and Time - list of date and time functions supported by version 5.0 and 6.0


date - returns current date


dateserial(iyr, imo, iday) - set current date value


dateadd(str, ins, ddate)

   - Now will return current date and time

   - Time will return current time



Menu - press Ctrl + E to display the menu editor and the user can just fill up details from here-on:


Note:


  caption - can not be blank

  name - can not be blank


if a hypen (-) is place in the caption field, a field separator will be place but, you still need to put a unique name for it


Image - allows user to put images on screen some of the common formats are .bmp, .ico, .jpg and etc.,


format:


        loadpicture([srfile])


ex.:


    myface.picture = loadpicture("\hd.wmf")