Click here to Skip to main content
16,005,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: what is the diff... Pin
nitin312-Sep-07 2:08
nitin312-Sep-07 2:08 
QuestionError:"Value does not fall within the expected range" Pin
Malay198611-Sep-07 19:41
Malay198611-Sep-07 19:41 
QuestionPivot table reporting in VB.Net Pin
Meenakshi2811-Sep-07 19:01
Meenakshi2811-Sep-07 19:01 
AnswerRe: Pivot table reporting in VB.Net Pin
i BM28-Sep-07 7:12
i BM28-Sep-07 7:12 
Questionuser type not defined help [modified] Pin
monsieur_jj11-Sep-07 15:57
monsieur_jj11-Sep-07 15:57 
AnswerRe: user type not defined help Pin
Dave Kreskowiak12-Sep-07 3:38
mveDave Kreskowiak12-Sep-07 3:38 
Questioncut an image in picturebox in VB.Net Pin
Soumya Jyoti Das11-Sep-07 11:38
Soumya Jyoti Das11-Sep-07 11:38 
AnswerRe: cut an image in picturebox in VB.Net Pin
Ajay.k_Singh17-Sep-07 21:35
Ajay.k_Singh17-Sep-07 21:35 
Use DrawImage method of Graphics object.

You may try following code –

-----------Start Code----------------

'Create a bitmap object where our picture will be stored

Dim a As Bitmap = New Bitmap(400, 300)

'Create a Graphics object g

Dim g As Graphics = Graphics.FromImage(a)

'Rectangle which has to be cut from the picture

Dim rect As Rectangle = New Rectangle(0, 0, a.Width, a.Height)

'Cut the portion of the image which we have in picturebox1

g.DrawImage(Me.PictureBox1.Image, 0, 0, rect, GraphicsUnit.Pixel)

'Put bitmap image in clipboard,

My.Computer.Clipboard.SetImage(a)

'this image may be accessed using My.Computer.Clipboard.GetImage

---------------End Code------------

I hope this helpsSmile | :) .

- Dave.


Dave Traister,
ComponentOne LLC.
www.componentone.com

Questionconterting image into text Pin
Soumya Jyoti Das11-Sep-07 8:23
Soumya Jyoti Das11-Sep-07 8:23 
AnswerRe: conterting image into text Pin
Christian Graus11-Sep-07 8:41
protectorChristian Graus11-Sep-07 8:41 
QuestionTry Your Luck Pin
Karma3125111-Sep-07 7:17
Karma3125111-Sep-07 7:17 
AnswerRe: Try Your Luck Pin
Christian Graus11-Sep-07 7:28
protectorChristian Graus11-Sep-07 7:28 
GeneralRe: Try Your Luck Pin
Karma3125111-Sep-07 7:38
Karma3125111-Sep-07 7:38 
GeneralRe: Try Your Luck Pin
Christian Graus11-Sep-07 8:42
protectorChristian Graus11-Sep-07 8:42 
GeneralRe: Try Your Luck Pin
Dave Kreskowiak11-Sep-07 13:10
mveDave Kreskowiak11-Sep-07 13:10 
QuestionDBNull error w/checkbox in datagrid Pin
ggreekggod11-Sep-07 7:00
ggreekggod11-Sep-07 7:00 
AnswerRe: DBNull error w/checkbox in datagrid Pin
Johan Hakkesteegt13-Sep-07 1:36
Johan Hakkesteegt13-Sep-07 1:36 
GeneralRe: DBNull error w/checkbox in datagrid Pin
ggreekggod13-Sep-07 4:54
ggreekggod13-Sep-07 4:54 
GeneralRe: DBNull error w/checkbox in datagrid Pin
Johan Hakkesteegt14-Sep-07 2:36
Johan Hakkesteegt14-Sep-07 2:36 
GeneralRe: DBNull error w/checkbox in datagrid Pin
ggreekggod17-Sep-07 4:24
ggreekggod17-Sep-07 4:24 
Questionvb6 How do I get a Form UnLoad to wait until a Function call is completed? Pin
Robert from Florida11-Sep-07 6:28
Robert from Florida11-Sep-07 6:28 
AnswerRe: vb6 How do I get a Form UnLoad to wait until a Function call is completed? Pin
Dave Kreskowiak11-Sep-07 13:08
mveDave Kreskowiak11-Sep-07 13:08 
AnswerRe: vb6 How do I get a Form UnLoad to wait until a Function call is completed? Pin
MohammadAmiry11-Sep-07 21:58
MohammadAmiry11-Sep-07 21:58 
GeneralRe: vb6 How do I get a Form UnLoad to wait until a Function call is completed? Pin
Dave Kreskowiak12-Sep-07 3:30
mveDave Kreskowiak12-Sep-07 3:30 
GeneralRe: vb6 How do I get a Form UnLoad to wait until a Function call is completed? Pin
Robert from Florida13-Sep-07 5:39
Robert from Florida13-Sep-07 5:39 

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

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