Search results for query: *

  1. D

    Question Double Click Listview selected item and show in picturebox

    Thanks jmcilhinney for the guidance. I was unsuccessful with .tag property. I will be exploring other alternatives to achieve what i would like done. Thanks again, Dwhite
  2. D

    Question Double Click Listview selected item and show in picturebox

    Also wanted to add the following to show how i populate images in the listview: Private Sub populate() Dim imgs As ImageList = New ImageList() imgs.ImageSize = New Size(75, 75) Dim itemsfolder As New List(Of ListViewItem) 'listview1.view is needed to show...
  3. D

    Question Double Click Listview selected item and show in picturebox

    I got the application in break mode and received the following error: System.InvalidCastException: 'Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.MouseEventArgs'.' I changed the handles from mousedown to mouseclick and still receive the same error.
  4. D

    Question Double Click Listview selected item and show in picturebox

    Sorry. I tried the following and nothing happens. Any suggestions would be much appreciated. Private Sub ListView1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListView1.MouseDown Dim objDrawingPoint As Drawing.Point Dim objListViewItem As...
  5. D

    Question Double Click Listview selected item and show in picturebox

    Thank you so much. This was a big help.
  6. D

    Question Double Click Listview selected item and show in picturebox

    Evening all, Hope all are well. As the title says im having difficulty with selecting listview item and displaying in a picturebox. Basically i want to doubleclick an image in a listview and the item will show in a picturebox. If you are able to provide assistance please let me know. i keep...
  7. D

    Resolved Error add Image to SQL database

    Thank you so much for your help.!! This has solved my issue.
  8. D

    Resolved Error add Image to SQL database

    Thank you for the feedback. The exception is thrown at the second to last line of the program when it executes the query (cmd2.ExecuteNonQuery). The full error is" System.Data.SqlClient.SqlException: 'Invalid object name 'RTLS'.'" which is the table name. Please see the the code below: Dim...
  9. D

    Resolved Error add Image to SQL database

    Evening All, Hope all is well. I'm currently building a windows form where it takes images and uploads them to a sql database. For the most part i believe i added the correct parameters to add images but are getting an error of "invalid object name" which is referring to the db name. i've...
  10. D

    SQLdatabase\write to registry

    I wasn’t able to find much on what I am trying to accomplish. There is a lot of information on similar solutions but not to what I am looking to do.
  11. D

    SQLdatabase\write to registry

    Good morning, I’m currently working on an app that i would like to read from an sql database and write to the local machines registry. So basically what I need is to search the database for a specific value(I already have this part) and then get a value from the same row but different column and...
  12. D

    Question Network Switchport/vlan

    Evening all, My apologies in advance if this question has been answered/discussed. I’m currently developing an app where it tells me if a device is online or offline. What I would also like it to do is to tell me the network Switchport name and port number a device is plugged into. Basically if...
  13. D

    Add multiple values to specified column in datagridview

    Yes I would like to perform an action for each row. Something like For each row containing “room 2” , take the value in cell(1) and do this try catch statement.
  14. D

    Add multiple values to specified column in datagridview

    Thanks for all your help. 1 last question, I'm looking to scan 1 column for a particular value and then go to a different column ( same row) and run a try catch statement , could i still use the "for each row" statement?. For example if i have 2 columns (A,B) and i want to scan column B for a...
  15. D

    Add multiple values to specified column in datagridview

    Thank you so much. This was a big help. I'm assuming if i want other changes in columns it would be he same thing?
  16. D

    Add multiple values to specified column in datagridview

    my apologies. yes i would like to process the rows in one column(hostname) and set the corresponding IP address in another. the IPAddress column is apart of the datatable. Please see below 'adds the IPaddress to the ipaddress column...
  17. D

    Add multiple values to specified column in datagridview

    Good evening all, I am looking to find a way to add values to a single column in a datagridview column. Basically i would like to read the the values in one column and input the ip address in another column. please see parcial code below.. please let me know if you are able to assist. Try...
Back
Top