Click here to Skip to main content
15,896,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 16:48
treddie10-Jun-13 16:48 
QuestionVB.Net and TAPI 3.1 Pin
Noname11210-Jun-13 3:35
Noname11210-Jun-13 3:35 
Questionchecking black pixels then counting them Pin
sharief hussien VB9-Jun-13 23:19
sharief hussien VB9-Jun-13 23:19 
AnswerRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 1:28
mveDave Kreskowiak10-Jun-13 1:28 
GeneralRe: checking black pixels then counting them Pin
sharief hussien VB10-Jun-13 2:26
sharief hussien VB10-Jun-13 2:26 
GeneralRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 3:58
mveDave Kreskowiak10-Jun-13 3:58 
GeneralRe: checking black pixels then counting them Pin
sharief hussien VB10-Jun-13 4:18
sharief hussien VB10-Jun-13 4:18 
GeneralRe: checking black pixels then counting them Pin
Dave Kreskowiak10-Jun-13 7:39
mveDave Kreskowiak10-Jun-13 7:39 
First, break out the GetPixel call into it's own line so you can see the value in the debugger:
Dim pixelColor As Color = img.GetPixel(x,y)
If pixelColor = color.Black Then
...

Step through the code line-by-line and look at the value of pixelColor Chances are good that the "black" you're seeing in the image is not really Color.Black, but close to it. Are you using a scanned or video image or was this text.bmp drawn in MSPaint or something else?

QuestionFilter the data from excel using VB Pin
R@M-ITcian8-Jun-13 18:32
R@M-ITcian8-Jun-13 18:32 
AnswerRe: Filter the data from excel using VB Pin
Richard MacCutchan8-Jun-13 21:56
mveRichard MacCutchan8-Jun-13 21:56 
QuestionIntPtr and API functions Pin
treddie8-Jun-13 17:03
treddie8-Jun-13 17:03 
AnswerRe: IntPtr and API functions Pin
Richard MacCutchan8-Jun-13 21:55
mveRichard MacCutchan8-Jun-13 21:55 
GeneralRe: IntPtr and API functions Pin
treddie8-Jun-13 23:39
treddie8-Jun-13 23:39 
GeneralRe: IntPtr and API functions Pin
Richard MacCutchan8-Jun-13 23:41
mveRichard MacCutchan8-Jun-13 23:41 
GeneralRe: IntPtr and API functions Pin
treddie9-Jun-13 8:11
treddie9-Jun-13 8:11 
GeneralRe: IntPtr and API functions Pin
Richard MacCutchan9-Jun-13 9:25
mveRichard MacCutchan9-Jun-13 9:25 
GeneralRe: IntPtr and API functions Pin
treddie9-Jun-13 11:44
treddie9-Jun-13 11:44 
Questionstackhash _2f16 Pin
champagne_charly8-Jun-13 9:11
champagne_charly8-Jun-13 9:11 
AnswerRe: stackhash _2f16 Pin
Eddy Vluggen9-Jun-13 5:13
professionalEddy Vluggen9-Jun-13 5:13 
GeneralRe: stackhash _2f16 Pin
champagne_charly9-Jun-13 5:54
champagne_charly9-Jun-13 5:54 
GeneralRe: stackhash _2f16 Pin
Eddy Vluggen9-Jun-13 6:04
professionalEddy Vluggen9-Jun-13 6:04 
GeneralRe: stackhash _2f16 Pin
champagne_charly9-Jun-13 6:06
champagne_charly9-Jun-13 6:06 
GeneralRe: stackhash _2f16 Pin
Eddy Vluggen9-Jun-13 6:19
professionalEddy Vluggen9-Jun-13 6:19 
GeneralRe: stackhash _2f16 Pin
champagne_charly9-Jun-13 8:10
champagne_charly9-Jun-13 8:10 
GeneralRe: stackhash _2f16 Pin
Dave Kreskowiak9-Jun-13 12:50
mveDave Kreskowiak9-Jun-13 12:50 

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.