Click here to Skip to main content
15,914,162 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralThere is no row at position 0 Pin
AAGTHosting17-Mar-08 7:03
AAGTHosting17-Mar-08 7:03 
GeneralRe: There is no row at position 0 Pin
Dave Kreskowiak18-Mar-08 3:03
mveDave Kreskowiak18-Mar-08 3:03 
GeneralDropdown list remains visible Pin
cstrader23217-Mar-08 5:07
cstrader23217-Mar-08 5:07 
GeneralRe: Dropdown list remains visible Pin
Dave Kreskowiak18-Mar-08 2:56
mveDave Kreskowiak18-Mar-08 2:56 
Generalnetwork sockets Pin
Cory Kimble17-Mar-08 4:29
Cory Kimble17-Mar-08 4:29 
GeneralRe: network sockets Pin
Dave Kreskowiak18-Mar-08 3:28
mveDave Kreskowiak18-Mar-08 3:28 
GeneralRe: network sockets Pin
Cory Kimble18-Mar-08 4:34
Cory Kimble18-Mar-08 4:34 
QuestionDrawing in user control Pin
N!ck17-Mar-08 4:03
N!ck17-Mar-08 4:03 
Hey

I want to draw in a user control, but for some reason it doesn't work. The user control colors blue, but I can't see a yellow circle. Maybe it would be better to make a panel - user control, but I don't know how to do this.

<br />
Public Class cell<br />
	Private Sub cell_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
		'Set Background of cell (panel)<br />
		pnlCell.BackColor = Color.Blue<br />
<br />
		'Draw circle in cell (panel)<br />
		DrawCircle(New Point(10, 10), 5)<br />
	End Sub<br />
<br />
	Private Sub DrawCircle(ByVal p As Point, ByVal radius As Integer)<br />
		Dim gr As Graphics = pnlCell.CreateGraphics<br />
		Dim rect As Rectangle = New Rectangle(p.X - radius, p.Y - radius, 2 * radius, 2 * radius)<br />
		gr.FillEllipse(Brushes.Yellow, rect)<br />
	End Sub<br />
End Class

GeneralRe: Drawing in user control Pin
Dave Kreskowiak17-Mar-08 7:44
mveDave Kreskowiak17-Mar-08 7:44 
GeneralRe: Drawing in user control Pin
Christian Graus17-Mar-08 9:21
protectorChristian Graus17-Mar-08 9:21 
GeneralTo get the snap shot of other machine Pin
sjs4u17-Mar-08 2:30
sjs4u17-Mar-08 2:30 
GeneralRe: To get the snap shot of other machine Pin
Dave Kreskowiak17-Mar-08 7:40
mveDave Kreskowiak17-Mar-08 7:40 
GeneralRe: To get the snap shot of other machine Pin
Christian Graus17-Mar-08 9:22
protectorChristian Graus17-Mar-08 9:22 
QuestionMSN Messenger Live Contacts Lits Pin
dunca_roo17-Mar-08 2:22
dunca_roo17-Mar-08 2:22 
GeneralRe: MSN Messenger Live Contacts Lits Pin
Dave Kreskowiak17-Mar-08 7:42
mveDave Kreskowiak17-Mar-08 7:42 
GeneralDynamically load the exe and run Pin
sjs4u16-Mar-08 23:26
sjs4u16-Mar-08 23:26 
GeneralRe: Dynamically load the exe and run Pin
Christian Graus16-Mar-08 23:48
protectorChristian Graus16-Mar-08 23:48 
AnswerRe: Dynamically load the exe and run Pin
Rajesh Anuhya17-Mar-08 0:07
professionalRajesh Anuhya17-Mar-08 0:07 
GeneralRe: Dynamically load the exe and run Pin
sjs4u17-Mar-08 0:33
sjs4u17-Mar-08 0:33 
GeneralRe: Dynamically load the exe and run Pin
Christian Graus17-Mar-08 0:40
protectorChristian Graus17-Mar-08 0:40 
GeneralRe: Dynamically load the exe and run Pin
Rajesh Anuhya17-Mar-08 0:49
professionalRajesh Anuhya17-Mar-08 0:49 
GeneralRe: Dynamically load the exe and run Pin
sjs4u17-Mar-08 0:57
sjs4u17-Mar-08 0:57 
QuestionHash Code for an image Pin
kumarrpt16-Mar-08 23:17
kumarrpt16-Mar-08 23:17 
GeneralRe: Hash Code for an image Pin
Christian Graus16-Mar-08 23:50
protectorChristian Graus16-Mar-08 23:50 
GeneralRe: Hash Code for an image Pin
Dave Kreskowiak17-Mar-08 7:37
mveDave Kreskowiak17-Mar-08 7: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.