vb. net

  1. mohammed.kan000

    This causes two bindings in the collection to bind to the same property

    when i start Project and click on search button every things ok but when click once again this error is show (This causes two bindings in the collection to bind to the same property this my code Imports System.Data.SQLite Public Class Form1 Private dbcomand As String = "" Private...
  2. L

    get list of users with expiring password in Active Directory

    Good day. Please tell me how to get the list of users with expiring password after 13 days in ActiveDirectory
  3. R

    Question How to start exporting data to an excel file from a particular row of excel sheet?

    Hi everyone, I am trying to export the data to an excel file which has a template like this: I want the data to be inserted from the 3rd row without affecting first two rows same as here But in the actual output first row is being overwritten by column names and data is inserted from...
  4. R

    Question How to apply template on excel file exported using oledb ?

    Hi, I have exported data into excel file using oledb since I cannot use interop or any third party library. Here is my code ''' <summary> ''' Export datagridview's data contained in an data table to excel file ''' </summary> ''' <param name="dataTable">DataGridView's datatable</param> '''...
  5. lawrencxze

    Question Prompt a message when the rows in datagrid does not meet the condition

    0 I have a system where the user can edit the value of dates in the datagrid by using the datetimepicker. Now, my problem is how can I limit the editing if the rows he/she want to edit does not meet the conditions in my if else. For example, this is my table: Then if the actual date in line...
  6. 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 =...
  7. 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 =...
  8. 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
  9. 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...
  10. 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...
  11. 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...
  12. 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?
  13. 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...