December 16th, 2005, 01:05 PM
#1
need help with a program...gremlinsa help again!!!
Hi, I need help with a program again. I am having trouble writing it.. here are the instructions..
The sun rises every morning and sets every night. There is a certain time during the day that is halfway in between called high noon. Your job is to write a program where you enter the times in minutes and hours for sunrise and sunset. Then you must determine when high noon is. Aumme that the data is correct, the form below shows how your data might look
sunrise am:
Sunset pm"
High noon is at.....
calculate
If someone can help me write this please let me knwo..!!!Gremlin Sa you helped me before if you see this please help again
December 16th, 2005, 01:24 PM
#2
Re: need help with a program...gremlinsa help again!!!
I'll look into this one. Can you post the entry format and the output format IE Sunrise Time in HH:MM or HH in one textbox , MM in another ??
The calculation would be 1/2 of Time diference + Sunrise time... do I assume right - Is it given ???..
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
December 16th, 2005, 01:26 PM
#3
Re: need help with a program...gremlinsa help again!!!
Yea the hours and minutes are in two seperate text boxes.. thank you so much.. ive been sittin here trying to do this for the past hour
December 16th, 2005, 01:32 PM
#4
Re: need help with a program...gremlinsa help again!!!
Gremlin.. here is the form i was using...
Attached Files
December 16th, 2005, 01:32 PM
#5
Re: need help with a program...gremlinsa help again!!!
Is my assumption about the Calculation correct.. or is it not given ???
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
December 16th, 2005, 01:32 PM
#6
Re: need help with a program...gremlinsa help again!!!
The calculation was not given, but the calculation you did for me was the same one i came upw ith also..
December 16th, 2005, 01:33 PM
#7
Re: need help with a program...gremlinsa help again!!!
The example give was as follows
Sunrise (am) 7:08
Sunset (pm) 8:30
High noon is at 1:49 pm
(when calculated.)
December 16th, 2005, 01:37 PM
#8
Re: need help with a program...gremlinsa help again!!!
Originally Posted by
sharib0816
The example give was as follows
Sunrise (am) 7:08
Sunset (pm) 8:30
High noon is at 1:49 pm
(when calculated.)
Must the time be in Am/Pm format or can we use the 24 hour Clock ???
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
December 16th, 2005, 01:39 PM
#9
Re: need help with a program...gremlinsa help again!!!
AM/PM format... since the answer must say whether it is am or pm for the answer
December 16th, 2005, 01:43 PM
#10
Re: need help with a program...gremlinsa help again!!!
Okay .. You Know the Drill .. Post what you got... And i will help you sort it out..
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
December 16th, 2005, 01:47 PM
#11
Re: need help with a program...gremlinsa help again!!!
Its not much, im really stuck on what to do, but here it is...
Attached Files
December 16th, 2005, 01:49 PM
#12
Re: need help with a program...gremlinsa help again!!!
Do you have any idea on how to do this??? cause what you did for me last time was such a great help, i didnt hand in what you gave me, i changed the stuff so it was in my wording, but it worked out great.. I dont knwo how you are so good at this, but it is amazing because for you to be able to help me out like thsi you have no idea how much i appreciate it.
December 16th, 2005, 01:56 PM
#13
Re: need help with a program...gremlinsa help again!!!
Give me a few minutes to work things out..
Post for you as soon as i have something..
Gremmy..
Ps.. I do know how to do this... Very simular code to the last one..
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
December 16th, 2005, 01:57 PM
#14
Re: need help with a program...gremlinsa help again!!!
Thank you so much... ill be here.. :-)
December 16th, 2005, 02:26 PM
#15
Re: need help with a program...gremlinsa help again!!!
Originally Posted by
sharib0816
Sunrise (am) 7:08
Sunset (pm) 8:30
High noon is at 1:49 pm
Is this right ??? I'm getting 2:49 PM in my calculations ???
Gremmy??
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width