Search:
Type: Posts; User: Abelius
Search:
Search took 0.03 seconds.
-
Thank you for your help! I'll try to make use of those links tomorrow.
About the C# overwhelming presence... well, I suppose that's the way it is now in 2016. :-D In fact, the VB course in my...
-
Hi there,
I'm creating a simulation game with RPG and Visual Novel elements. One of its primary requirements is that it supports overlapping of alpha transparent PNG images, so I switched to WPF...
-
Yay, works great! :-D
Thank you so much.
-
Thanks to the both of you.
Now, to be extra-bitchy on my part... do you think you could suggest me how to order by last name AND THEN first name...? :rolleyes:
I'll love you even if you don't...
-
You sir, are totally and absolutely awesome. That line worked like magic! :bigyello:
I've set the student count to 2400 and even with that number I get no more inconsistent results.
You don't...
-
Another update...
It works with integers, but only as long it doesn't encounter two identical values (I think). That's also the reason because it doesn't work 99% of times with last names (very...
-
Ha ha! Cross-firing posts here. :D
See my edit.
Update: Works great with integer values! Thanks!
-
Oook, I understand this better, thanks. :)
Only a problem though:
This is what I wrote:
Private Function CompareByLastName(A As Person, B As Person) As Integer
-
Geez... my "solution" stops working when the key value of two instances are identical.
Trying to sort .education fired that, because I have several student which shares the same value, of course....
-
Bingo.
I've resolved it with this...:
Case "Last name / First name"
lstSelectStudent.Items.Clear()
Dim templist As New SortedList(Of String, String)
For n = 1 To students_count...
-
Thanks for replying Shaggy. :)
Yup, it goes like this:
Public Class Person
Public firstname As String
Public lastname As String
-
Thank you for replying to my thread.
Regrettably, I cannot understand what you suggested to me. :o I've taken a look at that arraylist you said, but I don't see how that data type would help me in...
-
Hi people,
I'm trying to figure out a way to sort the entries of a listbox... but in a different way instead of the obvious one (sorted property).
First of all, I need to explain how the items...
-
Oh, you're right! In what I was thinking? I must need some sleep. :p
Ok, then I think I'll try with a list after all. Is much shorter by a great deal. :D
Thanks again. You're king.
-
Hi there. Thank you for your reply and advice. I really appreciate your help.
Sorry about not being informative enough with the integer variable selected_student_index. Actually, it's a little...
-
Me, being a monkey armed with a machine gun and no clue about how it really works... I suspected as much. :o
Let me explain better why I ended using the dictionary in this way...
I started my...
-
I'm pretty desperate here... :(
All I could Google about dictionaries and using them with a For Each ... Next block was about iterating thru its entries, but never for replacing a key, only for...
-
Thanks. :)
OK... By looking at the "Loop" section of that web page, I've constructed this...:
PersonsList.Remove("student" & selected_student_index)
Dim pair As KeyValuePair(Of String,...
-
Hello people,
I've been searching the forum for a while, but I couldn't find a solution for this. Sorry if it's a duplicate question already, because I suspect this must be trivial for you...
-
Funny, I didn't noticed that. :p
Understood! Thank you so much for your explanations. Much appreciated! ;)
-
Oh my... I'm so clueless that I don't know how could I continue with my little project if not for your invaluable help, people... :o
Worked flawless, needless to say. I'm very grateful!
-
I don't know if it's me being stupid all the time, or this is really getting psychedelic... :(
I have a function to 'roll' random numbers, like this...:
Private Function Roll(ByVal min As...
-
Yeah, I suppose... For me (a beginner with some old experience at raw BASIC) is counter-intuitive to say 'Dim' and 'as New' in the same line.
I'm sure there's a perfectly reasonable cause for this...
-
Thanks TG.
As you were kindly writing your reply, I tried with my laptop which it has W7 32 bits) and then the exception WAS handled, telling me that the reference was null, so I figured out that...
-
Ok, right now I'm very mad at VB...
I have this (copy and pasted from a new and clean project)...:
Public Class Form1
Dim periodslist As List(Of String)
Private Sub...
-
Wow... that's long! But it will do nicely for what I need. Very nicely. :)
Thank you so much!
-
...BUT without changing the rest of the date?
I mean... I have this...:
'current date at my game
Dim time As Date = #9/29/0001 12:23:00 PM#
'another date variable
Dim period_lunch as...
-
It was as you said. Of course, because you rule. :)
I didn't put a miserable IF to check if the PTAslot value was zero... :blush:
Thanks again. You really make this forum a reliable source of...
-
I could... but then I'll need to kill you. :p
Man, aren't you a cunning fox! ;) My bad, I'm sorry for that, really. But let's say that the game I'm coding is not exactly about war, if you take my...
-
I have finally realized why the executions of those lines where stopping the whole thing...
I have found (the hard way) the difference between a "c" and a "C"... The key I was calling was...
-
The following is the pasted Info from the About menu...:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Installed Version: VB...
-
Same time posting Evil_Giraffe. :)
What you say makes sense to me. I'll re-read your post tomorrow and see if I can get my hands on a complete version of VS, yes...
Thank you so much for your...
-
Another update... (sorry):
If I put all of those value configuration lines at other procedure, they execute and the listbox gets filled.
Err... again: what the hell? Anyway, I'll do that...
-
I did that, and it didn't worked.
Form1_Load still stops executing lines after the first myTeamMembers("key_string").property = "whatever..."
Man, this is so freaking absurd... :sick:
-
No very important quick update: Changed location of Public Class TeamMember to bottom... Designer didn't liked that or something... :ehh: But I'm still with the problem.
-
Mmm, indeed I changed it from Structure to Class, but I've run and saved the project several times since then. No structure anywhere and I only have a form. Furthermore, the class is at the very...
-
Hi there again.
I've been modifying my code to use a dictionary, but I have unexpected results...
First of all, I have a Class:
Public Class TeamMember
Public gender As String
...
-
OMG... :sick:
First of all, thank you SO much to all of you for the responses provided. I must admit that I barely understood the half of what you said, but that is NOT your fault, definitely.
...
-
Hello World! :wave:
This could be considered a follow-up of the question I sent yesterday:
http://www.vbforums.com/showthread.php?t=667195
Well, I'll try to not wall-text you this time. In...
-
Oooh, you're right. :o
Ok, thank you so much for these pearls of wisdom. :D
|
Click Here to Expand Forum to Full Width
|