Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#1305976 06/15/05 02:58 AM
Joined: Jul 2001
Posts: 2,728
R
RyeLou Offline OP
Hard-core CEG\'er
OP Offline
Hard-core CEG\'er
R
Joined: Jul 2001
Posts: 2,728
So moxnix sent me a few PM's giving me some hints/tips on my VB.Net homework. I've spent the last 4 hours doing code that would take a VB.Net veteran about a half hour tops, if that. I just [censored] closed everything I had open on accident, and of course I didn't save it. Of the 5 I need for tomorrow morning, I now have 1 done (which doesn't work right at that), and the other 4 I have nothing. I'm so pissed I don't even know what to do. I don't think I could stay sane and redo it all


'03 SRT-4 50 trim turbo + support
#1305977 06/15/05 03:23 AM
Joined: Nov 2002
Posts: 625
T
Veteran CEG\'er
Offline
Veteran CEG\'er
T
Joined: Nov 2002
Posts: 625
I...dont, um, even know what that means. [Ron Burgandy Voice] "You know i dont speak spanish!"


...but if it helps, go punch something. Maybe a door, wall, or michael jackson picture!


98 SVT #1652 of 6535 My SVT "If everything seems to be going well, you obviously don't know what the hell is going on."
#1305978 06/15/05 03:38 AM
Joined: Dec 2003
Posts: 4,155
P
Hard-core CEG\'er
Offline
Hard-core CEG\'er
P
Joined: Dec 2003
Posts: 4,155
Oh GOD don't remind me of VB. So sorry man, I feel the anger. I can't remember how many times that happened to me for labs.

Well, my final project had a quality GUI but the code was erroneous on two forms. I still passed with a B+ though.

What exactly was it you were doing? I have a lot of saved projects you might be able to "borrow" code from.. PM me.

edit, crap, I didnt realize you were talking VB.Net Theyre different, arent they?

Last edited by Pre98; 06/15/05 03:39 AM.
#1305979 06/15/05 03:38 AM
Joined: Feb 2004
Posts: 7,392
M
Addicted CEG\'er
Offline
Addicted CEG\'er
M
Joined: Feb 2004
Posts: 7,392
time for some food, caffine, and red bulls for the final stretch.

good luck ryan!!


02 Mustang GT... Tuned by Nelsons. Low 12's, anyone? .....______ ___|______\_____ |/-\_________/-\_| .\_/...............\_/
#1305980 06/15/05 03:46 AM
Joined: May 2002
Posts: 21,653
K
I have no life
Offline
I have no life
K
Joined: May 2002
Posts: 21,653
Crystal meth.


98.5 SVT 91 Escort GT (almost sold) 96 ATX Zetec (i brake to watch you swerve) FS: SVT rear sway bar WTB: Very cheap beater CEG Dragon Run - October 13-15
#1305981 06/15/05 03:48 AM
Joined: Jul 2001
Posts: 2,728
R
RyeLou Offline OP
Hard-core CEG\'er
OP Offline
Hard-core CEG\'er
R
Joined: Jul 2001
Posts: 2,728
Originally posted by MxRacerCamXXXL:
time for some food, caffine, and red bulls for the final stretch.

good luck ryan!!



[censored] that dude, i'm done.

someone in my position could take two routes
Route A: stay up all night and rewrite 5 different programs to get a 90%
Route B: make a program that calculates what my potential grade would be assuming a 0 on this homework with a variety of grades on the final exam.


'03 SRT-4 50 trim turbo + support
#1305982 06/15/05 03:51 AM
Joined: Feb 2004
Posts: 7,392
M
Addicted CEG\'er
Offline
Addicted CEG\'er
M
Joined: Feb 2004
Posts: 7,392
lmao!! i can't tell you how many times i did that at state.


lol....


02 Mustang GT... Tuned by Nelsons. Low 12's, anyone? .....______ ___|______\_____ |/-\_________/-\_| .\_/...............\_/
#1305983 06/15/05 03:51 AM
Joined: Dec 2003
Posts: 4,155
P
Hard-core CEG\'er
Offline
Hard-core CEG\'er
P
Joined: Dec 2003
Posts: 4,155
It depends. Does it come naturally or do you have to strain yourself (like I had) to write code? If you need to reduce cranium swelling more than 10 minutes between code.. I suggest you sleep and cram that sh%t an hour early in the morning. At least get two done on time, eh?

Just tryin' to help

#1305984 06/15/05 03:54 AM
Joined: Sep 2003
Posts: 1,303
D
Hard-core CEG\'er
Offline
Hard-core CEG\'er
D
Joined: Sep 2003
Posts: 1,303
what is the project? maybe someone can help
also have you checked out www.planetsourcecode.com ?


Goonz12: <---tries on mommy's cloths
#1305985 06/15/05 03:58 AM
Joined: Jul 2001
Posts: 2,728
R
RyeLou Offline OP
Hard-core CEG\'er
OP Offline
Hard-core CEG\'er
R
Joined: Jul 2001
Posts: 2,728
This is the whole thing that I have left, but I don't want to ask any of you guys to sit there and do my homework. I realize its my fault that I closed the program, and I couldn't ask for this anyhow. (Would be pretty bad ass though...) And before anyone asks...no, its not very complex code, but for a 1st class in programming and cramming it all into 2 months, we learned an ass load, so yes...it is hard.

1) Your form should have 4 command buttons on it.
a) Write btnFill_Click to fill a form level array (1 to 100) with random numbers of values between 1 and 100.
b) Write btnAvg_CLick to give the average value of the numbers in the array with a message box.
c) Write btnMin_Click to give the minimum value in the array with a message box.
d) Write btnNumber_click to prompt the user with an inputbox for a number between 1 and 100. Then tell the user with a message box the number of times that number is in the array.




2) Put 3 labeled text boxes on the form (txtShoe, txtDesigner and txtPrice), a list box, and two command buttons.
a) Declare a InventoryStructureType with members
i) Shoe as String
ii) Designer as String
iii) Price as Double

b) Declare a form level Variable Inventory of InventoryStructuretype
c) When the user clicks the command button btnRecord, store the information from these three text boxes into Inventory variable.
d) When the user clicks the command button btnPrint, use the data in Inventory, print the following in the list box, substituting in their shoe name for <name> and designer name for <designer>
i) If price < 20 then print <name> ΓΆβ?¬Ε? shoes - Reasonable Price for Kids, by designer ΓΆβ?¬Ε? <designer>
ii) If price >= 20 and Price<75 then print <name> ΓΆβ?¬Ε? shoes - Over Priced for Kids, by designer ΓΆβ?¬Ε? <designer>
iii) If price >= 75 then print <name> ΓΆβ?¬Ε? shoes - In their dreams prices, by designer ΓΆβ?¬Ε? <designer>




4) When the user clicks bntAppendFile do the following:
a) Test for the existence of the file Names.txt
i) If it exists Open for append
ii) If it does not exist Create the file, and use msgbox to tell user you created the file.
b) Using a loop, prompt the user for a name to save in the file.
c) Write the name to the file
d) When the user enters an empty string, close the file.
e) Add a second button to the form that will print out the names in the file to a listbox. Make sure you close the file after you print out the names in the list box.



5) When the user clicks btnCreateFile do the following:
a) Open the file ReportIn.txt, that contains the following information IN THIS FORMAT (csv)
January, 2400, 38000
February, 2000, 36500
March, 1900, 42250
i) Read this data into a structure, one at a time. The structure should have 3 fields,
(1) Month as string
(2) Account as Integer
(3) Amount as Double
ii) Open a file for output, ReportOut.txt.
(1) Write only the Amounts, formatted for currency into the file, one at a time.
(2) Write the total sum of the Amounts last into the file.
iii) Close the files.


'03 SRT-4 50 trim turbo + support
Page 1 of 2 1 2

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5