Search results for query: *

  1. A

    Cannot import System.Windows.Media.Imaging and System.Windows.Forms or System.Reflect

    Yes, even the strings, but I'm converting these to readable strings, and they are not in there either.
  2. A

    Cannot import System.Windows.Media.Imaging and System.Windows.Forms or System.Reflect

    Yes, a good suggestion. I have managed to retrieve the image rating this way using Dim pItem As PropertyItem = image.GetPropertyItem(18246) however I can't seem to find a way of extracting the image (descriptive) tags - they don't appear to be in the PropertyItem metadata. BTW, I came across...
  3. A

    Cannot import System.Windows.Media.Imaging and System.Windows.Forms or System.Reflect

    The project is a Form based picture viewer, but I also need to read the image metadata which is done with JpegBitmapDecoder, BitmapFrame, InPlaceBitmapMetadataWriter - part of the System.Windows.Media.Imaging namespace. Sorry if I'm misunderstanding the co-existance of WPF and Forms.... Try it...
  4. A

    Cannot import System.Windows.Media.Imaging and System.Windows.Forms or System.Reflect

    Hi, I have an odd problem in my project. With the following imported namespaces in my project : Imports System.Windows.Forms Imports System.Reflection .. I cannot add.. Imports System.Windows.Media.Imaging If I remove the Forms and Reflection namespaces, I CAN add add the Media.Imaging...
  5. A

    GetFileInfo reading entire file ?

    Is it just me, or does GetFileInfo read the entire file just to find its attributes ? I'm seeing lengthy delays of a few seconds to use this. cheers
  6. A

    Events during image loading

    Hi all, I'm having some issues with my app, due to events not being processed whilst images are loading. I'm loading camera images over a WLAN connection, so 1-2Mb files are taking a good 4-8 seconds to load. The problem is that there are various events (key presses, timers) that I would...
  7. A

    Retrieving SubItem Index on click event in ListView

    Couldn't see how VB.NET allows you to get the SubItem Index (column index) following a click event in a ListView. Used the following function to resolve this issue : Private Function GetSubItemIndex(ByVal x As Integer, ByVal lv As ListView) As Integer Dim c As Integer = 0 Dim col As...
  8. A

    How to use Columns.Contains and Columns.IndexOf

    No worries, cheers ! I'll need to do this sort of search a few times, so as I can't seem to get .indexof to work, I was going to use a function that I can send collections to (either ColumnHeaderCollection or ListViewItemCollection) and search for a string match in the header/item : Private...
  9. A

    How to use Columns.Contains and Columns.IndexOf

    Thanks. Just to make it exactly clear, I'm reading data from a text file and need to place it in the correct columns in a ListView. I've been using the raw methods you mentioned, but wanted to try and use some of the integrated search functions. I mean, thats what they're there for !! cheers
  10. A

    How to use Columns.Contains and Columns.IndexOf

    I'm trying to search for a string within a column header collection, but .contains and .indexof expect a ColumnHeader datatype. How to search for a string ? I thought maybe .containskey and .indexofkey were maybe the way to do it, but this does not work either, for example ...
  11. A

    How to use Columns.Contains and Columns.IndexOf

    Hi, On a ListView with View type Details, I need to check to see if a specific column exists and at what position it is. e.g. you can't just use : colexists=ListView.Columns.Contains("Filename") colindex=ListView.Columns.IndexOf("Filename") ...as these require a variable of type...
Back
Top