Click here to Skip to main content
15,893,161 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Invalid DNS record Pin
Dave Kreskowiak30-Dec-05 2:34
mveDave Kreskowiak30-Dec-05 2:34 
GeneralRe: Invalid DNS record Pin
fegf30-Dec-05 3:16
fegf30-Dec-05 3:16 
GeneralRe: Invalid DNS record Pin
Dave Kreskowiak30-Dec-05 4:08
mveDave Kreskowiak30-Dec-05 4:08 
QuestionHow to tell if File.Open fails? Please help Pin
chiyinhk29-Dec-05 22:41
chiyinhk29-Dec-05 22:41 
AnswerRe: How to tell if File.Open fails? Please help Pin
Dave Kreskowiak30-Dec-05 2:30
mveDave Kreskowiak30-Dec-05 2:30 
QuestionHow to find whether a cable is connected to USB port? Pin
Sushmadm29-Dec-05 22:00
Sushmadm29-Dec-05 22:00 
QuestionDrag and Drop Pin
Deemo29-Dec-05 20:07
Deemo29-Dec-05 20:07 
AnswerRe: Drag and Drop Pin
Gerben Jongerius29-Dec-05 23:27
Gerben Jongerius29-Dec-05 23:27 
You need to know two things for this. The coordinate system of .Net is based upon the container you drop something on. This means if you hit on a button you will get the coordinates relative to its top left corner.

However the drag & drop coordinates are absolute, thus from the top left corner of the desktop. To get the coordinates for the drop you will need to translate them to relative coordinates. You can do this with PointToScreen and PointToClient. If correct this should solve you're problem.

Related documentation:
PointToClient
PointToScreen
GeneralRe: Drag and Drop Pin
Deemo30-Dec-05 9:50
Deemo30-Dec-05 9:50 
QuestionHow to specify 2 buttonState in ControlPaint.DrawCheckBox Pin
merlynml29-Dec-05 17:27
merlynml29-Dec-05 17:27 
AnswerRe: How to specify 2 buttonState in ControlPaint.DrawCheckBox Pin
Mohammed Faci29-Dec-05 17:45
Mohammed Faci29-Dec-05 17:45 
GeneralRe: How to specify 2 buttonState in ControlPaint.DrawCheckBox Pin
merlynml29-Dec-05 19:04
merlynml29-Dec-05 19:04 
Questionaccess random Pin
militiaware29-Dec-05 13:49
militiaware29-Dec-05 13:49 
AnswerRe: access random Pin
Brian Van Beek29-Dec-05 15:48
Brian Van Beek29-Dec-05 15:48 
Questionset picture as desktop wallpaper Pin
militiaware29-Dec-05 13:45
militiaware29-Dec-05 13:45 
AnswerRe: set picture as desktop wallpaper Pin
[Marc]29-Dec-05 15:43
[Marc]29-Dec-05 15:43 
QuestionProblems with detecting object type Pin
Hmmkk29-Dec-05 11:16
Hmmkk29-Dec-05 11:16 
GeneralRe: Problems with detecting object type Pin
Hmmkk29-Dec-05 12:01
Hmmkk29-Dec-05 12:01 
AnswerRe: Problems with detecting object type Pin
Dave Kreskowiak29-Dec-05 13:00
mveDave Kreskowiak29-Dec-05 13:00 
QuestionSQL - Convert String to Date Pin
dptalt29-Dec-05 10:35
dptalt29-Dec-05 10:35 
AnswerRe: SQL - Convert String to Date Pin
Michael Flanakin29-Dec-05 12:40
Michael Flanakin29-Dec-05 12:40 
QuestionProblems with File System Watcher and File.Copy() Pin
chiyinhk29-Dec-05 7:36
chiyinhk29-Dec-05 7:36 
AnswerRe: Problems with File System Watcher and File.Copy() Pin
Dave Kreskowiak29-Dec-05 12:48
mveDave Kreskowiak29-Dec-05 12:48 
QuestionWhat is wrong with this connectionstring definition? Pin
JUNEYT29-Dec-05 4:25
JUNEYT29-Dec-05 4:25 
AnswerRe: What is wrong with this connectionstring definition? Pin
Michael Flanakin29-Dec-05 5:21
Michael Flanakin29-Dec-05 5: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.