Posts by Gabriel • 143 points
8 posts
-
3
votes2
answers425
viewsQ: Asynchronous alternative to Thread.Sleep without locking application in C#
Sometimes we want our application to wait a few moments to proceed with the next instruction, however the Thread.Sleep(0) can cause crashes in your application, mainly using in loops. So here’s a…
-
3
votes2
answers425
viewsA: Asynchronous alternative to Thread.Sleep without locking application in C#
Set a boolean variable: bool await; Create an object Windows Timer by name(example) awaitTimer, and in your Tick Event add the following code: private void awaitTimer_Tick(object sender, EventArgs…
-
2
votes1
answer82
viewsQ: Browse and retrieve DOM objects via getElement without using Webbrowser
Is there any way to browse web pages, create requests like .Document.getElementById(" ") without the need to use the component WebBrowser() on my form? WebBrowser browser = new WebBrowser();…
-
1
votes3
answers1199
viewsA: How to make these radio buttons checkbox style, and change the value of a text depending on the choice?
You can put the value inside a marker like "span", and give it an ID. <div id="precificacao"> <h3>R$ <span id="valor">870,00</span></h3> </div> Then you can use…
-
0
votes1
answer103
viewsQ: PHP Form / File upload and upload other fields at once
How to upload a file and send the other form data in a single action? I have (as an example) the following form: <form method="POST" name="form" action="ccd.php"> <input value=""…
-
1
votes1
answer118
viewsA: Prevent, confirm or Dismiss javascript Alerts in a VB.NET webbrowser object
I managed to solve this problem as follows: The moment I need to take the browser to the home page, Webbrowser1.Navigate(homepage), i did the following... When trying to go to the homepage and the…
-
0
votes1
answer118
viewsQ: Prevent, confirm or Dismiss javascript Alerts in a VB.NET webbrowser object
I am facing problems with javascript alerts on my webbrowser. I’m creating an automation and after giving Ubmit on some pages in webbrowser, Javascript alerts appear with the protocol generated by…
-
3
votes3
answers3732
viewsA: How to place two Ivs next to each other in Bootstrap
If you are using Bootstrap 4, just set in the div the class .form-Row instead of .Row, thus obtaining more compact layouts. See more in: https://getbootstrap.com/docs/4.0/components/forms/?…