vb. net

  1. LMCKC207

    Question How to perform calculations without pressing the equal sign in a calculator?

    Private Sub btnNumbers_Click(sender As Object, e As EventArgs) Handles btn9.Click, btn8.Click, btn6.Click, btn5.Click, btn4.Click, btn3.Click, btn2.Click, btn1.Click, btn0.Click Dim btnNum As Button = CType(sender, Button) input = CDbl(btnNum.Text) If txtInput.Text =...
  2. R

    'Add' function adds two objects instead of one. Is this a bug?

    I'm using Entity Framework 6 with VB.NET. The problem is that when I add a new 'user' object to the context, an additional user is added. This is the code: Dim Db As New DbModel ' Create a new user Dim NewUser = New User With { .UserName = txtUserName.Text.Trim, .Password =...
  3. G

    Question sql not sorting

    I have the following code in an vb.net application : opdragsorteer.Connection = konneksie opdragsorteer.CommandText = "SELECT * FROM Ontledings ORDER BY AREA DESC" opdragsorteer.ExecuteNonQuery() However it does not sort the sql table. Any help would be appreciated. Regards
  4. P

    Question Issue with dataset fill

    Hi, The issue may look very simple. I have a small piece of code which fills dataset by getting the data using storedproc. Here goes the code. Dim sqlAdp As SqlDataAdapter Dim com As New SqlCommand Dim ds As New DataSet sqlAdp = New SqlDataAdapter() Dim...
  5. B

    Question How to communicate between two machines?

    Hello, I am fairly new to Visual Basic programming and I have just started with programming lately. So i am kind of Programming dummy. I would like to know , if it is possible to read the IP address and Machine's name of others computer using any Visual Basic code? Basically PC 1 and PC 2...
  6. V

    If else in a dropdownlist

    i have a combo box and a text box in my combo box drop down list(School) i have 3 items ,staff, department and facility..in my text box(Amount) i enter a value when i click on save button it automatically calculate the the value entered in my textbox with the value assign to each school values...
  7. P

    Question How to obtain the first line of a multiline text field saved into database?

    I have a multi-line textbox whose text is saved into database. Now I need to obtain only the first line of the text to be shown in a datagridview. How can I do it?
  8. C

    Available Kansas City VB. Net (Lead Developer)

    I am curently looking to fill a Lead Developer position in the Overland Park, Kansas City metro area. Qualifications · BS Degree in a computer related field or equivalent experience · Strong leadership and project management skills · 5-10+ years experience in software development including...
Top Bottom