• Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Ignoring a Null Values when Sorting

    @Shark1 I don't understan your post. From my code you can see that I only add text from the textboxes with length > 0 so there are no blank elements …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Ignoring a Null Values when Sorting

    @Mr.M Your comment is useless as Sanu also tries to sort text instead of numbers. @ Sanu As the OP stated he wants to sort numbers. These few lines of …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Ignoring a Null Values when Sorting

    Sorry forgot to mention that you might be better off using a list of T or hashtable. Look at this link: http://www.dotnetperls.com/list-vbnet
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Ignoring a Null Values when Sorting

    I'm writing a routine where the user can populate up to 8 textboxes with numbers. Since there is potential for these numbers to be unsorted, I want to sort these …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Ignoring a Null Values when Sorting

    You are assigning either text to your array elements or nothing, that means if a textbox1.text="" then this element IntArr(0)="". So your array might look like this: "",3,7,"" etc. For …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Application don't display feedback(Response)

    Hi DW I have create a client using VB.NET using Winsock 5.0 as a socket to communicate with the server which I did it in java. The problem is that …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Application don't display feedback(Response)

    You might want to check out this code exsmple: http://www.codeproject.com/Articles/21443/Winsock-Revamped
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Need help with Login System

    You said something different in your opening statement: "PS: will use this as a mini chatting software between my friends" So what is going to be?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Need help with Login System

    hey all. I'm designing a new software and working on login system with online database. this is the code that I wrote, it work well Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=****; …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Need help with Login System

    What have you got on FORMAKRYESORE form ?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    O.K almost there. To assign the discount you need a variable declared at formlevel - so you can set it in a sub and reuse it in your msgbox. Public …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    With the percentages you need to pay attention because from your first post it wasn't clear what percentages you really want. I think you know where to change these likeL …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Keyboard Input in multiple Textbox Vb.net

    That is to confusing for me. You need to show more code and explain what you mean by keyboard.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Keyboard Input in multiple Textbox Vb.net

    So what do you want to happen?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Keyboard Input in multiple Textbox Vb.net

    i created a simple keyboard in vb.net , the problem is i got 2 textboxes, but when i tried to use the keyboard that i've created in textbox1, i got …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Keyboard Input in multiple Textbox Vb.net

    Can you be more clear about of what is going wrong? Also what do you mean by "created a keyboard in textbox1"?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Checking Record Already exist or not

    Dear... I'm doing INVENTORY PROJECT... I'm using ACCESS as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Checking Record Already exist or not

    Hey people maybe you check how old the posts are. This original one is 4 years old.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    O.K. try this then: Private Sub txtQty_TextChanged(sender As Object, e As EventArgs) Handles txtQty.TextChanged If Val(txtQty.Text) < 5 Then txtPay.Text = Val(txtQty.Text) * Val(txtPrice.Text) & "лв" End If If 4 …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching why could not move another listbox

    Y could not move the listbox admin no to another listbox Private Sub btnAssign_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAssign.Click 'If ListBoxassign.SelectedItem IsNot Nothing Then ListBoxall.Items.Add(ListBoxassign.SelectedItem) 'End …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in why could not move another listbox

    The general method is: Do While (ListBox1.SelectedItems.Count > 0) ListBox1.Items.Remove(ListBox1.SelectedItem) Loop You might be also interested in this: http://www.codeproject.com/Tips/170900/How-to-Delete-Selected-Items-of-ListView-and-ListB
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    Well in line 43 you have already a good start. You can use this to work out the discount. What have you tried? Your formula is something like: endprice=Val(txtQty.Text) * …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    So you want to display the discounted price, if there is one in txtPay.Text ?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching I want to Count how many times i click a button

    hi, I want to Count how many times i click a button and display the number in listview. but i dont know the syntax for counting a button, can someone …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in I want to Count how many times i click a button

    @ shark No, she didn't write qty is order number but she wrote "qty is the number of times...." @ jez9 Since your original questions has been answered by Jim …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    O.K. it would be better you mark this thread as solved and start a new thread with the new questions. This way this thread doesn't get to long and makes …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    O.K I changed the code for the validating a bit to: Private Sub TextBox1_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating If TextBox1.Text.Length < 10 Then MessageBox.Show("10 ?????") e.Cancel = …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching [HELP]Updating database Error [vb.net+ms access]

    database table : tblsale fields : id [autonumber], name[text], TOTALQTY [text], TOTALPRICE[text] lvlist column: QTY, NAME, PRICE this is my code sql = "UPDATE tblsale set TOTALQTY = TOTALQTY + …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in [HELP]Updating database Error [vb.net+ms access]

    Using focused.item doesn't mean it is also selected. "lvorders.FocusedItem.SubItems(2).Text" instead use selecteditems or selectedindicies as cgeier pointed out to you before.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    With your text.length in textbox1 I don'understand what you want to do. Anyway, for the purpose of validation you can use: Private Sub TextBox1_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    Also change your textbox2 eventhandler to: Private Sub TextBox2_KeyUp(sender As Object, e As KeyEventArgs) Handles TextBox2.KeyUp If Not (e.KeyValue > 64 Or e.KeyValue < 91 Or e.KeyValue > 96 Or …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    Well, I suppose people don't like to download whole projects for security reasons. Also for the benefit of the thread it is better to display the code so every one …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Reading from database and inserting into textbox

    Hi, I know that there have been a lot of questions on this topic and I have followed the solutions however my code still does not work. No error comes …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Reading from database and inserting into textbox

    Maybe put conn.Open() before executing: Dim cmd As New OleDbCommand( _ "SELECT * FROM Subjects WHERE [StudentID]= '" & StudentID.Text & "'", conn)
  • Member Avatar for Minimalist
    Minimalist

    Began Watching textbox to datagridview

    i want each line of textbox that has a multiline property set to true to be shown in first row of column one and another line of textbox to be …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in textbox to datagridview

    Show us the code you have got sofar
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to calculate discount depending on quality

    Hello to all, i am new at this and i am just learning, i have a scholl project to make a program that needs to have discount base on how …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to calculate discount depending on quality

    O.K. lets deal with one issue at a time. First use the keyup ebent to check for invalid entry and also for the enter key and the back_key to allow …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching summation in datagridview

    I created a datagridview and Added number of rows from 1 to 7 summation to results 1 2 3 4 5 6 7 => results 1 3 6 10 15 …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in summation in datagridview

    Maybe it would be better to start off by setting up the datagridview1 correctly at the form load event and after using a button to do whatever you want to …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching dynamic array

    hi everyone I have array of two dimension but I don't know the size of the array, every time the size of array is change. I used (redim Preserve) but …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in dynamic array

    You can only resize the last dimension of a multidimentional array. http://stackoverflow.com/questions/2651682/resizing-a-two-dimensional-array
  • Member Avatar for Minimalist
    Minimalist

    Began Watching help with string and for next loop

    Hi! I am trying to do this project for my Comp Prog class. The Project assignment is "Create an application that prompts the user to enter his/her and last name …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in help with string and for next loop

    The easiest way to do this would be the string.split method. Even if the name contains two or more spaces the op can decide which ones to use for initials. …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching [VB.NET DEBUG ERROR] Unable to read manifest 'My Project\app.manifest'.

    Dear fellow programmers, I have a problem. I want to debug my application but WHENEVER I debug it shows the following error in the error list: Error 1 Unable to …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in [VB.NET DEBUG ERROR] Unable to read manifest 'My Project\app.manifest'.

    I had the same issue a while back. My problem was fixed by changing some of the MyProject settings. Double click on MyProject---> and click on the tab Signing, I …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Publish new VB.net program - Set where to load program

    Group, When publishing my first program, I noticed that it put the program in the App folder as opposed to "C:\Program Files\". Is there a way to direct where everything …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Publish new VB.net program - Set where to load program

    You need to check this link as it explains partly how to publish your application. https://books.google.de/books?id=wI88u24r3w0C&pg=PA294&lpg=PA294&dq=installation+ovf+vb+express+projects+by+user&source=bl&ots=YA970S6cWl&sig=X5uJIr4WzWIgSlf4KPdMi3ZW0Ek&hl=de&sa=X&ei=FZeqVNjaJuT_ywOP4oKgCw&ved=0CGoQ6AEwCQ#v=onepage&q=installation%20ovf%20vb%20express%20projects%20by%20user&f=false
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Masked Text Box / OR Statement

    In your masked textbox set your input mask in the properties window to: >L This allows the input of one character changed to upper case. Then put the following codes: …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Masked Text Box / OR Statement

    VB.NET 2010 Is there a way to restrict a Masked Text Box to accept only *certain* letters? I know how to restrict for all letters. For example, the user should …

The End.