Posts by Mandrake Venom • 170 points
13 posts
-
-1
votes1
answer1354
viewsQ: How do I get value from the first line of a Text(txt) file?
So... as you can see, the variable target sets the email that will be sent the message. However, I cannot add the value of the first line of the list.txt inside the variable target. The idea of a…
-
0
votes2
answers111
viewsA: how to do to auto-detect a serial port, instead of I place it manually
Insert inside a button Try With SerialPort1 'aqui pega nome da porta COM (COM11) .PortName = Label3.Text ' .BaudRate = 9600 .Parity = IO.Ports.Parity.None .DataBits = 8 .StopBits =…
c#answered Mandrake Venom 170 -
-1
votes1
answer2125
viewsQ: How to pass a Textbox value to Datagridview
How to pass what is written inside a TextBox.Text for a DataGridView? and how to save what is in DataGridViewin an archive .TXT?
vb.netasked Mandrake Venom 170 -
1
votes3
answers677
viewsA: reduce the size of an image in the database
look I never used database, but from what I saw if you use the <img src=""> to call the picture, then the width and the height should work, try adding something like this here <img src=""…
-
0
votes2
answers111
viewsQ: how to do to auto-detect a serial port, instead of I place it manually
Instead of me having to manually place the port in the txt field, how to make it be auto-detect and fill the field ? private void btnSend_Click(object sender, EventArgs e) { try { SerialPort sp =…
c#asked Mandrake Venom 170 -
3
votes2
answers2652
viewsA: Upload image with php
Upload images without refreshing using PHP and Jquery First we will create the table in Mysql: CREATE TABLE `test`.`fotos` ( `idfoto` INT NOT NULL AUTO_INCREMENT , `foto` VARCHAR(150) NULL , PRIMARY…
-
0
votes2
answers593
viewsA: php-upload image and upload to database
Follow my examples below : upload_image.php <h1> Carregar a foto</h1> <form method="POST" action="proc_upload.php" enctype="multipart/form-data"> Imagem: <input name="arquivo"…
-
1
votes3
answers2658
viewsA: Div responsive with image and other elements inside
Place this line below inside the tag <head> of your html If you want your website responsive, that sums it up. maybe it works, but if it doesn’t stay the way you want it to, you can change the…
-
6
votes2
answers56156
viewsA: How to center all content of a div - Bootstrap
Try this <div class="row col-xs-12 col-sm-12 col-md-12 col-lg-12" align="center"> <button class="btn btn-primary" align="center">Lorem Ipsum</button> </div>…
-
-2
votes1
answer1464
viewsQ: Generate 4-digit aléatory numbers [0000-9999]
Follow the example below of what is happening, I declared 1198805- and the rest is generated. But with this defect below. 1198805522 11988052636 11988054970 1198805929 11988054269 11988054150…
javascriptasked Mandrake Venom 170 -
0
votes1
answer140
viewsQ: I want to declare a javascript variable by INPUT TEXT
I would like to do the inverse of this script, in this script you click the GENERATE button, it generates 4 digits What I want to do is the reverse, I want to declare the variable "1298105" (or any…
-
1
votes2
answers286
viewsQ: How to generate number without repetition with a pause button?
I would like you to have a button with the function of PAUSE, and eliminate duplicate numbers. A down counter that when I press the PAUSE it displays the result number with the TOTAL of generated…
javascriptasked Mandrake Venom 170 -
0
votes1
answer938
viewsQ: Overwrite one image over the other with href="#image"
Well, better example than that than what I want to do I think there isn’t ? I want to use the image tab as a link, when the person clicks on the "Loguin" tab will appear the other image on top ,…