Posts by João Luiz Grigoletti • 313 points
8 posts
-
0
votes1
answer373
viewsQ: Timezone error importing dump from Oracle 10g
My database server’s down and I need to restore a dump from a database. But when I try to run the Oracle imp tool 10g Xe it returns me the error 1882 - região de fuso horário não encontrada Follow…
-
1
votes2
answers4825
viewsA: How to apply the Singleton pattern correctly?
Try to see if the error is not being caused elsewhere. Because your second code seems to be correct. This is the correct way to implement a Singleton: //Crie uma variável private para armazenar a…
-
1
votes1
answer80
viewsA: Apply a thumbnail
It’s not hard to do, thanks to Sharpshell, which can be downloaded into NUGET. I had to do this for a project a while ago. I used a Code Project article. I will give a brief explanation, but on the…
c#answered João Luiz Grigoletti 313 -
1
votes2
answers1321
viewsA: generate a User log in C#
You can use the code below. It is not very complete but already meets the goal. namespace LogUtils { using System; using System.Collections.Generic; using System.IO; using System.Threading; public…
c#answered João Luiz Grigoletti 313 -
6
votes4
answers4453
viewsA: What are the practical advantages of using object orientation in the day-to-day life of a development team?
Usually, if you try to defend object orientation in a company that doesn’t put it as a basic premise, the first thing you’ll hear is: -For what? does not work fuinciona? In team that is winning we…
-
1
votes1
answer1626
viewsA: Messagebox with autoclose
Unfortunately, Messagebox does not implement a Timer. But you can make a dialog form that meets your needs. For this you can create a form in design mode with a label to show the message and two…
-
4
votes1
answer17276
viewsA: How do I get an input text value?
Voce wrote: $id = $_GET['id-da-tab-para-modal']; In fact it is $id = $_GET['id-da-tabela-para-modal']; After all, the name parameter of your input is id-from-table-to-modal…
phpanswered João Luiz Grigoletti 313 -
2
votes1
answer63
viewsA: Trigger events remotely
It will depend on the architecture you used to build the software. If you have a server application, which provides connection to customers via Socks or WCF, then this is the way. Use the same layer…