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
#1305986 06/15/05 04:01 AM
Joined: Dec 2002
Posts: 1,165
9
Hard-core CEG\'er
Offline
Hard-core CEG\'er
9
Joined: Dec 2002
Posts: 1,165
OK.

Here is what you do. Cause I've been there.

I'm sure you've already searched the internet to steal code from someone else, so I'm not going to bother suggestting that.

Not sure what the problems are like, but if you can get away with getting some from other students and not being caught. Do it.

Or, and this is probably the best(ethically speaking) route. Explain to your prof what happened and see if they will give you another day. MOST professors will. But I would definitely turn SOMETHING in tomorrow. Don't go in empty handed. Give them an exact time you will have it for them tomorrow, and then make sure you get it to them by that time.

Good Luck!


I live in Detroit, I couldn't give a **** how good my car is in the "twisties." "I could use a hundred people who don't know there is such a word as impossible." ~Henry Ford
#1305987 06/15/05 04:08 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
I like those suggestions 99SVT. I'll probably combine them and ask for another day just for more time to "get help". I've searched the internet, but its such a pain in the ass right now with Comcast. My cable modem craps out about every 2 minutes on average, if that. They're sending someone out on Sunday with a new one, but until then I'm just screwed for using the internet. So my searches go in 2 minute spurts, which usually result in a bunch of nothing


'03 SRT-4 50 trim turbo + support
#1305988 06/15/05 04:24 AM
Joined: Feb 2005
Posts: 562
D
Veteran CEG\'er
Offline
Veteran CEG\'er
D
Joined: Feb 2005
Posts: 562
If they give you another day...look up a drink called Bawls. Bawls is a HIGH caffeine energy drink that is favored by gamers and programmers and will help you stay up and finish them if it comes to that. Remember, Bawls is your friend.


'99 Spruce Green SE "Sport" 'Tour, 2.5L MTX...80K and running like it just rolled off the lot. Tryin' to add an extra .5L ASAP
#1305989 06/15/05 04:49 AM
Joined: Jan 2001
Posts: 3,028
W
Hard-core CEG\'er
Offline
Hard-core CEG\'er
W
Joined: Jan 2001
Posts: 3,028
Originally posted by 99SVT:
OK.

Here is what you do. Cause I've been there.

I'm sure you've already searched the internet to steal code from someone else, so I'm not going to bother suggestting that.

Not sure what the problems are like, but if you can get away with getting some from other students and not being caught. Do it.

Or, and this is probably the best(ethically speaking) route. Explain to your prof what happened and see if they will give you another day. MOST professors will. But I would definitely turn SOMETHING in tomorrow. Don't go in empty handed. Give them an exact time you will have it for them tomorrow, and then make sure you get it to them by that time.

Good Luck!




99SVT has it. Explain it to the professor. The worst he could do is call you a liar...

Just think man, what if you had been a Microsoft programmer, and were like two lines of code away from completing Windows 2Million and went to get some coffee and on getting up, you touched the ESC button (somehow) and poof, it's all gone...At least it's just a grade...


www.geocities.com/jesusfr7282000 Biblical principles work, there are no exceptions. 99 Suburban 03 Silverado 70 Skylark 79 Electra
#1305990 06/15/05 05:02 AM
Joined: Nov 2003
Posts: 1,341
S
Hard-core CEG\'er
Offline
Hard-core CEG\'er
S
Joined: Nov 2003
Posts: 1,341
Quick! Grab the closest bowl or bong. Pack. Smoke. I bet you'll be alot more relaxed and will be able to think of a brilliant solution.


Previous Owner of: 1998 CSVT Black # 2923/6535 Born: 08/12/97 http://community.webshots.com/user/svtcontoursvt
#1305991 06/15/05 05:59 AM
Joined: May 2005
Posts: 624
O
OB1 Offline
Veteran CEG\'er
Offline
Veteran CEG\'er
O
Joined: May 2005
Posts: 624
Originally posted by SVTcontourSVT:
Quick! Grab the closest bowl or bong. Pack. Smoke. I bet you'll be alot more relaxed and will be able to think of a brilliant solution.




Good answer!


I don't "mod" I just fix what breaks! 98 CSVT #2527 T-Red (Limping) 98 CSVT #2228 T-Red (Donor) 98 SE Sport ATX V6 (Running again) If swimming is good for your figure, explain whales to me!
Page 1 of 2 1 2

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