User Profile

Collapse

Profile Sidebar

Collapse
doubler
doubler
Last Activity: May 13 '13, 06:31 PM
Joined: Nov 27 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • That doesn't work either. This is how I did the bind.
    Code:
     cboSourceID.BindingContext = New BindingContext
     cboSourceID.DataSource = New BindingSource(dictIDs, Nothing)
     cboSourceID.DisplayMember = "Value"
     cboSourceID.ValueMember = "Key"
    See more | Go to post

    Leave a comment:


  • How to set selected item when combobox is bound to dictionary

    This seems like it should be fairly simple, but it has me stumped.

    I have a combobox that is bound to a dictionary. I also have a datagridview that is supposed to populate the combobox when a row is selected. The gridview displays the key which is numeric and I want the combobox to display the value which is text. I thought this would work:
    Code:
    cboSourceID.SelectedItem = dgvInfoware.Item(3, rowIndex).Value
    ...
    See more | Go to post

  • That's the problem. I haven't found many examples for a Windows form that I could test with. I did try this, but I'm missing whatever makes the document display.

    Code:
     Dim arrPage() As Byte = Nothing
     arrPage = pdfWS.RetrieveDocument(docID, docRefID)
     
     Dim ms As MemoryStream = New MemoryStream
     ms.Write(arrPage, 0, arrPage.Length)
    See more | Go to post

    Leave a comment:


  • Convert byte array to PDF without saving as a file

    I have a Windows app created in VS2012. I'm calling a web service that is returning a pdf as a byte array. I want to convert the array back to a pdf and display it to the user without having to save it as a file first.
    See more | Go to post
No activity results to display
Show More
Working...