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

Visual Basic

 
GeneralRe: date and time manipulation Pin
Ebube9-Jul-08 0:26
Ebube9-Jul-08 0:26 
GeneralRe: date and time manipulation Pin
Ashfield9-Jul-08 1:37
Ashfield9-Jul-08 1:37 
GeneralRe: date and time manipulation Pin
Ebube9-Jul-08 5:06
Ebube9-Jul-08 5:06 
GeneralRe: date and time manipulation Pin
Ashfield9-Jul-08 10:11
Ashfield9-Jul-08 10:11 
JokeRe: date and time manipulation Pin
Mycroft Holmes9-Jul-08 14:57
professionalMycroft Holmes9-Jul-08 14:57 
Questiondraw bitmap by pixel help Pin
shee_dee868-Jul-08 14:55
shee_dee868-Jul-08 14:55 
AnswerRe: draw bitmap by pixel help Pin
Guffa8-Jul-08 14:57
Guffa8-Jul-08 14:57 
QuestionRe: draw bitmap by pixel help Pin
shee_dee868-Jul-08 16:21
shee_dee868-Jul-08 16:21 
ok, i have use the setpixel to draw one pixel now, but how about the next pixel, it will be replacing the color that have been draw before,
here my sample code for button click event:

Dim bmp As New Bitmap(PictureBox3.Width, PictureBox3.Height)
Dim gr As Graphics = Graphics.FromImage(bmp)
Dim A As Color

Dim i, j As Integer
i = 0
j = 0
Dim n As Integer
For n = 0 To ListBox1.Items.Count - 1
If ListBox1.Items(n) = "A" Then
A = Color.Orange
ElseIf ListBox1.Items(n) = "R" Then
A = Color.Red
ElseIf ListBox1.Items(n) = "G" Then
A = Color.Lime
Else
A = Color.Black
End If
bmp = New Bitmap(100, 100, gr)



bmp.SetPixel(i, j, A)
i = i + 1
j = j + 1

'gr.DrawImage(bmp, 10, 10)

Next
bmp.Save("C:\bmp.bmp")

how can i store the drawing untill it complete all process and then show them..
AnswerRe: draw bitmap by pixel help Pin
Guffa8-Jul-08 17:41
Guffa8-Jul-08 17:41 
AnswerRe: draw bitmap by pixel help Pin
Christian Graus8-Jul-08 15:14
protectorChristian Graus8-Jul-08 15:14 
QuestionWebbrowser control and temporary internet files Pin
Timen8-Jul-08 4:56
Timen8-Jul-08 4:56 
AnswerRe: Webbrowser control and temporary internet files Pin
Dave Kreskowiak8-Jul-08 17:02
mveDave Kreskowiak8-Jul-08 17:02 
Questionhelp Pin
iain65948-Jul-08 4:30
iain65948-Jul-08 4:30 
AnswerRe: help Pin
Christian Graus8-Jul-08 4:32
protectorChristian Graus8-Jul-08 4:32 
GeneralRe: help Pin
iain65948-Jul-08 5:31
iain65948-Jul-08 5:31 
GeneralRe: help Pin
Christian Graus8-Jul-08 5:49
protectorChristian Graus8-Jul-08 5:49 
GeneralRe: help Pin
Paul Conrad9-Jul-08 12:27
professionalPaul Conrad9-Jul-08 12:27 
AnswerRe: help Pin
Paul Conrad9-Jul-08 12:25
professionalPaul Conrad9-Jul-08 12:25 
Questioncan visual basic 6.0 freeze applications from running? Pin
Member 43705378-Jul-08 2:46
Member 43705378-Jul-08 2:46 
AnswerRe: can visual basic 6.0 freeze applications from running? Pin
Christian Graus8-Jul-08 4:33
protectorChristian Graus8-Jul-08 4:33 
AnswerRe: can visual basic 6.0 freeze applications from running? Pin
Dave Kreskowiak8-Jul-08 9:30
mveDave Kreskowiak8-Jul-08 9:30 
AnswerRe: can visual basic 6.0 freeze applications from running? Pin
Paul Conrad9-Jul-08 12:27
professionalPaul Conrad9-Jul-08 12:27 
Questionone of the dll does not work from new windows user account. Pin
coolsatty8-Jul-08 2:27
coolsatty8-Jul-08 2:27 
AnswerRe: one of the dll does not work from new windows user account. Pin
Ashfield8-Jul-08 3:45
Ashfield8-Jul-08 3:45 
Questiondeployment issue [modified] Pin
rohit tiwary8-Jul-08 1:21
rohit tiwary8-Jul-08 1:21 

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.