Posts by Pedro Henrique Rocha • 65 points
7 posts
-
1
votes2
answers254
viewsA: Problem calling Virtual Keyboard - Winforms
I got it with the following code: [DllImport("kernel32.dll", SetLastError = true)] private static extern bool Wow64DisableWow64FsRedirection(ref IntPtr ptr); [DllImport("kernel32.dll", SetLastError…
-
2
votes2
answers254
viewsQ: Problem calling Virtual Keyboard - Winforms
I have a button that when clicking the virtual keyboard of windows is called. Process.Start("osk.exe"); By clicking the button an Exception is triggered: System.ComponentModel.Win32Exception: 'The…
-
0
votes2
answers460
viewsA: Update table after insert into another
I was able to solve it with the following Trigger CREATE or ALTER TRIGGER DiminuirEstoque ON Consumo AFTER INSERT AS BEGIN declare @qtdEstoque int select @qtdEstoque = Quantidade from Inserted…
-
0
votes2
answers460
viewsQ: Update table after insert into another
I have a table called Consumption, in this table I have a column Quantity. I have another table called Product, in this table I have a column Stock. Where a new consumption is introduced, a product…
-
0
votes1
answer313
viewsQ: Richtextbox specific line in bold
I have a Richtextbox where I need to leave the lines of positions [0] and [6] in bold. I have the following code: rtbDadosAdicionais.Select(0, rtbDadosAdicionais.Lines[0].Length);…
-
0
votes1
answer225
viewsQ: Remove Dynamic Picturebox
I have an "Add" button that when clicked opens a screen for the user to select an image, this image is added to a flowLayoutPanel. A dynamic "Remove" button is added to pictureBox, when this button…
-
2
votes1
answer148
viewsQ: Picturebox Dinâmico
I have a table called "Subordinate" where users are registered with their respective photos. I have a form and need to display the photos of all registered users. For this I have the following…
c#asked Pedro Henrique Rocha 65