Click here to Skip to main content
15,891,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do you get environment params assigned to a user who's not logged in? Pin
Mycroft Holmes24-Feb-08 20:03
professionalMycroft Holmes24-Feb-08 20:03 
Generalobject linked Collection Pin
Eli Nurman24-Feb-08 9:07
Eli Nurman24-Feb-08 9:07 
GeneralRe: object linked Collection Pin
Mycroft Holmes24-Feb-08 20:06
professionalMycroft Holmes24-Feb-08 20:06 
QuestionCalculations on Input Form Pin
IvanIT24-Feb-08 4:57
IvanIT24-Feb-08 4:57 
GeneralRe: Calculations on Input Form Pin
Luc Pattyn24-Feb-08 5:06
sitebuilderLuc Pattyn24-Feb-08 5:06 
QuestionRe: Calculations on Input Form Pin
IvanIT24-Feb-08 5:12
IvanIT24-Feb-08 5:12 
GeneralRe: Calculations on Input Form Pin
Luc Pattyn24-Feb-08 5:28
sitebuilderLuc Pattyn24-Feb-08 5:28 
GeneralRe: Calculations on Input Form Pin
IvanIT24-Feb-08 7:39
IvanIT24-Feb-08 7:39 
Just wanted to close the loop on this; I got it working as desired. Thanks Luc.

Private Sub updTime1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles updTime1.ValueChanged, updTime2.ValueChanged, _
updTime3.ValueChanged, updTime4.ValueChanged

Dim TimeWorked As Decimal
Dim Time1 = Convert.ToDecimal(updTime1.Text)
Dim Time2 = Convert.ToDecimal(updTime2.Text)
Dim Time3 = Convert.ToDecimal(updTime3.Text)
Dim Time4 = Convert.ToDecimal(updTime4.Text)
Dim Rest As Decimal

TimeWorked = Time1 + Time2 + Time3 + Time4

'unallocated time across projects
Rest = (100 - TimeWorked) / 100

If Rest > 0 Then
Me.lblMessage.Text = FormatPercent(Rest) & " of your Time is still unallocated."
Else
Me.lblMessage.Text = ""

End If

End Sub
GeneralRe: Calculations on Input Form Pin
Luc Pattyn24-Feb-08 7:52
sitebuilderLuc Pattyn24-Feb-08 7:52 
GeneralRe: Calculations on Input Form Pin
Mycroft Holmes24-Feb-08 20:13
professionalMycroft Holmes24-Feb-08 20:13 
GeneralRe: Calculations on Input Form Pin
Luc Pattyn25-Feb-08 2:07
sitebuilderLuc Pattyn25-Feb-08 2:07 
GeneralChoosing a Default Date in a Date Time Picker Pin
AAGTHosting23-Feb-08 14:17
AAGTHosting23-Feb-08 14:17 
GeneralRe: Choosing a Default Date in a Date Time Picker Pin
Christian Graus23-Feb-08 14:32
protectorChristian Graus23-Feb-08 14:32 
GeneralRe: Choosing a Default Date in a Date Time Picker Pin
darkelv23-Feb-08 18:26
darkelv23-Feb-08 18:26 
General"Snap" to other forms with UpdateLayeredWindow and WndProc Pin
winmedia23-Feb-08 9:29
winmedia23-Feb-08 9:29 
Questionsimulated table Pin
Aaliyaa23-Feb-08 5:52
Aaliyaa23-Feb-08 5:52 
GeneralRe: simulated table Pin
Christian Graus23-Feb-08 10:51
protectorChristian Graus23-Feb-08 10:51 
GeneralArray Pin
Dave McCool23-Feb-08 5:27
Dave McCool23-Feb-08 5:27 
GeneralRe: Array Pin
User 27100923-Feb-08 10:20
User 27100923-Feb-08 10:20 
GeneralRe: Array Pin
Dave McCool18-Apr-08 3:41
Dave McCool18-Apr-08 3:41 
GeneralPlaying stream by windows media player com object Pin
Areff23-Feb-08 2:13
Areff23-Feb-08 2:13 
GeneralRe: Playing stream by windows media player com object Pin
Dave Kreskowiak23-Feb-08 4:57
mveDave Kreskowiak23-Feb-08 4:57 
GeneralRe: Playing stream by windows media player com object Pin
Areff23-Feb-08 19:13
Areff23-Feb-08 19:13 
GeneralRe: Playing stream by windows media player com object Pin
Dave Kreskowiak24-Feb-08 8:50
mveDave Kreskowiak24-Feb-08 8:50 
GeneralRe: Playing stream by windows media player com object Pin
The_Badman25-Feb-08 10:11
The_Badman25-Feb-08 10:11 

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.