Results 1 to 8 of 8

Thread: Wallpaper

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2002
    Location
    NY
    Posts
    57

    Question Wallpaper

    How do I set a picture as the wallpaper stretch, center, or tile?

  2. #2

    Thread Starter
    Member
    Join Date
    Aug 2002
    Location
    NY
    Posts
    57
    can anyone please help me?

  3. #3
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Right click on ur desktop, select properties. Now in the backgroud tab select browse and locate the picture. Then set it as a wallpaper.

    Is that what u want ?

  4. #4
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Originally posted by techyspecy
    Right click on ur desktop, select properties. Now in the backgroud tab select browse and locate the picture. Then set it as a wallpaper.

    Is that what u want ?
    HAHAHAHAHAHAHAHA.

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2002
    Location
    NY
    Posts
    57
    Dude! I mean using VB!!!! This is call VBForums, isn't it?

  6. #6
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    To set the wallpaper you can use

    SystemParametersInfo API.

  7. #7
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Originally posted by XSawFishX
    Dude! I mean using VB!!!! This is call VBForums, isn't it?
    Sure it is. But i have seen people asking questions in this forum that has nothing to do with Computer world in the first place.

    So do not get Angry on me.
    Let me check your "using VB issue .."

  8. #8
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long

    Private Const SPI_SETDESKWALLPAPER = 20

    Private Sub Command1_Click()
    Dim lngSuccess As Long
    Dim strBitmapImage As String
    CommonDialog1.ShowOpen
    strBitmapImage = CommonDialog1.FileName
    lngSuccess = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, strBitmapImage, 0)
    End Sub

    This is the simplest way to set the wallpaper .....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width