Click here to Skip to main content
15,889,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Stored Procedures Pin
RedDk21-Apr-13 12:52
RedDk21-Apr-13 12:52 
QuestionHow to do this Relationship in Entity Framework using DataAnnotation not Fluent API Pin
ADSCNET18-Apr-13 16:01
ADSCNET18-Apr-13 16:01 
AnswerRe: How to do this Relationship in Entity Framework using DataAnnotation not Fluent API Pin
Richard MacCutchan18-Apr-13 23:03
mveRichard MacCutchan18-Apr-13 23:03 
GeneralRe: How to do this Relationship in Entity Framework using DataAnnotation not Fluent API Pin
ADSCNET19-Apr-13 0:26
ADSCNET19-Apr-13 0:26 
GeneralRe: How to do this Relationship in Entity Framework using DataAnnotation not Fluent API Pin
Richard MacCutchan19-Apr-13 0:45
mveRichard MacCutchan19-Apr-13 0:45 
GeneralRe: How to do this Relationship in Entity Framework using DataAnnotation not Fluent API Pin
ADSCNET19-Apr-13 0:47
ADSCNET19-Apr-13 0:47 
QuestionDouble monitor Pin
NicoTexas17-Apr-13 6:12
NicoTexas17-Apr-13 6:12 
AnswerRe: Double monitor Pin
Eddy Vluggen18-Apr-13 10:28
professionalEddy Vluggen18-Apr-13 10:28 
NicoTexas wrote:
So, does anybody help me Smile | :) ?

Set Top and Left properties to (0,0) and make the size equal to the cumulative width of the screens. Set the height to equal the largest screen. Something similar to below;
VB
Form1.Top = 0
Form1.Left = 0
Form1.Width = Screen.AllScreens(0).Bounds.Width + Screen.AllScreens(1).Bounds.Width
Form1.Height = Screen.PrimaryScreen.Bounds.Height
Form1.ShowDialog()

Works best if both screens are equal in size and resolution; my PC has a left screen that's smaller than the right one. The part that's not visible on the smaller one is still there - it exists in virtual space, and is simply not drawn. Still, it allows you to move a button to a location "beyond" the screen.

If you go to the configuration-screen and look at the display settings (screen resolution), both monitors will be shown, along with two buttons ("Detect" and "Identify") and some settings for the resolution. If your monitors are differently sized, then you can change their virtual location here.

If you want to show a "neat" screen spanning both monitors and still cope with different sizes, I'd suggest using two forms, one for each screen. This approach would be more suitable if you are going to build a screensaver.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionVB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Yazid Aura Robbani15-Apr-13 12:15
professionalYazid Aura Robbani15-Apr-13 12:15 
AnswerRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Eddy Vluggen17-Apr-13 5:09
professionalEddy Vluggen17-Apr-13 5:09 
GeneralRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Yazid Aura Robbani18-Apr-13 10:00
professionalYazid Aura Robbani18-Apr-13 10:00 
QuestionRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Eddy Vluggen18-Apr-13 10:33
professionalEddy Vluggen18-Apr-13 10:33 
AnswerRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Yazid Aura Robbani19-Apr-13 3:06
professionalYazid Aura Robbani19-Apr-13 3:06 
GeneralRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Eddy Vluggen19-Apr-13 6:41
professionalEddy Vluggen19-Apr-13 6:41 
GeneralRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Yazid Aura Robbani21-Apr-13 4:11
professionalYazid Aura Robbani21-Apr-13 4:11 
GeneralRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Eddy Vluggen21-Apr-13 8:32
professionalEddy Vluggen21-Apr-13 8:32 
GeneralRe: VB 2010 : How to make regular appointment using ListView & MonthCalendar? Pin
Yazid Aura Robbani21-Apr-13 17:34
professionalYazid Aura Robbani21-Apr-13 17:34 
QuestionHow to get a string pointer in VB for CE Pin
Member 989133415-Apr-13 1:51
Member 989133415-Apr-13 1:51 
AnswerRe: How to get a string pointer in VB for CE Pin
Eddy Vluggen15-Apr-13 7:33
professionalEddy Vluggen15-Apr-13 7:33 
GeneralRe: How to get a string pointer in VB for CE Pin
dusty_dex17-Apr-13 5:18
dusty_dex17-Apr-13 5:18 
AnswerRe: How to get a string pointer in VB for CE Pin
dusty_dex15-Apr-13 9:44
dusty_dex15-Apr-13 9:44 
GeneralRe: How to get a string pointer in VB for CE Pin
Member 989133416-Apr-13 3:34
Member 989133416-Apr-13 3:34 
QuestionHow to use LPCTSTR in VB6. Pin
Septimus Hedgehog12-Apr-13 6:11
Septimus Hedgehog12-Apr-13 6:11 
AnswerRe: How to use LPCTSTR in VB6. Pin
Eddy Vluggen12-Apr-13 6:37
professionalEddy Vluggen12-Apr-13 6:37 
GeneralRe: How to use LPCTSTR in VB6. Pin
Septimus Hedgehog12-Apr-13 7:43
Septimus Hedgehog12-Apr-13 7: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.