You mean take a picture without their consent? In any "sane" situation, the user indicates "ready"; which is the same as monitoring the picture folder based on their say so; i.e. "they" push the thing that snaps their picture and signal the app accordingly.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
Private Sub OpenFolder_Click(sender As Object, e As EventArgs) Handles OpenFolder.Click
FolderPath.Text = FolderBrowserDialog1.SelectedPath.ToString()
Private Sub loadfiles()
Dim filepath As String() = Directory.GetFiles(FolderPath.Text)
Dim dt As DataTable = New DataTable
For item As Integer = 0 To filepath.Length - 1
Dim file As New FileInfo(filepath(item))
Dim dr As DataRow = dt.NewRow()
dr(0) = file.Name.Split.Distinct
dr(1) = file.Name
dr(2) = file.Extension
dr(3) = file.Length
dr(4) = file.LastWriteTime
DataGridView1.DataSource = dt
Opening an existing vb.net winforms solution and out of nowhere is generating over a hundred errors, most of which are like BC30456 'Black' is not a member of 'Color, or 'SelectedIndex' is not a member of 'VisualStyleElement.ComboBox'. Normal elements. Also a smattering of some BC30311 Value of type 'TextBox' cannot be converted to 'VisualStyleElement.TextBox'.
Seemingly hit and miss errors in some 10k lines of code. Updated, built, and published on Saturday with no issues.
Anyone else seen anything like this?
Libraries in this haven't changed in two years, so I never thought to give this a look. Those two were responsible for all the errors.
Where they came from? My only guess is that on Saturday, that computer was in 'update hell'; meaning it had downloaded an update but needed a reboot and I didn't notice it. For unrelated reasons, it runs 24/7. It took three times to get the update flag cleared, and I'm pretty sure I opened the project after the first update said it was done.
I should have known better, since I know VS doesn't use the in-memory loaded libraries in update hell, but was doing a few different things on different computers so I missed it. Though in the past, I've never seen it add libraries on its own; it normally throws "missing" errors.
Please, I am using crystal report version 13 for Visual Studio 2019 and I followed the steps to create a watermark as follows
I inserted the watermark image in the Page Header and went to Report > Section Expert and highlighted Page Header in list of sections on the left and marked the Underlay Following Sections checkbox and Clicked OK.
I previewed the report but did not see any watermark. Please what could be the problem?
I have tried so many means to get this done but to no avail. The wartermark refuses to show up. Please I need your help. Thanks.
It's been 15 years since I did anything with VBA (in Excel) and I've been asked to document for non-technical users what an Excel Macro is doing. I can do that but it's going to be very time consuming not only b/c it's been so long since I messed with VBA but because the macro consists of many functions so a lot of jumping around and the author opted to not use parenthesis so when looking at the code you don't know if the thing on the right side of = is a variable or a function.
Since ChatGPT is being promoted as being able to do just about everything I figured it should be able to do this yes? If anyone does know do you know what the proper request would be? What I would ask it to do and how it would get the VBA code to document it?
Considering I've not touched VBA in 15-20 year sand I didn't write the macro so I don't have any idea what it's supposed to do, yes. It's not that I couldn't do it but that it's a huge time suck that if I could pass off onto Chat GPT to do it I'm more than happy to.
Last Visit: 31-Dec-99 18:00 Last Update: 27-Sep-23 11:23