Click here to Skip to main content
16,011,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProcess has Exited - Error Occured Pin
vasu_rk25-Apr-07 2:43
vasu_rk25-Apr-07 2:43 
AnswerRe: Process has Exited - Error Occured Pin
Dave Kreskowiak25-Apr-07 4:27
mveDave Kreskowiak25-Apr-07 4:27 
QuestionEquivalent of "Break on All Errors" in VB.NET Pin
pra.net25-Apr-07 2:33
pra.net25-Apr-07 2:33 
AnswerRe: Equivalent of "Break on All Errors" in VB.NET Pin
Dave Sexton25-Apr-07 3:53
Dave Sexton25-Apr-07 3:53 
AnswerRe: Equivalent of "Break on All Errors" in VB.NET Pin
Dave Kreskowiak25-Apr-07 4:25
mveDave Kreskowiak25-Apr-07 4:25 
AnswerRe: Equivalent of "Break on All Errors" in VB.NET Pin
TwoFaced25-Apr-07 6:26
TwoFaced25-Apr-07 6:26 
QuestionSystem.Diagnosis.Process Set Bounds Pin
_mubashir25-Apr-07 1:41
_mubashir25-Apr-07 1:41 
AnswerRe: System.Diagnosis.Process Set Bounds Pin
Dave Kreskowiak25-Apr-07 4:20
mveDave Kreskowiak25-Apr-07 4:20 
You can't tell it which monitor to start on. An application will always show up on the primary monitor, then you move it to the monitor you want. The exception to this is if the application was run before and it saved it's last position, before it closed, so that it can recreate it's window in that same position the next time it runs.

So, you're only choice is to launch the application, get it's window handle, by calling the Win32 API function FindWindow, then sending the appropriate window messages to that handle to move it to the desktop coordinates on the next monitor.


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


Questioncopy line from one text file and paste it to anoyher text file Pin
pankajs3k25-Apr-07 0:55
pankajs3k25-Apr-07 0:55 
AnswerRe: copy line from one text file and paste it to anoyher text file Pin
Christian Graus25-Apr-07 1:47
protectorChristian Graus25-Apr-07 1:47 
Questionblocking account Pin
peteyshrew25-Apr-07 0:51
peteyshrew25-Apr-07 0:51 
AnswerRe: blocking account Pin
Dave Kreskowiak25-Apr-07 4:15
mveDave Kreskowiak25-Apr-07 4:15 
QuestionError in the url Pin
n_gchaitra25-Apr-07 0:03
n_gchaitra25-Apr-07 0:03 
AnswerRe: Error in the url Pin
Psycho-*Coder*-Extreme25-Apr-07 2:30
Psycho-*Coder*-Extreme25-Apr-07 2:30 
GeneralRe: Error in the url Pin
n_gchaitra25-Apr-07 16:58
n_gchaitra25-Apr-07 16:58 
QuestionRe: Error in the url Pin
n_gchaitra25-Apr-07 18:38
n_gchaitra25-Apr-07 18:38 
QuestionHow to convert VB.net dll to be visible in vb6.0 Pin
cyprosoft24-Apr-07 22:11
cyprosoft24-Apr-07 22:11 
AnswerRe: How to convert VB.net dll to be visible in vb6.0 Pin
Christian Graus25-Apr-07 1:47
protectorChristian Graus25-Apr-07 1:47 
Questiondata view related query Pin
Anz Ananz24-Apr-07 22:05
Anz Ananz24-Apr-07 22:05 
AnswerRe: data view related query Pin
Pankaj.Jain24-Apr-07 22:33
professionalPankaj.Jain24-Apr-07 22:33 
Questionhow to use image edit in vb. net ? Pin
babusat24-Apr-07 21:59
babusat24-Apr-07 21:59 
AnswerRe: how to use image edit in vb. net ? Pin
Dave Kreskowiak25-Apr-07 4:02
mveDave Kreskowiak25-Apr-07 4:02 
GeneralRe: how to use image edit in vb. net ? Pin
babusat25-Apr-07 17:29
babusat25-Apr-07 17:29 
GeneralRe: how to use image edit in vb. net ? Pin
Dave Kreskowiak26-Apr-07 13:39
mveDave Kreskowiak26-Apr-07 13:39 
Questionaccess denied error Pin
alpdoruk24-Apr-07 21:38
alpdoruk24-Apr-07 21:38 

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.