Click here to Skip to main content
15,890,670 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Save a Blank Picture box to database Pin
Dave Kreskowiak23-Oct-07 9:14
mveDave Kreskowiak23-Oct-07 9:14 
GeneralRe: Save a Blank Picture box to database Pin
Teddy3223-Oct-07 11:43
Teddy3223-Oct-07 11:43 
GeneralRe: Save a Blank Picture box to database Pin
aransiola23-Oct-07 22:32
aransiola23-Oct-07 22:32 
GeneralRe: Save a Blank Picture box to database Pin
Dave Kreskowiak24-Oct-07 4:22
mveDave Kreskowiak24-Oct-07 4:22 
QuestionWindow Form Location vb.net2005 Pin
aransiola23-Oct-07 8:31
aransiola23-Oct-07 8:31 
AnswerRe: Window Form Location vb.net2005 Pin
Dave Kreskowiak23-Oct-07 9:10
mveDave Kreskowiak23-Oct-07 9:10 
GeneralRe: Window Form Location vb.net2005 Pin
aransiola23-Oct-07 22:27
aransiola23-Oct-07 22:27 
GeneralRe: Window Form Location vb.net2005 Pin
Dave Kreskowiak24-Oct-07 4:29
mveDave Kreskowiak24-Oct-07 4:29 
aransiola wrote:
The listview is on Mdimain window. Now i want the other windows cordinattes to be using the listview cordinates


Since you haven't said anything about the parent container for this second form, I'm assuming you're not setting a parent window for the form. All you have to do is map the location of the ListView to Screen coordinates and use that result as the location for the new form.
Dim newLocation As Point = ListView1.PointToScreen(ListView1.Location)
Dim newForm As New Form2()
newForm.Location = newLocation



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: Window Form Location vb.net2005 Pin
Tom Deketelaere23-Oct-07 20:41
professionalTom Deketelaere23-Oct-07 20:41 
GeneralRe: Window Form Location vb.net2005 Pin
aransiola24-Oct-07 9:34
aransiola24-Oct-07 9:34 
QuestionCode Is Not Working . Pin
Dan Suthar23-Oct-07 6:15
professionalDan Suthar23-Oct-07 6:15 
AnswerRe: Code Is Not Working . Pin
pmarfleet23-Oct-07 6:56
pmarfleet23-Oct-07 6:56 
AnswerRe: Code Is Not Working . Pin
Scott Dorman23-Oct-07 7:12
professionalScott Dorman23-Oct-07 7:12 
GeneralRe: Code Is Not Working . Pin
Dan Suthar24-Oct-07 6:22
professionalDan Suthar24-Oct-07 6:22 
GeneralRe: Code Is Not Working . Pin
Scott Dorman24-Oct-07 12:34
professionalScott Dorman24-Oct-07 12:34 
QuestionText Problem Pin
saldarius23-Oct-07 5:56
saldarius23-Oct-07 5:56 
AnswerRe: Text Problem Pin
pmarfleet23-Oct-07 6:15
pmarfleet23-Oct-07 6:15 
AnswerRe: Text Problem Pin
Scott Dorman23-Oct-07 7:21
professionalScott Dorman23-Oct-07 7:21 
Questionsending data to the printer USing VB6.0 Pin
jkonduru23-Oct-07 5:10
jkonduru23-Oct-07 5:10 
AnswerRe: sending data to the printer USing VB6.0 Pin
Dave Kreskowiak23-Oct-07 5:19
mveDave Kreskowiak23-Oct-07 5:19 
GeneralRe: sending data to the printer USing VB6.0 Pin
jkonduru23-Oct-07 5:24
jkonduru23-Oct-07 5:24 
GeneralRe: sending data to the printer USing VB6.0 Pin
Dave Kreskowiak23-Oct-07 5:32
mveDave Kreskowiak23-Oct-07 5:32 
GeneralRe: sending data to the printer USing VB6.0 Pin
jkonduru23-Oct-07 5:38
jkonduru23-Oct-07 5:38 
GeneralRe: sending data to the printer USing VB6.0 Pin
Dave Kreskowiak23-Oct-07 5:43
mveDave Kreskowiak23-Oct-07 5:43 
GeneralRe: sending data to the printer USing VB6.0 Pin
jkonduru23-Oct-07 5:52
jkonduru23-Oct-07 5:52 

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.