Click here to Skip to main content
15,918,889 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: sql statement ..., how can i resolve this error Pin
Dave Kreskowiak25-Jul-07 6:39
mveDave Kreskowiak25-Jul-07 6:39 
Questionhow to pass parmeters in crystal report ? Pin
help as an alias25-Jul-07 0:01
help as an alias25-Jul-07 0:01 
AnswerRe: how to pass parmeters in crystal report ? Pin
Kschuler25-Jul-07 4:22
Kschuler25-Jul-07 4:22 
QuestionConverting an HTML document to an image Pin
Ahmad Zaidi24-Jul-07 23:44
Ahmad Zaidi24-Jul-07 23:44 
Questioncan i apply windows vista skin/theme to my vb form? Pin
jamilkhan00724-Jul-07 23:00
jamilkhan00724-Jul-07 23:00 
AnswerRe: can i apply windows vista skin/theme to my vb form? Pin
Dave Kreskowiak25-Jul-07 3:29
mveDave Kreskowiak25-Jul-07 3:29 
QuestionUrdu fonts do not work in VB.NET 2.0(: Pin
jamilkhan00724-Jul-07 22:31
jamilkhan00724-Jul-07 22:31 
QuestionScreen Capture Pin
Ahmad Zaidi24-Jul-07 22:10
Ahmad Zaidi24-Jul-07 22:10 
Hey,

I am trying to capture a screen shot of a form that is in the background. I donot want to display it to the user. I am doing the following:


Dim Pic As Bitmap
Dim SS As Graphics

Pic = New Bitmap(Me.Width, Me.Height, Imaging.PixelFormat.Format32bppArgb)
SS = Graphics.FromImage(Pic)
SS.CopyFromScreen(Me.Location, New Point(0, 0), Me.Size, CopyPixelOperation.SourceCopy)

Pic.Save("C:\test.jpg", ImageFormat.Jpeg)

The problem is it takes a shot of the screen in the region specified excluding the form! This is even if I am displaying the form. Any suggestions?

Thanks
Ahmad
AnswerRe: Screen Capture Pin
Christian Graus24-Jul-07 22:11
protectorChristian Graus24-Jul-07 22:11 
AnswerRe: Screen Capture Pin
The ANZAC24-Jul-07 23:25
The ANZAC24-Jul-07 23:25 
AnswerRe: Screen Capture Pin
Dave Kreskowiak25-Jul-07 3:28
mveDave Kreskowiak25-Jul-07 3:28 
AnswerRe: Screen Capture Pin
Luc Pattyn25-Jul-07 6:23
sitebuilderLuc Pattyn25-Jul-07 6:23 
Questioncatch Run-time error 40006 (VB6.0) Pin
keninfo24-Jul-07 21:59
keninfo24-Jul-07 21:59 
AnswerRe: catch Run-time error 40006 (VB6.0) Pin
Dave Kreskowiak25-Jul-07 3:24
mveDave Kreskowiak25-Jul-07 3:24 
GeneralRe: catch Run-time error 40006 (VB6.0) Pin
keninfo25-Jul-07 5:39
keninfo25-Jul-07 5:39 
GeneralRe: catch Run-time error 40006 (VB6.0) Pin
Dave Kreskowiak25-Jul-07 6:21
mveDave Kreskowiak25-Jul-07 6:21 
Questionhow to change input laguage programatically? Pin
jamilkhan00724-Jul-07 21:56
jamilkhan00724-Jul-07 21:56 
AnswerRe: how to change input laguage programatically? Pin
Dave Kreskowiak25-Jul-07 3:27
mveDave Kreskowiak25-Jul-07 3:27 
GeneralRe: how to change input laguage programatically? Pin
Tom Deketelaere25-Jul-07 3:47
professionalTom Deketelaere25-Jul-07 3:47 
GeneralRe: how to change input laguage programatically? Pin
Dave Kreskowiak25-Jul-07 6:25
mveDave Kreskowiak25-Jul-07 6:25 
GeneralRe: how to change input laguage programatically? Pin
Tom Deketelaere25-Jul-07 20:47
professionalTom Deketelaere25-Jul-07 20:47 
GeneralRe: how to change input laguage programatically? Pin
jamilkhan00726-Jul-07 1:04
jamilkhan00726-Jul-07 1:04 
QuestionHow to use a SQL join in an Adapter in VB.net Pin
Vimalsoft(Pty) Ltd24-Jul-07 21:44
professionalVimalsoft(Pty) Ltd24-Jul-07 21:44 
AnswerRe: How to use a SQL join in an Adapter in VB.net Pin
Christian Graus24-Jul-07 21:46
protectorChristian Graus24-Jul-07 21:46 
AnswerRe: How to use a SQL join in an Adapter in VB.net Pin
Dave Kreskowiak25-Jul-07 3:19
mveDave Kreskowiak25-Jul-07 3:19 

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.