Search results for query: *

  1. nineclicks

    Message overlay on form

    "toast" was the keyword I needed. The second answer here got me to where I wanted to be. Thank you for also including the drawing method.
  2. nineclicks

    Message overlay on form

    My Windows Form has lots of split containers and listviews and stuff. I would like to have non-interrupting alerts popup on my form. Like a messagebox without interrupting the user's input of text or clicking. Then have it disappear by itself, preferably a fade effect. I plan on having a status...
  3. nineclicks

    Question Getting file details

    Dim fi As New FileInfo(fileName) Dim shl As Shell32.Shell = New Shell32.Shell Dim dir As Shell32.Folder = shl.[NameSpace](fi.DirectoryName) Dim itm As Shell32.FolderItem = dir.Items().Item(fi.Name) Dim itm2 As Shell32.ShellFolderItem = DirectCast(itm, Shell32.ShellFolderItem)...
  4. nineclicks

    Question Getting file details

    I'm trying to get file details from pictures and videos such as width and height without having to actually open the file. I plan on indexing a lot of files at once so if I could just grab the file details like the ones in a files properties menu that would help a lot. I know they are labeled...
  5. nineclicks

    How to best manage and store a simple database

    I'm slowly figuring out the dataset. Should I be using relations to connect the third table to the other two?
  6. nineclicks

    SearchOption.AllDirectories Acees to path is denied.

    I read a bit about recursive sub procedures, I hadn't realized how simple they were to write. I managed to get something similar worked out. Thanks.
  7. nineclicks

    SearchOption.AllDirectories Acees to path is denied.

    For Each str As String In Directory.GetFiles(folder, "*.*", SearchOption.AllDirectories) Dim fi As FileInfo = New FileInfo(str) If fi.Extension = ".ini" Then Else fileList.Add(str) End If Next I'm...
  8. nineclicks

    How to best manage and store a simple database

    Ok I think I get it. So the point is that I have no duplicate filenames or tags. And all the duplicates are just the file and tag id's. And likely faster searching. Is that correct? For id's I'm okay just using sequential numbering right? Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
  9. nineclicks

    How to best manage and store a simple database

    I read that about 10 times trying to completely understand it but I don't quite get the many:many idea. Please correct me if I am wrong but this is how I am picturing a 1:many table: red Magenta red Yellow red White green Cyan green Yellow green White blue Magenta blue Cyan...
  10. nineclicks

    How to best manage and store a simple database

    I think I'll just go with XML. I have a question about the dataset though. How would I best deal with having a varying number of tags for each filename? Should I just put all of the tags in one cell and separate them in it? I plan on doing a lot of reverse-searching for tags.
  11. nineclicks

    Beginner trying cross threading...

    Ok, actually I am going to be a huge pain in the butt and say I have one more little problem that I really can't figure out without breaking other stuff. I really like how it is loading in pages but I don't fully understand the use of Tuple and how you are relating the items to the images...
  12. nineclicks

    How to best manage and store a simple database

    I'd like to have a database of filesnames. Basically I want to be able to add a filename to the database, add some options to it and a list of tags. Then be able to either locate a filename and get it's options (such as rotation or custom thumbnail file) and tags. OR be able to search for tags...
  13. nineclicks

    Beginner trying cross threading...

    Brilliant! That works perfectly, I would not have thought of that... Thank you. Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect folderPath = CStr(e.Node.Tag) If BackgroundWorker1.IsBusy Then...
  14. nineclicks

    Beginner trying cross threading...

    Thanks, this is working really well and I think I understand most of it. The only problem I'm having now is in case another folder is selected before the last is done loading... I'm trying to get CancelAsync() but it's not having it. Private Sub TreeView1_AfterSelect(sender As Object...
  15. nineclicks

    Beginner trying cross threading...

    I also should mention that at some point I would like to be able to do two extra things here... One, update after maybe say every 5 seconds or so if there's so many files that it takes a really long time it can at least start displaying the ones that are ready. And two start loading somewhere in...
  16. nineclicks

    Beginner trying cross threading...

    I should mention I haven't done much programming in years and I was never particularly proficient... Anyway, the Listview will regularly be loading new file paths into it. If I have to define the array outside of a sub, how to I define it's size and what do I do when the size changes? Since I...
  17. nineclicks

    Beginner trying cross threading...

    I'm closer... I think. But I'm still having trouble getting the bitmaps into the ImageList. Imagelist does not have an invoke method so I'm not sure what to do. I know my programming is extremely messy, and I added a bit to get the icons to come out without the imagelist smashing them into a...
  18. nineclicks

    Beginner trying cross threading...

    Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect ListView1.Items.Clear() For Each Thing As String In Directory.GetFiles(e.Node.Tag) Dim fi As FileInfo = New FileInfo(Thing) With...
Back
Top