Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: cd database in vb.net Pin
Oakman10-Nov-09 15:13
Oakman10-Nov-09 15:13 
AnswerRe: cd database in vb.net Pin
Christian Graus10-Nov-09 17:33
protectorChristian Graus10-Nov-09 17:33 
GeneralRe: cd database in vb.net Pin
Shameel11-Nov-09 23:26
professionalShameel11-Nov-09 23:26 
QuestionTrouble Reading Pixel Of Another Application Pin
Member 436831610-Nov-09 8:55
Member 436831610-Nov-09 8:55 
AnswerRe: Trouble Reading Pixel Of Another Application Pin
Christian Graus10-Nov-09 9:00
protectorChristian Graus10-Nov-09 9:00 
GeneralRe: Trouble Reading Pixel Of Another Application [modified] Pin
Member 436831610-Nov-09 9:11
Member 436831610-Nov-09 9:11 
GeneralRe: Trouble Reading Pixel Of Another Application Pin
Christian Graus10-Nov-09 10:18
protectorChristian Graus10-Nov-09 10:18 
GeneralRe: Trouble Reading Pixel Of Another Application [modified] Pin
Member 436831610-Nov-09 10:50
Member 436831610-Nov-09 10:50 
Sorry for the confusion I didn't mean the call to GetPixel is faster, I meant it's faster to use the GetPixel if you have the source in memory and getting all the pixel directly from memory (When I think about it shouldn't all pixel information be in memory?). Well I'm starting to get confused, I try to find your article Christian Graus maybe things will clear up for me Smile | :) . Am I wrong when I think I see a speed improvement with the code in my second post. If you would compare it with the createDC("DISPLAY",0,0,0) combined with the GetPixel way?

Christian Graus wrote:
The pixels don't exist, how can you get them ? If you have a handle to the window, and it's a .NET object, you can call DrawToBitmap, otherwise, you can't read a pixel that does not exist.


Okey that's bad news Frown | :( I just thought it was possible because I think I remember a while ago I saw an article about hooking a program that was minimized to get it's pixels. And by that I thought the pixel information must be stored somewhere even when the window isn't visible.

Edit: I have read some of your article Christian Graus (Image Processing for Dummies with C# and GDI+ Part 1 - Per Pixel Filters[^]) is your way (LockBits) the fastest or is BitBlit faster?

Edit2: I think I have found a article that has the solution I'm looking for. http://www.fengyuan.com/article/wmprint.html

modified on Tuesday, November 10, 2009 5:33 PM

GeneralRe: Trouble Reading Pixel Of Another Application Pin
Christian Graus10-Nov-09 11:59
protectorChristian Graus10-Nov-09 11:59 
GeneralRe: Trouble Reading Pixel Of Another Application Pin
Member 436831610-Nov-09 12:34
Member 436831610-Nov-09 12:34 
GeneralRe: Trouble Reading Pixel Of Another Application Pin
Christian Graus10-Nov-09 13:05
protectorChristian Graus10-Nov-09 13:05 
GeneralRe: Trouble Reading Pixel Of Another Application Pin
EliottA11-Nov-09 2:35
EliottA11-Nov-09 2:35 
QuestionSend Keys from keyboard Pin
shaina223110-Nov-09 6:55
shaina223110-Nov-09 6:55 
AnswerCross post Pin
dan!sh 10-Nov-09 6:59
professional dan!sh 10-Nov-09 6:59 
AnswerRe: Send Keys from keyboard Pin
The Man from U.N.C.L.E.10-Nov-09 7:02
The Man from U.N.C.L.E.10-Nov-09 7:02 
QuestionDisposing all objects Pin
Gagan.2010-Nov-09 2:42
Gagan.2010-Nov-09 2:42 
AnswerRe: Disposing all objects Pin
Dave Kreskowiak10-Nov-09 3:59
mveDave Kreskowiak10-Nov-09 3:59 
AnswerRe: Disposing all objects Pin
David Mujica10-Nov-09 4:01
David Mujica10-Nov-09 4:01 
GeneralRe: Disposing all objects Pin
Luc Pattyn10-Nov-09 4:06
sitebuilderLuc Pattyn10-Nov-09 4:06 
AnswerRe: Disposing all objects Pin
Shameel10-Nov-09 5:06
professionalShameel10-Nov-09 5:06 
GeneralRe: Disposing all objects Pin
Paulo Zemek10-Nov-09 8:04
Paulo Zemek10-Nov-09 8:04 
GeneralRe: Disposing all objects Pin
Shameel11-Nov-09 7:53
professionalShameel11-Nov-09 7:53 
QuestionUnable to proper shutdown Pin
Gagan.2010-Nov-09 2:29
Gagan.2010-Nov-09 2:29 
AnswerRe: Unable to proper shutdown Pin
Luc Pattyn10-Nov-09 2:33
sitebuilderLuc Pattyn10-Nov-09 2:33 
GeneralRe: Unable to proper shutdown Pin
Gagan.2010-Nov-09 2:37
Gagan.2010-Nov-09 2:37 

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.