Willing To Pay Gil For Visual Basics Help Lol

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Servers » Odin » willing to pay gil for visual basics help lol
willing to pay gil for visual basics help lol
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-11 15:43:39
Link | Quote | Reply
 
need some thing done tonight and cant figure it out anyone wana make a million gil.


i need to make a grade calculator in vb. needs to store a max of ten grades using a text box for input a botton for storing , then botton number 2 needs to average the grades and dispaly results along with number of grades above the average in textbox #2 lol
lets say i hate programming and after i finish this class willnever open vb again
Offline
Posts: 14020
By Quiznor 2013-04-11 15:50:09
Link | Quote | Reply
 
Pretty sure this isnt allowed~
[+]
 Siren.Mosin
Offline
Server: Siren
Game: FFXI
user: BKiddo
By Siren.Mosin 2013-04-11 15:50:42
Link | Quote | Reply
 
Quiznor said: »
Pretty sure this isnt allowed~

what are you, uptight?
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-11 15:52:43
Link | Quote | Reply
 
what isnt allowed offering game money for real life help. if i was trying to sell real life help for game money i can see the issue
 Siren.Mosin
Offline
Server: Siren
Game: FFXI
user: BKiddo
By Siren.Mosin 2013-04-11 15:59:37
Link | Quote | Reply
 
Odin.Kazander said: »
what isnt allowed offering game money for real life help. if i was trying to sell real life help for game money i can see the issue

If you weren't so wildly vague, you might get an answer here for free.

I think Quiz was making a joke as to how this is probably sexual in nature.
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-11 16:05:49
Link | Quote | Reply
 
ok first off simple questions doesnt work, i need to make a grade calculator in vb. needs to store a max of ten grades using a text box for input a botton for storing , then botton number 2 needs to average the grades and dispaly results along with number of grades above the average in textbox #2 lol
lets say i hate programming and after i finish this class willnever open vb again
 Siren.Mosin
Offline
Server: Siren
Game: FFXI
user: BKiddo
By Siren.Mosin 2013-04-11 16:09:12
Link | Quote | Reply
 
there ya go, you might get a bite now that people know wtf you're talking about.

I'm no good with programming so.....

good luck!
 Cerberus.Kvazz
Offline
Server: Cerberus
Game: FFXI
user: kvazz
Posts: 5345
By Cerberus.Kvazz 2013-04-11 16:15:59
Link | Quote | Reply
 
Should edit that into the OP so people don't have to read down to see if they can help or not
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-04-11 16:17:00
Link | Quote | Reply
 
Hmm, doesn't sound too bad. I don't have VB installed anymore, and it's been forever since I've done anything like that, but try something like this:

(Please note: I forgot how to reference variables inside an object >_>; such as textbox numbers D: As such, anything with a $ preceding it, will be a var :P)


Code
--VARS--
	dim grades[10] as int '10 Grades
	dim average as int 'store average of 10 grades
	dim loop as int 'loop counter

---
CMD_GRADEINPUT
	loop=1 'start loop for adding grades
	while loop =< 10 'repeat for 10 grades - 1,2,3,4,5,6,7,8,9,10
		grades[$loop] = int(textbox_$loop.text)
		loop++
	end while
	loop=1 'reset loop to #1
	
	label1.caption="Grade #" & loop & " = " & grades[$loop]
	
	
CMD_AVERAGEGRADE
	average=0 'blank average
	loop=1 'reset loop to #1, just in case
	while loop =< 10 'initiate loop
		average= average+grades[$loop]
		loop++
	end while
	average=(average/10)
	loop=1
	
	label2.caption="Average Grade: " & average
	



Like I said, it's been years since I've done any VB and this is probably wrong, but it should at least give you an idea of how to do it :P


EDIT: Oops, forgot to spit out the details and actually run the average D:
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-11 16:37:49
Link | Quote | Reply
 
thanks hits, appreciate that now to figure out how to attach the functions to the bottons and display results correctly
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-04-11 16:40:42
Link | Quote | Reply
 
If you double click the buttons in design view (or command view? whatever it's called - the one where you drag crap around :D) then it should bring up your code window with the buttons function already input - that way, you just need to plug in the code between the 2 lines
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-11 18:11:06
Link | Quote | Reply
 
i tried and been working with it for a while i think we got two different versions going on
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-04-12 03:36:35
Link | Quote | Reply
 
Thought that'd be the case >< You're likely using VB.net (or at least, something higher than VB6 >_>;), my college work was done on VB6, so it's a version or two behind D:
Offline
Posts: 14020
By Quiznor 2013-04-12 03:38:24
Link | Quote | Reply
 
Siren.Mosin said: »
Odin.Kazander said: »
what isnt allowed offering game money for real life help. if i was trying to sell real life help for game money i can see the issue

If you weren't so wildly vague, you might get an answer here for free.

I think Quiz was making a joke as to how this is probably sexual in nature.

Actually I was pretty sure offering RL w/e for gil wasnt allowed. I remember recently there was a person offering to draw pictures for people in exchange for gil and that was shot down
 Gilgamesh.Schmule
Offline
Server: Gilgamesh
Game: FFXI
user: Kloroform
Posts: 297
By Gilgamesh.Schmule 2013-04-12 04:34:02
Link | Quote | Reply
 
This is essentially RMT activity. Paying for a service outside of FF using gil is just cutting out the "Money" part (so I guess it is more "RT" than "RMT")

Albeit a pretty harmless form of it...
 Odin.Acacia
Offline
Server: Odin
Game: FFXI
user: Acacia
Posts: 81
By Odin.Acacia 2013-04-12 14:14:30
Link | Quote | Reply
 
Computer science is probably not the subject for you if you're having trouble with Visual Basic. That or you just have the worlds shittiest professors/CS program.

Have you taken discrete math, C or even some assembly? If not, you shouldn't be starting on a high level language like VB.

Sylph.Hitetsu said: »
my college work was done on VB6, so it's a version or two behind D:
That's a bit of an understatement. The first version of VB.NET was released in 2001 and they're now on the sixth version of it.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-04-12 14:21:39
Link | Quote | Reply
 
Odin.Acacia said: »
Sylph.Hitetsu said: »
my college work was done on VB6, so it's a version or two behind D:
That's a bit of an understatement. The first version of VB.NET was released in 2001 and they're now on the sixth version of it.

Wow, didn't realise I was so behind when I was learning it D: That was about 7 years ago now. I never really kept up with VB after I did my coursework, was looking forward to my C++ classes the year after.
 Odin.Kazander
Offline
Server: Odin
Game: FFXI
user: kazalthor
Posts: 10
By Odin.Kazander 2013-04-14 19:28:21
Link | Quote | Reply
 
i am in no way a programmer, never pretended to be, never wanted to nor after i pass this cless do i ever plan to try messing with vb. if you;ve seen the book for vb2010 its mildly annoying. it assumes you already have a full understanding of what it talks about.
as for teachers imnot going to crit my teachers cuase its not there fualt they've never taught vb before , but got tossed into it when the normal teacher got hurt.
my degree is in networking and hardware alot removed from programming sadly the make us take 2 programming electives to get the degree
Log in to post.