Click here to Skip to main content
       

Visual Basic

 
GeneralRe: TAPI3 Call Id ?? Pinmembertrashambishion6-Dec-12 13:19 
QuestionLoad pdf into picturebox binding to dataset Pinmemberwaner michaud30-Nov-12 10:10 
AnswerRe: Load pdf into picturebox binding to dataset PinmvpDave Kreskowiak30-Nov-12 13:43 
GeneralRe: Load pdf into picturebox binding to dataset Pinmemberwaner michaud4-Dec-12 10:13 
GeneralRe: Load pdf into picturebox binding to dataset PinmvpDave Kreskowiak4-Dec-12 13:31 
QuestionSaving a form and its contents as an image Pinmembertuffhamster30-Nov-12 5:37 
AnswerRe: Saving a form and its contents as an image PinmemberEddy Vluggen1-Dec-12 0:41 
GeneralRe: Saving a form and its contents as an image Pinmembertuffhamster1-Dec-12 4:18 
I have used the drawtobitmap as suggested but still only copies the form background. There are about 8 picture boxes in the form but none of these are saved within the jpg. Here is the code.
 
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        Dim savefiledialog1 As New SaveFileDialog
        savefiledialog1.Title = "Render"
        savefiledialog1.FileName = "Render Image"
        savefiledialog1.Filter = "jpg |*.jpg| png |*.png| bmp |*.bmp| gif |*.gif"
        If savefiledialog1.ShowDialog() = DialogResult.OK Then
            Dim bmp As New Drawing.Bitmap(Form2.Width, Form2.Height)
            Form2.DrawToBitmap(bmp, New Rectangle(0, 0, bmp.Width, bmp.Height))
            bmp.Save(savefiledialog1.FileName, Imaging.ImageFormat.Icon)
        End If
    End Sub

GeneralRe: Saving a form and its contents as an image PinmemberEddy Vluggen1-Dec-12 5:04 
QuestionActivex can't create object error in VB6.0 PinmemberPradeep Londhe29-Nov-12 23:49 
AnswerRe: Activex can't create object error in VB6.0 PinmemberDeepak Shitole14-Dec-12 22:25 
QuestionActivex can't create object error in VB6.0 PinmemberPradeep Londhe29-Nov-12 23:49 
AnswerRe: Activex can't create object error in VB6.0 PinmemberSimon_Whale29-Nov-12 23:53 
Questionhow to give Chinese characters sa in put in a Text box in vb.net Pinmemberramesh.mandapelly29-Nov-12 23:03 
AnswerRe: how to give Chinese characters sa in put in a Text box in vb.net PinmemberBernhard Hiller29-Nov-12 23:11 
QuestionHow to use c++ class into vba? Pinmembergui.cmsilva29-Nov-12 18:16 
QuestionHow Bind Multiple Columns under Same Label and store in database(VB 2010) Pinmembercharuwaka29-Nov-12 6:06 
QuestionHow to make Login Page For a Windows Application Form(VB 2010) Pinmembercharuwaka29-Nov-12 4:41 
AnswerRe: How to make Login Page For a Windows Application Form(VB 2010) PinmemberZaf Khan1-Dec-12 9:09 
QuestionVB.NET / APPLICATION SETTINGS Pinmembermebjen29-Nov-12 3:17 
AnswerRe: VB.NET / APPLICATION SETTINGS PinmvpDave Kreskowiak29-Nov-12 4:55 
GeneralRe: VB.NET / APPLICATION SETTINGS Pinmembermebjen29-Nov-12 5:29 
GeneralRe: VB.NET / APPLICATION SETTINGS PinmvpDave Kreskowiak29-Nov-12 11:36 
GeneralRe: VB.NET / APPLICATION SETTINGS Pinmembermebjen29-Nov-12 11:57 
GeneralRe: VB.NET / APPLICATION SETTINGS PinmvpDave Kreskowiak29-Nov-12 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 23 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid