Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVisual Data Manager Pin
KULKING3-May-09 21:03
KULKING3-May-09 21:03 
AnswerRe: Visual Data Manager Pin
Henry Minute4-May-09 2:45
Henry Minute4-May-09 2:45 
Questioncan picture boxes be mathmatically different then they appear Pin
Wankel Maggot3-May-09 20:34
Wankel Maggot3-May-09 20:34 
AnswerRe: can picture boxes be mathmatically different then they appear Pin
Christian Graus3-May-09 22:19
protectorChristian Graus3-May-09 22:19 
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Wankel Maggot3-May-09 22:30
Wankel Maggot3-May-09 22:30 
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Christian Graus3-May-09 22:48
protectorChristian Graus3-May-09 22:48 
AnswerRe: can picture boxes be mathmatically different then they appear Pin
Luc Pattyn3-May-09 23:05
sitebuilderLuc Pattyn3-May-09 23:05 
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Wankel Maggot3-May-09 23:33
Wankel Maggot3-May-09 23:33 
ok well the code in the example was just a quick mock up of the crux of the issue, and i didn't want variable names that implied i had a heap of code elsewhere which may be contributing to the problem that i wasn't showing you guys , so you got "line" lol

I figured out that everything is referenced from the top left but I still thought if you said box.bottom that would return a real screen point ,it still seems strange to me that this isn't the case however

the rubber band thing makes sense now you have put it in some context , i had noticed that the drawings would disappear if you waved another form over the top

because i am working on a graphing control how would i make the the plotted line disappear when i want to change the data being plotted if I use the paint event ,without losing the whole graph as Luc points out graphics are expensive and can take a moment to generate,which is why I swapped from the line shape control as that seemed to take a particularly long time to draw a lot of lines

which prompts the question how do you know when your starting out that your using the right tool for the job , its quite frustrating to write a heap of code only to find that the tool your using doesn't quite do it (line shape!),then you jump on the net and do a bit of homework and start again with a code example that uses create.graphics within a picture box ,and now obviously that wasnt the way forward ,so its time to start again

I see the paint event in the events list I will look into coding within that tomorrow

thank you so much for the advice ,at least I have a place to continue on with (start again)
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Luc Pattyn3-May-09 23:48
sitebuilderLuc Pattyn3-May-09 23:48 
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Christian Graus4-May-09 0:04
protectorChristian Graus4-May-09 0:04 
GeneralRe: can picture boxes be mathmatically different then they appear [modified] Pin
Wankel Maggot4-May-09 0:18
Wankel Maggot4-May-09 0:18 
GeneralRe: can picture boxes be mathmatically different then they appear Pin
Dave Kreskowiak4-May-09 2:03
mveDave Kreskowiak4-May-09 2:03 
QuestionWhich libray will be used in Visual Basic 6 [modified] Pin
M Riaz Bashir3-May-09 20:11
M Riaz Bashir3-May-09 20:11 
AnswerRe: Which libray will be used in Visual Basic 6 Pin
Christian Graus3-May-09 22:20
protectorChristian Graus3-May-09 22:20 
AnswerRe: Which libray will be used in Visual Basic 6 Pin
Tiyani Miyambo4-May-09 0:27
Tiyani Miyambo4-May-09 0:27 
AnswerRe: Which libray will be used in Visual Basic 6 Pin
Johan Hakkesteegt4-May-09 1:24
Johan Hakkesteegt4-May-09 1:24 
AnswerRe: Which libray will be used in Visual Basic 6 Pin
Baran M4-May-09 1:25
Baran M4-May-09 1:25 
AnswerRe: Which libray will be used in Visual Basic 6 Pin
Dave Kreskowiak4-May-09 2:00
mveDave Kreskowiak4-May-09 2:00 
Questionurgent help required .. How to remove XMLNS namespace in child nodes (urgent) Pin
Member 61613673-May-09 19:53
Member 61613673-May-09 19:53 
AnswerRe: urgent help required .. How to remove XMLNS namespace in child nodes (urgent) Pin
Christian Graus3-May-09 22:21
protectorChristian Graus3-May-09 22:21 
GeneralRe: urgent help required .. How to remove XMLNS namespace in child nodes (urgent) Pin
Member 61613673-May-09 23:28
Member 61613673-May-09 23:28 
QuestionDisplay the Excel Book in Vb.Net. Pin
Nanda_MR3-May-09 19:07
Nanda_MR3-May-09 19:07 
QuestionCommunicate over ethernet port (VS2005, Vista) Pin
Chun23-May-09 13:27
Chun23-May-09 13:27 
AnswerRe: Communicate over ethernet port (VS2005, Vista) Pin
Dave Kreskowiak4-May-09 1:57
mveDave Kreskowiak4-May-09 1:57 
Questionip adress Pin
andreas_6352-May-09 23:43
andreas_6352-May-09 23:43 

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.