I'm developing app which use mySQL as backend.
Now I set in connection string connection timeout=30s.
That mean that app will try to connect to mysql in 30 seconds.
After that if not connected I get error message Any of specified mysql hosts...
But I think that is not exactly 30s...
How to print current page when select in printdialog control?
And how to set size of printdocument to A4. I reading some posts where people say that size is depends on resolution?
Is that true?
Is here any way to "customize" MessageBox from vb.net to show different text on buttons OK,Cancel,Yes, NO etc.?
MessageBox.Show(" Some text '" & Me.Text & "'?", "Close", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
Instead Yes No buttos show Yes of course and Not now.
Can someone help me to solve problem about time axis?
On Y axis I need to show some values from microcontroler, and on X axis I need time values as "HH:mm".
So on X axis I need time when data is collected from controller. That time is every 10 minutes, so the intervals on xaxis is...
I have problem when printing document.
If PrintDialog1.ShowDialog() = DialogResult.OK Then
If clickedOnBtn1 Then
But when I click on...
Does someone have sample code to read modbus registers via tcp. I found some codes that use .net.sockets, but I don't know how to use it's functionality to read registers, one by one.
I have serial port object which continuously receiving data from weighing device, which sends data in 0001450= format (8 Bytes). I read about datareceived event, and implement that, but i must use Thred.Sleep to get all data and read with serial.ReadExisting. Does the...