visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jorawar
    New Member
    • Mar 2007
    • 1

    visual basic

    please tell to how can design new command buttons in visual basic. like XP buttons, ms office buttons new gui buttons etc. and how can change new background color not default. like new please reply
  • kscmjo
    New Member
    • Mar 2007
    • 13

    #2
    google "xp buttons in Vb6"

    Comment

    • isotope11
      New Member
      • Mar 2007
      • 10

      #3
      Originally posted by jorawar
      ...how can change new background color not default...
      If you want to change the form's background color, right click the form, click properties, then in the properties click BackColor and choose the color of your choice.

      If you want to change the form's background color in your code, add

      Me.BackColor = RGB(0,0,0)

      If you know what you are writing in the (0,0,0) part. But if you have do it the easy way use

      Me.BackColor = QBColor(Color)

      The Color argument has these settings:

      0 Black
      1 Blue
      2 Green
      3 Cyan
      4 Red
      5 Magenta
      6 Yellow
      7 White
      8 Gray
      9 Light blue
      10 Light green
      11 Light cyan
      12 Light red
      13 Light magenta
      14 Light yellow
      15 Bright white

      I hope that would answer your question.

      Comment

      • imsoft
        New Member
        • Mar 2007
        • 5

        #4
        Code:
        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
        <assemblyIdentity
           version="1.0.0.0"
           processorArchitecture="*"
           name="Microsoft.Winweb.XPLook.exe"
           type="win32"
        />
        <description>Scriptet.com</description>
        <dependency>
           <dependentAssembly>
             <assemblyIdentity
               type="win32"
               name="Microsoft.Windows.Common-Controls"
               version="6.0.0.0"
               processorArchitecture="*"
               publicKeyToken="6595b64144ccf1df"
               language="*"
             />
           </dependentAssembly>
        </dependency>
        </assembly>
        copy paste that code into notepad and save with format
        <yourapp>.exe.m anifest
        and put into the directory same as yourapp.exe

        Comment

        • vijaydiwakar
          Contributor
          • Feb 2007
          • 579

          #5
          if u like to do so in vb6 then go for Ocean XP ctrl

          Comment

          Working...