Click here to Skip to main content
15,913,773 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMDI Child changes size Pin
PabloGM20-Sep-07 4:02
PabloGM20-Sep-07 4:02 
AnswerRe: MDI Child changes size Pin
Dave Kreskowiak20-Sep-07 5:42
mveDave Kreskowiak20-Sep-07 5:42 
GeneralRe: MDI Child changes size Pin
PabloGM20-Sep-07 6:33
PabloGM20-Sep-07 6:33 
GeneralRe: MDI Child changes size Pin
Dave Kreskowiak20-Sep-07 7:31
mveDave Kreskowiak20-Sep-07 7:31 
GeneralRe: MDI Child changes size Pin
Dave Kreskowiak20-Sep-07 12:38
mveDave Kreskowiak20-Sep-07 12:38 
GeneralRe: MDI Child changes size Pin
PabloGM21-Sep-07 8:01
PabloGM21-Sep-07 8:01 
QuestionIm not sure what to call this, but i need help... Pin
alindsay8120-Sep-07 4:00
alindsay8120-Sep-07 4:00 
AnswerRe: Im not sure what to call this, but i need help... Pin
Tom Deketelaere20-Sep-07 5:17
professionalTom Deketelaere20-Sep-07 5:17 
this is on way (probably not the best but...)

put a timer on the form with as interval the smallest amount the user can give in (probably 1min)

in the timer_tick event put the following

'getting the current minute

dim d as double = date.now.minute
d = d/15 'userinput of minutes goes here
dim s as string = d

'check to see if s contains a ',' or '.' (depends on the regional settings I think)

if not s.contains(",") andalso not s.contains(".") then
'do whatever you want to happen
end if

why the check for ',' or '.' well if you do the calculation from the minutes / interval the result has to be an even number if its not then it's not time yet
example :
with 15
20/15=1,333333333...
30/15=2
40/15=2,666666...

with 6
35/6=5,833333....
12/6=2
46/67,66666...

you get the point right

hope it helps

ps: this is .net code so you might need to change it a bit

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistaks.

GeneralRe: Im not sure what to call this, but i need help... Pin
Dave Kreskowiak20-Sep-07 5:31
mveDave Kreskowiak20-Sep-07 5:31 
GeneralRe: Im not sure what to call this, but i need help... Pin
Tom Deketelaere20-Sep-07 6:21
professionalTom Deketelaere20-Sep-07 6:21 
AnswerRe: Im not sure what to call this, but i need help... Pin
Dave Kreskowiak20-Sep-07 5:27
mveDave Kreskowiak20-Sep-07 5:27 
AnswerRe: Im not sure what to call this, but i need help... Pin
srone20-Sep-07 5:41
srone20-Sep-07 5:41 
GeneralRe: Im not sure what to call this, but i need help... Pin
Dave Kreskowiak20-Sep-07 6:00
mveDave Kreskowiak20-Sep-07 6:00 
GeneralRe: Im not sure what to call this, but i need help... Pin
srone20-Sep-07 6:14
srone20-Sep-07 6:14 
JokeRe: Im not sure what to call this, but i need help... Pin
Luc Pattyn20-Sep-07 13:23
sitebuilderLuc Pattyn20-Sep-07 13:23 
AnswerRe: Im not sure what to call this, but i need help... Pin
alindsay8121-Sep-07 22:53
alindsay8121-Sep-07 22:53 
GeneralRe: Im not sure what to call this, but i need help... Pin
alindsay8121-Sep-07 23:25
alindsay8121-Sep-07 23:25 
AnswerRe: telnet connection Pin
Dave Kreskowiak20-Sep-07 5:24
mveDave Kreskowiak20-Sep-07 5:24 
AnswerRe: dll file adding Pin
Dave Kreskowiak20-Sep-07 5:20
mveDave Kreskowiak20-Sep-07 5:20 
QuestionDisplayng a menu when user right clicks Pin
VB 8.020-Sep-07 3:03
VB 8.020-Sep-07 3:03 
AnswerRe: Displayng a menu when user right clicks Pin
Dave Kreskowiak20-Sep-07 5:15
mveDave Kreskowiak20-Sep-07 5:15 
GeneralRe: Displayng a menu when user right clicks for dynamic control Pin
VB 8.021-Sep-07 2:14
VB 8.021-Sep-07 2:14 
GeneralRe: Displayng a menu when user right clicks for dynamic control Pin
Dave Kreskowiak21-Sep-07 11:58
mveDave Kreskowiak21-Sep-07 11:58 
GeneralRe: Displayng a menu when user right clicks for dynamic control Pin
VB 8.024-Sep-07 0:34
VB 8.024-Sep-07 0:34 
GeneralCut,Copy,Paste for a dynamic control using the contextmenustrip Pin
VB 8.024-Sep-07 1:13
VB 8.024-Sep-07 1:13 

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.