Got it working folks...
just converted the data type to decimal and changed this line
lstvfrec.Items.Add(New ListViewItem((valactualfrec).ToString("#0.00"))).SubItems.Add(frecactual)
:)
nw i would like to know if there is a way to avoid duplicates on the items...
any ideas?
thanks :)
Hi dudes...
I have a problem here.. kiond of weird with a listview, duno if any of u can help me out.
Im trying to sort a listview with numerical values.
So, if i put the following values:
42.3, 42.4, 42.1 and 41.0 i get the files sorted correctly as 42.4,42.3,42.1 and 41.0 but if i put those...
Riverguy... that last reply u gave to codingisfun helped me out hehehe, i was looking fot the index of a checked item... and with e.index got it out..
thanks hehe
Wazzup!
Dont know if anyone can help me with this.
I have a listview and im populating it from a textbox, and after i press enter...it goes to the list view items.
What im trying to do is to detect when i enter a duplicated value, i mean.. if i put a 40 already and i try to put another 40, then...
hehe i was working with a listview as well... and i got sorted the listview exactly the way it should be... so i just looped through the listview and filled the combo.. duh...
i was pretty messesd up.. sorry..couldnt think anymore at the time.. :) thanks dudes.
I am actually going nuts about this... i NEED for this to work, now.. im desperate
i cannot figure this stupid thing out...
i want to sort a combobox with certain numbers in a descending way...
i have tried everything including arraylists and nothing seems to work
i am not using any DB, just...
HEEEEEEEEEEEEELP!!!
hello dudes...
i cant get a listbox to read a database... wont show the contents.
is it even possible?
what i want to do is to show all the contents on a especific column of a table , example: "desc_maq"
i dont see anything complex about it.. but seems im stuck.
heeelp...
Heeeelp!!!
There is a beep whenever i press enter at a textbox..
how can i get rid of it...
Here is my code.. hope anyone knows..
thanks in advance guys....
Private Sub txtfrecval_Keydown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtfrecval.KeyDown...
Heeeelp!!!
There is a beep whenever i press enter at a textbox..
how can i get rid of it...
Here is my code.. hope anyone knows..
thanks in advance guys....
Private Sub txtfrecval_Keydown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtfrecval.KeyDown...
haha omg dudes... seems like little things like to mess with our lifes...
i got it going.. sort of...
i was focusing to the SAME TEXTBOX... DUUUUUUUUUUUH!! hehehe that happens when you use similar names between the textboxes... duuh
but it keep beeping whenever i press Enter at both...
Didnt work though...
The second textbox does the function.. but the first one wont give focus to the second textbox...
i have no clue what to do folks.. :°(
here is the final code... keeps beeping at both textboxes when i press Enter... :(
Private Sub txtfrecval_Keydown(ByVal sender As...
Why dont u try this...
this is a textbox that only accepts #s
Private Sub txtvalfrec_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtvalfrec.KeyPress
If Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then
e.Handled...
Im gonna go nuts!!!
Help people!! please..
What im trying to di its that.. whenever i type a text at a textbox and press Enter, some other textbox gets focused
and then... that other textbox once i press a # and press Enter... fires a function...
here is the code:
Private Sub...
Hi everyone!!
I have an extremely dumb question but i dont really know what to do.. :(
I have a database with a table called "rangos", and i have a field called "rango_acum".. where i want to put some data like "1.021".. and i have a windows form.. where after playing around with some variables...
in addition to that last message... keeps sayign that the size property for that image is read only... :S
whats up with that? lol
hope u guys can help me...
thanks again!
Hi guys! im new here.. glad to meet u all
I was wondering if someone could help me... its very stupid... but i havent figured this out yet...
Im trying to insert a .emf file into a form... i have my picture box and all.. but the image keeps showing up waaay big... and i cant figure out how to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.