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

Visual Basic

 
AnswerRe: COM port Pin
Bharat Jain3-May-09 21:50
Bharat Jain3-May-09 21:50 
GeneralRe: COM port Pin
Subjugate4-May-09 15:00
Subjugate4-May-09 15:00 
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 
Wankel Maggot wrote:
ok well that doesn't really tell me what the issue is


I am not sure why you have an issue with alignment, I suspect that the issue is that you're not correctly working out where the top and left of the picture box is, and so drawing directly on the form will fix that.

Wankel Maggot wrote:
whats wrong with the create graphics


It creates a graphics object out of thin air. It is not called by the WM_PAINT event. Therefore, if you draw your form with it, and then your form gets hidden ( such as being minimised, or another form being dragged over it ), when your form reappears, what you drew will be gone.

Wankel Maggot wrote:
why do they have it if it's so bad i should NEVER use it


It's useful for drawing things you WANT to disappear, such as a rubber band, which is why I said that's where you could use it.

Wankel Maggot wrote:
handle my paint event?


Your form has events, they are listed in the designer, if you click on the little thunderbolt icon. The paint event is where windows tells you form to draw itself, when it is first shown, when it becomes visible after being hidden, etc.

Christian Graus

Driven to the arms of OSX by Vista.

"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

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 
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 

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.