Search:
Type: Posts; User: FHoelgaard
Search:
Search took 0.04 seconds.
-
We are using a MS SQL server 2017. In one of our production database, there is a strange problem with one of the databases. In one of the tables, it only shows the first record but it contains over...
-
Thank you very much JMC. You solved my problem :)
-
I'm using this code to save the images to the database:
'Set Class Values
Dim ClFoto As New CLassFoto()
Dim ClBReg As New BReg()
ClBReg.intBrID = pIntBRegID
'Save Image to MemoryStream...
-
The line:
Dim imgData As Byte() = CType(ReadFoto(0), Byte())
is empty when looking at it, in the debugger. I suppose that is the cause of the error, but what can I do?
JMC: I have deleted...
-
Yes it is a bitmap, a jpeg file.
-
The connection is open and the exeption is trown on this line:
ImageListFotos.Images.Add(ImgFoto)
As far as I can see in the debugger then the memory object is empty.
-
I'm having the following code:
'Create SQL Command
Dim SqlGet As New SqlCommand
SqlGet.CommandText = "SELECT fotoImage FROM Fotos WHERE brID = @ID AND fotoSlettet = @Deleted ORDER BY fotoID...
-
The solution was to rewrite the entire code...
-
I have updated the code with indenting.
The error only occurs when the number of rows should fit a page, but a new page is inserted and the error occurs. So in the problem may not be index, but the...
-
I'am using this code witch i found on Stackoverflow
If NewPage Then
DgvRow = Me.dgvBReg.Rows(mRow)
'Loop Through Header Row and print cells
For Each cell As DataGridViewCell...
-
I am using i00 Spell check in my project...
-
JMC, thank you for your comment. It brought me on the right track and everything works as it should now :)
-
I'm working on a program where I have two DataGridViews in a Windows form. When I select a row in the primary DataGridView, corresponding data appears in the secondary DataGridView. Now I would like...
-
Well jmcilhinney I know you're right :), but what I can't see is what I'm missing in the logic.
Let's start with my loop.
For i As Integer = 0 To Me.dgvAfond.Rows.Count - 1
'Rows to...
-
I am having the code below in my PrintDocument event. As long it's only one row, it works okay, but when I try to print two or more rows, the content from all the rows are printed on each page. And...
-
I'm closing this thread since my original question is resolved :)
-
Yes it is a nice costum control. Unfortunately there is no C# version of the control, since it's original where developed in VB in 2014, and nothing has happened since.
I do have a ID Field as...
-
Well in that case the solution was to change the first pattern to:
^((0?[1-9]|[12][0-9]|3[01])[- /.](0?[1-9]|1[012])[- /.](19|20)[0-9]{2})?$
and the second pattern to:...
-
I have found "Auto Filtering GridView Control" on CodeProjects website.
It fits well for a project I'm doing, as part of my rehabilitation after a stroke.
However, there comes a filter error when...
-
Problem solved.
I found the solution in this thread.
Thanks tg for guiding me to the correct solution. You where right, my question belongs to the Asp.Net forum, where I found the solution :)
...
-
Hi KGComputers :)
Nope I'm not using BoundFields in my GridView.
Your suggestions is giving the following error:
"Range variable name can be inferred only from a simple or qualified name with no...
-
I hope this is the right for this post. Otherwise, please move it to the right forum :)
I'm having this code:
Dim vGiver = New ArkivEntities
Dim sGiver = (From aGiver In...
-
Hi jmcilhinney
Thanks a lot for your comment. It helped me, to review my code and see it from another perspective.
It works like a charm now :)
-
After a stroke, I am working on, to return to the programming world.
The problem I am trying to solve is that I import a CSV file to a DataTable with this:
Dim dtArkivFonds As New...
|
Click Here to Expand Forum to Full Width
|