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

Visual Basic

 
AnswerRe: translation from c#? Pin
Dave Doknjas12-Nov-06 12:34
Dave Doknjas12-Nov-06 12:34 
GeneralRe: translation from c#? Pin
ozeegers12-Nov-06 19:05
ozeegers12-Nov-06 19:05 
GeneralRe: translation from c#? Pin
ozeegers13-Nov-06 1:54
ozeegers13-Nov-06 1:54 
GeneralRe: translation from c#? Pin
ozeegers13-Nov-06 2:30
ozeegers13-Nov-06 2:30 
GeneralRe: translation from c#? Pin
Dave Doknjas13-Nov-06 4:08
Dave Doknjas13-Nov-06 4:08 
GeneralRe: translation from c#? Pin
ozeegers13-Nov-06 7:17
ozeegers13-Nov-06 7:17 
QuestionDatagrid help for newbie Pin
penguin500012-Nov-06 10:27
penguin500012-Nov-06 10:27 
QuestionHow to draw a spectral plot to a picturebox [modified] Pin
buzzztah12-Nov-06 9:39
buzzztah12-Nov-06 9:39 
Hi All!

I've been trying to draw a spectral trace to a picturebox in visual studio Visual basic 2005, but for some reason i cant find out how?!

I need to plot a graph of 500 dots to screen so I assumed the easiest is to draw this in a picturebox. Is this true?

The curve function seems to be the right way to go even though it would be easier to simply draw lines between the dots since as far as i can see this will greatly reduce the ammount of code needed.

I tried the next code:

e.Graphics.DrawCurve(greenPen, curvePoints)

Where curvepoints is populated by an array of points as explained in the msdn description. Do i need to be more specific to draw to a picturebox?

Does anybody know why i dont see anything in my form?

Any tips are very welcome (as i am getting frustrated after not getting a single line on screen Smile | :) )

Cheers

Bas


-- modified at 15:47 Sunday 12th November, 2006
AnswerRe: How to draw a spectral plot to a picturebox Pin
Christian Graus12-Nov-06 10:18
protectorChristian Graus12-Nov-06 10:18 
GeneralRe: How to draw a spectral plot to a picturebox Pin
buzzztah14-Nov-06 1:22
buzzztah14-Nov-06 1:22 
GeneralRe: How to draw a spectral plot to a picturebox Pin
Christian Graus14-Nov-06 9:41
protectorChristian Graus14-Nov-06 9:41 
QuestionReading Registry Value Pin
Puggsley12-Nov-06 9:24
Puggsley12-Nov-06 9:24 
AnswerRe: Reading Registry Value Pin
Christian Graus12-Nov-06 10:15
protectorChristian Graus12-Nov-06 10:15 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 10:30
Puggsley12-Nov-06 10:30 
GeneralRe: Reading Registry Value Pin
Christian Graus12-Nov-06 11:03
protectorChristian Graus12-Nov-06 11:03 
GeneralRe: Reading Registry Value Pin
Christian Graus12-Nov-06 11:05
protectorChristian Graus12-Nov-06 11:05 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:13
Puggsley12-Nov-06 11:13 
GeneralRe: Reading Registry Value Pin
Christian Graus12-Nov-06 11:21
protectorChristian Graus12-Nov-06 11:21 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:24
Puggsley12-Nov-06 11:24 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:37
Puggsley12-Nov-06 11:37 
GeneralRe: Reading Registry Value Pin
Christian Graus12-Nov-06 11:40
protectorChristian Graus12-Nov-06 11:40 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:52
Puggsley12-Nov-06 11:52 
QuestionSorting a one-dimensional array [modified] Pin
maddogjbm12-Nov-06 8:31
maddogjbm12-Nov-06 8:31 
AnswerRe: Sorting a one-dimensional array Pin
Guffa12-Nov-06 9:07
Guffa12-Nov-06 9:07 
GeneralRe: Sorting a one-dimensional array Pin
maddogjbm12-Nov-06 11:29
maddogjbm12-Nov-06 11:29 

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.