Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

RobKon

@RobKon
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • A good mouse
    R RobKon

    I use a Logitech G903 with a Logitech Powerplay mouse pad. The Powerplay is a mousing surface, wireless charger, and receiver for the mouse. The mouse itself has programmable buttons which can be removed completely, ie you can have 0, 1, or 2 buttons on either side of the mouse. If the mouse is used on the powerplay at all times it stays between 85 and 95% charged. I never need to charge my mouse and I do not have the problem of the mouse cable getting caught on things, which I find to be the most annoying aspect of wired mice.

    The Lounge

  • Saving a picturebox control to jpg with VB 2005
    R RobKon

    Hi all, I have written a program that draws graphics to a picturebox control with GDI+ graphics. I want to be able to save the graphics as a jpg file. What I have done is create a temporary bitmap object and using the pictureboxs DrawToBitmap method copying the picturebox to the bitmap. Then I have used the bitmap objects Save method to write the jpg file. When I view the the jpg all I see is black with none of the graphics that are on the picturebox control.

    Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
    Dim bmpMap As New Bitmap(924, 722)
    Dim Rect As Rectangle = imgMap.DisplayRectangle
    imgMap.DrawToBitmap(bmpMap, Rect)
    bmpMap.Save("C:\STARS!\Map.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)

    End Sub

    This code compiles without errors, but the result is not what I expected. Can anyone help please? Thanks in advance Rob.

    Graphics graphics winforms help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups