Hi
Thanks so much for this it work perfect now. I was doing my own bit of investigation and saw the thumbs.db file come up and then realised why it would not load the file. Thanks for the code tho this has helped me get around the problem.
Neil.
Here is the full code I use:
Dim dir As New IO.DirectoryInfo(localphotos)
Dim filelist As IO.FileInfo() = dir.GetFiles()
Dim file As IO.FileInfo
Dim count As Integer = 0
Dim strFileName As String
Dim filetochange As String
Dim...
An update:
This now does not work on my PC either. I was showing a colleague and typical it failed on my pc too!
I have now thought why this might be happening but not sure how to fix it. When my app loads it loads a jpg file similar to the web cam images as a default starting image. Then...
My application loads an image from disk into a picturebox control on the form. The image is standard webcam size of 320x240 pixels and file size is about 5-15KB. The user clicks a button to load the image from the C drive where this application is and receives a Out of Memory error and no...
In my datagrid there is a column which contains a boolean value. It currently displays as True or False but I want it to display as Yes or No.
How can I do that?
Thanks
Neil.
I have a datagrid that has say 2 records displaying. I ahve code which can delete one of those records if I click on it and hit delete. Thats the ok bit. If I click on a header of the column to sort the data and say the two records sort in a different order so the pervious fitrst one is now...
Hi
I have my vb app using a datagrid connecting to a SQL db to retrieve its data. No problem there. I also have a button which when a user selects a row it should change the last column of that row to be true from false.
I then call some code which checks if the dataset has changes, it says...
I have a datagrid on my form which is populated using a datatable. The datatable is populated from a data adapter. What I want to do is be able to detect which record the user has clicked in the datagrid and then subsequently update the appropriate record in the database with a new value.
What...
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.