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...
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)...
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...
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...
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
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.