Click here to Skip to main content
15,910,877 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to get data from vb to excel Pin
khan201021-Jun-07 1:19
khan201021-Jun-07 1:19 
QuestionAdjusting Resolutions of applications Pin
v1i9n6o7d21-Jun-07 0:13
v1i9n6o7d21-Jun-07 0:13 
AnswerRe: Adjusting Resolutions of applications Pin
originSH21-Jun-07 0:25
originSH21-Jun-07 0:25 
GeneralRe: Adjusting Resolutions of applications Pin
v1i9n6o7d21-Jun-07 0:32
v1i9n6o7d21-Jun-07 0:32 
GeneralRe: Adjusting Resolutions of applications Pin
originSH21-Jun-07 0:37
originSH21-Jun-07 0:37 
AnswerRe: Adjusting Resolutions of applications Pin
Christian Graus21-Jun-07 0:37
protectorChristian Graus21-Jun-07 0:37 
GeneralRe: Adjusting Resolutions of applications Pin
originSH21-Jun-07 0:38
originSH21-Jun-07 0:38 
AnswerRe: Adjusting Resolutions of applications Pin
Mycroft Holmes21-Jun-07 15:04
professionalMycroft Holmes21-Jun-07 15:04 
I use this to set the form size to a % of the screen size. It does not resize the objects but if you design your form with dock, anchor etc it works fine

Public Shared Sub SetFormSize(ByVal oForm As Form, ByVal nFactor As Decimal)
Try
Dim r As Rectangle = Screen.GetWorkingArea(oForm.Location)
oForm.Top = r.Height * nFactor
oForm.Left = r.Width * nFactor
oForm.Height = r.Height - (r.Height * (nFactor * 2))
oForm.Width = r.Width - (r.Width * (nFactor * 2))
Catch Exc As Exception
Throw Exc
End Try
End Sub

called by

clsUIUtils.SetFormSize(Me, 0.01)

Mark
Coding for the mobile goal posts
QuestionSell vb.net applications Pin
FeRtoll21-Jun-07 0:12
FeRtoll21-Jun-07 0:12 
AnswerRe: Sell vb.net applications Pin
v1i9n6o7d21-Jun-07 0:16
v1i9n6o7d21-Jun-07 0:16 
AnswerRe: Sell vb.net applications Pin
Christian Graus21-Jun-07 0:39
protectorChristian Graus21-Jun-07 0:39 
AnswerRe: Sell vb.net applications Pin
Navneet Hegde21-Jun-07 0:44
Navneet Hegde21-Jun-07 0:44 
AnswerRe: Sell vb.net applications Pin
FeRtoll21-Jun-07 23:44
FeRtoll21-Jun-07 23:44 
Questionhow to set a timetable Pin
saraswathy14320-Jun-07 23:17
saraswathy14320-Jun-07 23:17 
AnswerRe: how to set a timetable Pin
Christian Graus20-Jun-07 23:21
protectorChristian Graus20-Jun-07 23:21 
AnswerRe: how to set a timetable Pin
Vasudevan Deepak Kumar20-Jun-07 23:32
Vasudevan Deepak Kumar20-Jun-07 23:32 
QuestionRecord Locking. Pin
Sonia Gupta20-Jun-07 23:16
Sonia Gupta20-Jun-07 23:16 
AnswerRe: Record Locking. Pin
Christian Graus20-Jun-07 23:47
protectorChristian Graus20-Jun-07 23:47 
QuestionRe: Record Locking. Pin
Sonia Gupta21-Jun-07 0:08
Sonia Gupta21-Jun-07 0:08 
AnswerRe: Record Locking. Pin
Christian Graus21-Jun-07 0:20
protectorChristian Graus21-Jun-07 0:20 
GeneralRe: Record Locking. Pin
Sonia Gupta21-Jun-07 0:26
Sonia Gupta21-Jun-07 0:26 
GeneralRe: Record Locking. Pin
Dave Kreskowiak21-Jun-07 4:37
mveDave Kreskowiak21-Jun-07 4:37 
AnswerRe: Record Locking. Pin
andyharman21-Jun-07 3:05
professionalandyharman21-Jun-07 3:05 
AnswerRe: Record Locking. Pin
AlexeiXX321-Jun-07 4:58
AlexeiXX321-Jun-07 4:58 
QuestionRegistry subitems. Pin
Sonia Gupta20-Jun-07 22:58
Sonia Gupta20-Jun-07 22:58 

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.